hsnips
hsnips copied to clipboard
VSCode Insider
It doesn't work on VSCode insider because the path is hardcoded....
Sorry about this, I'm not aware of a way to programmatically get the user path, so as a workaround could you let me know the path for the user folder in the insider version?
Same problem with VSCodium.
As a workaround I just changed the "hsnips.hsnipsPath"
setting:
"hsnips.hsnipsPath": "/home/[...]/.config/VSCodium/User/hsnips"
I have the same problem in VSCode! One day, suddenly all of my snippet files were not being used and i got the same error. The weird part is that only the all.hsnips file is working, but that is wildly unpractical ofc. @mfederczuk do you think your solution could work in VSCode aswell?
Hard to say without more information, but I doubt that it's the same issue.
Our problem is that our user directory is at an abnormal location because we're not using the normal version of VSCode.
But if you're using the normal VSCode version and you said that your all.hsnips
file still worked it means that it was correctly located in the normal VSCode user directory, so a different issue.