question about variable substitution in `vsicons.customIconFolderPath`
See original GitHub issueI have a custom icon folder in my project directory that I would like to add into version control, but it seems I’m unable to utilize variable substitution in the vsicons.customIconFolderPath
setting.
I’ve tried ${workspaceRoot}, ${workspaceFolder} and even a relative path (relative from .vscode/settings.json
), and none of them works. But specifying the full absolute path to the directory works (using pwd
). I would like to know if variable substitution is possible, thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Variables reference - Visual Studio Code
Variables Reference. Visual Studio Code supports variable substitution in Debugging and Task configuration files as well as some select settings.
Read more >Predefined variable substitution in VSCode tasks user input
This issue suggests that variable substitution is currently not supported for inputs , but might be added sometime in the future:.
Read more >output用much还是many修饰- CSDN
Use <num> as the variable for the reference number "gitlens.autolinks": [] ... 指向位于您的计算机上含自定义图标的文件夹的父文件夹的物理路径 "vsicons.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gerardmrk I added in
projectFolder/.vscode/settings.json
these lines:next I added
vsicons-custom-icons
folder andfile_type_formRelated.png
(32x32 px) file in it.projectFolder/.vscode/vsicons-custom-icons/file_type_formRelated.png
Press
F1
>Icons: Apply Icons Customization
works for me.
I’m experimenting to see if I can come up with something, using
workspaceRoot
andworkspaceFolder
. Will post back if I have something worth mentioning.