A tslint integration for vscode
Перейти к файлу
Erich Gamma 1d7547c643
Merge pull request #454 from microsoft/dependabot/npm_and_yarn/tslint-server/lodash-4.17.21
Bump lodash from 4.17.20 to 4.17.21 in /tslint-server
2021-05-18 14:03:39 +02:00
.github Update issue_template.md 2019-09-24 10:50:13 +02:00
.vscode Added a gulp task to lint all the .ts files 2016-09-16 12:11:00 +02:00
tslint declare workspace trust 2021-04-12 16:02:43 +02:00
tslint-server Bump lodash from 4.17.20 to 4.17.21 in /tslint-server 2021-05-09 23:29:35 +00:00
tslint-tests remove gulp 2021-03-09 13:37:05 +01:00
.gitignore Added a gulp task to lint all the .ts files 2016-09-16 12:11:00 +02:00
LICENSE Update LICENSE 2015-11-23 17:53:20 -08:00
README.md Clarified and added link to the extension README 2017-11-15 09:25:24 +01:00
SECURITY.md Create SECURITY.md 2021-03-11 20:47:02 +01:00
gulpfile.js Added a gulp task to lint all the .ts files 2016-09-16 12:11:00 +02:00
package-lock.json update dependencies 2021-02-12 08:58:40 +00:00
package.json updating dependencies #335 2018-06-04 16:06:20 +02:00
thirdpartynotices.txt small refactorings and updating the thirdpartynotices.txt 2016-04-10 18:11:51 +02:00
tslint.json clean-up tslint.json used in the project 2017-09-13 16:10:41 +02:00
vscode-tslint.code-workspace exclude the generated server folder from the npm scripts 2018-05-17 10:38:34 +02:00

README.md

vscode-tslint

Marketplace Version Market Place Installs

VSCode extension to support tslint. This README describes the development setup, for information about the published extension refer to the README in the tslint folder.

Development setup

  • run npm install inside the tslint and tslint-server folders
  • open VS Code on tslint and tslint-server or open a workspace with the client and server by opening vscode-tslint.code-workspace
  • compile the server once (see developing the server)

Developing the server

  • open VS Code on tslint-server
  • run npm run compile or npm run watch to build the server and copy it into the tslint folder
  • to debug press F5 which attaches a debugger to the server
  • to trace the server communication you can enable the setting: "tslint.trace.server": "verbose", "messages"

Developing the extension/client

  • open VS Code on tslint
  • run F5 to build and debug the extension

If you want to debug server and extension at the same time; 1st debug extension and then start server debugging after you have opened a typescript file that activates the extension.

Manual Tests

Manual tests can be found in the tslint-tests folder.