nativescript-vscode-snippets
nativescript-vscode-snippets copied to clipboard
ns doesn't work with VS Code Version 1.33.0 (1.33.0)
After the update of VS Code on 4/4 to Version 1.33.0 (1.33.0)
this extension stopped working. Does anyone have any suggestions? Typing "ns" in the XML doesn't bring up any elements options
[Workaround for who wants to use it in recent versions of Codium/VSCode] I wanted to install the extension in my current version of Codium (1.49.1) under Linux but it wasn't recognized. It still works, here is how I did it:
- Close Codium/VSCode
- Visit the page of the extension in the Marketplace https://marketplace.visualstudio.com/items?itemName=tsvetan-ganev.nativescript-xml-snippets
- Download it from "Download Extension" (on the right)
- Open a terminal in the folder where you downloaded it
- Install it with
codium --install-extension ./tsvetan-ganev.nativescript-xml-snippets-1.0.7.vsix
(Codium) orcode --install-extension ./tsvetan-ganev.nativescript-xml-snippets-1.0.7.vsix
(VSCode) - Open any text editor (but avoid Codium/VSCode at the moment ;) )
- Browse to
~/.vscode-oss/extensions/tsvetan-ganev.nativescript-xml-snippets-1.0.7/
(Codium) or~/.vscode/extensions/tsvetan-ganev.nativescript-xml-snippets-1.0.7/
(VSCode) - Edit
package.json
Replace"engines": { "vscode": "0.10.x" }
by"engines": { "vscode": "^1.40.0" }
Note: This can be changed in the source code if you want to fork it - Edit
.vsixmanifest
(it is hidden) Replace<Property Id="Microsoft.VisualStudio.Code.Engine"> Value="0.10.x" />
by<Property Id="Microsoft.VisualStudio.Code.Engine"> Value="^1.40.0" />
- Save everything, run Codium/VSCode and enjoy :)