Replies: 2 comments 2 replies
-
Sadly I don't think we have much control over this. VSCode exposes an URL pattern that we can fill, but from there on it's handled by vsc. Opening the URL through other means (eg browser), causes the same issue The pattern for vscode is If you figure out a way to circumvent this and make vscode open the correct window, let me know and I'll definitely fix it! |
Beta Was this translation helpful? Give feedback.
-
What do you call this |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I know this may be tricky but it would be appreciated in the long term.
I always have multile VSCode windows opened for multiple projects. Currently when clicking on a file link in Ray it opens in the last-used VSCode window.. no matter what that window's project is.
I don't know if this is even possible but I think it would be nice if you tried to guess the project root (very easy for Laravel projects at least and probably so for most projects) and then attempted to open the file in that project window.
I know if you try to open vscode from the command line and that project is already opened in a vscode editor then it will be smart enough not to open a 2nd window, so perhaps clicking on a file could first open up a vscode instance for that project, which will either open a new vscode instance for that project, or simply focus the already-open one, and THEN try to open the file which would result in it opening in the correct project window
Beta Was this translation helpful? Give feedback.
All reactions