README
Visual Studio Code extension package containing useful extensions for developing
Portal.
Included In The Package
- Docker
- Highlight Dodgy Characters
- markdownlint
- Prettier
Creating The Extension Package (.vsix File)
Run the following command in Terminal
npm install vsce
# Creates the .vsix file (used for installation/publishing)
vsce package
Installing The Extension Package
- Simply install it via the VSCode Extensions Marketplace as you would any
other extensions.
Using .vsix File
- Click Extensions.
- Click the ... at the top right corner of the Extensions panel.
- Select Install from VSIX...
- Select the
.vsix file.
- Click Install.
Modifying The Extensions Package
The extensionPack property within the package.json file dictates which
extensions are included within the package.
Adding Extensions To The Package
Open the source directory in VSCode.
Click the Extensions icon in the left-hand side toolbar.
Search for the extension that you wish to add to the package.
Click the extension to bring up the Extension Information window.
Copy the Extension ID next to the Extension Name (e.g.
davidanson.vscode-markdownlint).
In the package.json file
- Paste the Extension ID into the
extensionPack property.
Removing Extensions From The Package
Open the source directory in VSCode.
In the package.json file
- Delete the Extension ID of the extension you wish to remove from the
extensionPack property.
(Optional) Publishing The Extensions Package
- Visit the VSCode Extensions Marketplace.
- Sign in to your account.
- Fill in the form to create a publisher.
- Go to the
package.json file.
- Change the
publisher property to the ID of the newly created publisher.
- Click New extension.
- Select Visual Studio Code in the dropdown box.
- Upload the
.vsix file.
- Click Upload.
| |