Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open in target folder doesn't update #13

Open
robocrax opened this issue Jun 25, 2020 · 3 comments
Open

Open in target folder doesn't update #13

robocrax opened this issue Jun 25, 2020 · 3 comments

Comments

@robocrax
Copy link

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?

@sandcastle
Copy link
Owner

@robocrax - please feel free to send a PR

@Romalpa
Copy link

Romalpa commented Oct 16, 2020

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.

@sandcastle
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants