A Visual Studio Code extension that works as an external editor for the Page Editor.
- Follow this topic. The crowd is waiting for an API enabling to disable VSCode Editor on read-only mode.
A note for myself for packaging the extension.
1/ Make sure the necessary libraries belongs to the dependencies
section, not devDependencies
. Otherwise, the extension won't work after installing.
If a library sits on a wrong seat, uninstall it with the command npm uninstall <lib-name>
and then install it again with the command npm install <lib-name>
(alright, no flag!) at the root directory of the extension.
2/ Install vsce package with the command npm install -g vsce
, the -g
flag is a shorthand for the global configuration which sets the package install location to the folder where you installed NodeJS, so do not care about where you run the command.
3/ At the root directory of the extension, run the command vsce package
. When the command completes, the package of the extension will be dropped at the root directory.
4/ Open Visual Studio Code and install the extension with steps below: