This unpublished pacakge is a placeholder for all VS Code extensions we plan to implement and publish for PreEmptive JSDefender.
When you edit a jsdefender.config.json file, this extension provides IntelliSense while editing the configuration. The extension also supports to use this schema with files having an .jsdconfig extensions, but to enable this feature, you should configure your user or workspace settings manually.
Add this entry to the settings.json file within the .vscode folder:
"files.associations": {
"*.jsdconfig": "json"
}Prepare the repository in your local development environment:
git clone https://github.com/Dotneteer/jsdschema.git
npm install
- Update the changes of the JSDefender configuration file in the
src/jsdschema.jsonfile. - Execute the
npm run compilecommand. - Start the extension with Run | Run Without Debugging (Ctrl+F5).
- Open a folder (create a new folder) with a
jsdefender.config.jsonfile. - As you edit the configuration file, it should provide Intellisense.