This project offers a single command: "Open GitLab Permalink". The main goal of this project is to show how to host a VS Code extension on GitLab.
Features
Open GitLab Permalink - this command will open GitLab repository website and highlights the current selection.
Repository
The purpose of this project is to build on top of the VS Code generated extension and provide automation for linting, testing and publishing the extension.
Automation
Linting
Task: yarn run lint
Linting is done using eslint and prettier. Code can be formatted/fixed automatically by running yarn run lint-fix
Unit Testing
Task: yarn run test-unit
Unit testing is done by mocha and assert. Only files that are not importing vscode can be unit tested.
The *.text.ts name format for both integration tests and unit tests is a bit confusing and potentially subject to change.