Open davidolrik opened 5 years ago
Same issue over here, hope you can create a fix for this.
If I was more familiar with VS extensions I'd fix. Guessing neither of you two are?
Until this is implemented you have to do it manually, using a regex to turn this: ${workspaceFolder:folder-a}
into this /Users/username/Projects/folder-a
.
@davidolrik I'm not exactly sure what you mean by "using a regex" to do this. Could you give an example of a setting with a regex. Sorry, I'm newer to the VS Code community.
I was not suggesting that you use a regex in the settings, but merely that you use a regex in your code to transform ${workspaceFolder:folder-a}
into /Users/username/Projects/folder-a
.
I.e. use the regex to extract the folder-a
part and prepend it to the path of the workspace folder.
When you say “your code”.... do you mean this extension?
Yes
@davidolrik ahh I see. I thought you meant like my settings since this isn't "my code" lol. Hopefully someone who knows more about editing extensions will fix this.
Any updates on this issue?
Wondering the same myself.
On Thu, Aug 13, 2020 at 6:28 AM RaidoRin notifications@github.com wrote:
Any updates on this issue?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/brandontosch/vscode-hiera-eyaml/issues/8#issuecomment-673397880, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEX7NFYYTGJIBRQ6OINQ2DSAO545ANCNFSM4HXYWO4A .
-- Regards, Jarrett Lusso
There is a new issue in the main vscode repo, that have been moved to the backlog, so it is in track to be fixed in all extensions without each and every extension developer implementing their own variable substitution code.
Please go vote for it, to give it more priority in the backlog.
I have the same issue with the selected text just disappearing when encrypting as described in issue #5.
I use the
${workspaceFolder}
variable to reference my public key in my workspace config:This does not work.
Docs for using variables in in the configuration: https://code.visualstudio.com/docs/editor/variables-reference#_variables-scoped-per-workspace-folder
Using an absolute path for the
publicKeyPath
works.