-
Notifications
You must be signed in to change notification settings - Fork 220
Open
Description
On local VSCode sessions calling @edit from VSCode either inline or from the REPL correctly opens the appropriate file in VSCode itself, but in a Remote SSH session I get eg
julia> @edit 1+2
julia> /global/u1/m/marius/src/julia-1.6.1/share/julia/base/int.jl:1
# This file is a part of Julia. License is MIT: https://julialang.org/license
^
SyntaxError: Invalid or unexpected token
at wrapSafe (internal/modules/cjs/loader.js:979:16)
at Module._compile (internal/modules/cjs/loader.js:1027:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47
which likely stems from the fact that
julia> ENV["JULIA_EDITOR"]
"\"/global/u1/m/marius/.vscode-server/bin/b4c1bd0a9b03c749ea011b06c6d2676c8091a70c/node\""
I could be wrong but I feel like this used to work in older versions (maybe pre 1.2?).
I'm on julia-vscode 1.2.4-insider and VSCode 1.57.0.
Metadata
Metadata
Assignees
Labels
No labels