You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there. I am now developing a nice-looking error displaying UI for browsers that allows for opening the error locations in VS Code by clicking on them. I've read in the docs that it is possible by using vscode://file/full/path/to/file schema:
However, it is not working on my machine. Please help me with that, as the feature is really cool and critical for being able to communicate with VSCode from a browser for a better webdev debugging experience!
VSCode Version: 1.32.1
OS Version: MacOS Mojave 10.14
Steps to Reproduce:
In VS Code, open a folder containing a file.js, open that file. Suppose that the file's full path is /Users/xpl/test/file.js
In Terminal.app, run open vscode://file//Users/xpl/test/file.js (or open that URL in a browser)
An error pops up ("unable to open 'file.js': resource is not available"):
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered:
Also is it possible to open a file by a path relative to the currently opened workspace folder?
Like, for example, vscode://workspace-file/foo/bar.js (would open ${workspaceDir}/foo/bar.js)? It would be really useful because it is not always possible to have a full path to the file, often only a relative path is available.
Hi there. I am now developing a nice-looking error displaying UI for browsers that allows for opening the error locations in VS Code by clicking on them. I've read in the docs that it is possible by using
vscode://file/full/path/to/file
schema:https://code.visualstudio.com/docs/editor/command-line#_opening-vs-code-with-urls
However, it is not working on my machine. Please help me with that, as the feature is really cool and critical for being able to communicate with VSCode from a browser for a better webdev debugging experience!
Steps to Reproduce:
In VS Code, open a folder containing a
file.js
, open that file. Suppose that the file's full path is/Users/xpl/test/file.js
In Terminal.app, run
open vscode://file//Users/xpl/test/file.js
(or open that URL in a browser)An error pops up ("unable to open 'file.js': resource is not available"):
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: