Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/runtime/console.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ function hasKeyboardModifier (event) {
function handleLink (event, uri) {
if (!hasKeyboardModifier(event)) return false

// To handle links to new stacktrace shortened paths introduced in Julia 1.6.0
uri = uri.replace(/\B([/\\]?~[/\\])/,require('os').homedir().concat("/"))

if (client.isActive()) {
fullpath(uri).then(([path, line]) => {
ink.Opener.open(path, line - 1, {
Expand Down