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

fix: Allow use of ${workspaceFolder} in dotPath setting #75

Closed
wants to merge 1 commit into from
Closed

fix: Allow use of ${workspaceFolder} in dotPath setting #75

wants to merge 1 commit into from

Conversation

makisukurisu
Copy link

Since the preview can only be opened when a file is selected, I assume that we can fetch workspaceFolder based on the opened file, and thus - use the most "correct" path variable.

I tested the changes locally on my Windows machine, and the appropriate path was used in single-workspace case.

Related to issue #74

@EFanZh
Copy link
Owner

EFanZh commented Jul 28, 2024

Hi @makisukurisu, thanks for your contribution, I have implemented a more generalized version to support variable substitution in #76, could you verify whether it satisfies your needs?

@makisukurisu
Copy link
Author

makisukurisu commented Jul 28, 2024

@EFanZh, yes, it works as expected, thank you very much!
(I specified wrong name of the executable to show in a screenshot that the variable was substituted correctly, with the correct one it works just fine)
image

I'll close this PR then.

@makisukurisu makisukurisu deleted the vs-code-variable-support branch July 28, 2024 09:37
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

Successfully merging this pull request may close these issues.

2 participants