-
Notifications
You must be signed in to change notification settings - Fork 78
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
Support ${workspaceFolder}
Within Custom Sandbox Template
#1222
Comments
We do not support the You can use either of the following instead:
|
Oh thanks for pointing that out 👍. Didn't see anything about those in the README / docs. The other options may still be nicer in the future. |
I use Nix to manage my OCaml projects.
I've looked at how to use this extension with direnv/nix?, but unfortunately this does not work for me because the template is run at the root of my system.
It would be nice if
template
supported${workspaceFolder}
so that we may specify that as the directory to look for a Nix shell configuration.Another option could be to make sure that this command is started in the workspace folder.
I've also noticed Haskell's IDE will automatically wait and pickup the environment once it's loaded rather than failing hard.
So that would maybe be an even cleaner option if something like that could also be implemented.
This way you could just use the global sandbox in this scenario which would be even simpler.
This is my current workaround:
Ideally I could switch to one of the following based on the options I mentioned above.
The text was updated successfully, but these errors were encountered: