vscode-open icon indicating copy to clipboard operation
vscode-open copied to clipboard

Open in target folder doesn't update

Open robocrax opened this issue 4 years ago • 3 comments

This extension is perfect for running any files but some of my scripts depend on other files that don't get picked up when running from this extension.

They run from VS Code as the target folder instead of the folder the current file is in. Any way to add this to the extension?

robocrax avatar Jun 25 '20 20:06 robocrax

@robocrax - please feel free to send a PR

sandcastle avatar Jun 30 '20 09:06 sandcastle

Nice extension! Thanks.

I guess my issue is the same with robocrax's:

The extension runs in the default path of Visual Studio Code, i.e: "C:\Users\usename\AppData\Local\Programs\Microsoft VS Code". The wish is the extension could pass the argument ${ItemPath} or ${cwd} or similar variables, so that the opening script or default app would consider itself as at the working folder of the file, not at the default one of VSC as above mentioned.

Romalpa avatar Oct 16 '20 18:10 Romalpa

Nice extension! Thanks.

I guess my issue is the same with robocrax's:

The extension runs in the default path of Visual Studio Code, i.e: "C:\Users\usename\AppData\Local\Programs\Microsoft VS Code". The wish is the extension could pass the argument ${ItemPath} or ${cwd} or similar variables, so that the opening script or default app would consider itself as at the working folder of the file, not at the default one of VSC as above mentioned.

@Romalpa - thanks for the comment. I'm really struggling with time at the moment - if you have time, feel free to send a PR

sandcastle avatar Oct 26 '20 02:10 sandcastle