No description
Find a file
Matt Bierner 8bb27cd255
Add unused diagnostic subtype (#49646)
* Add unused diagnostic subtype

Fixes #15710

Adds a new `DiagnosticTag` class that provide additional information about a diagnostic. Introduce `DiagnosticTag.Unnecessary` to mark when a diagnostic is for unused / unnecessary code

The design comes from Rosyln's diagnostic object and allows us to modify how a diagnostic is rendered without changing its serverity.

Hooks up JS and TS to use this new tag. This is controlled by the `javascript.showUnused.enabled` setting which is enabled by default

- Introduce a new diagnostic severity for unused.

    However, using this approach, if a user sets `noUnusedLocals` in their `tsconfig.json`, the resulting diagnostic could only show the squiggly OR be grayed out. Using `customTags` allows us to support both graying out and showing the squiggly

- Custom JS/TS implementation using decorators

    Not themable. We want a standard experience across languages.

* - Move to proposed
- Use numeric enum
2018-05-17 15:43:59 -07:00
.github debug issues to roblourens 2018-05-17 15:24:22 +02:00
.vscode Remove enableSearchProviders in vscode workspace settings, now it's enabled by default 2018-05-17 11:56:05 -07:00
build Add unused diagnostic subtype (#49646) 2018-05-17 15:43:59 -07:00
extensions Add unused diagnostic subtype (#49646) 2018-05-17 15:43:59 -07:00
i18n i18N: Fix,Change & union the Chinese translations 2018-05-08 17:27:53 +08:00
resources Merge pull request #44945 from 0xabu/wsl-cli-fix 2018-05-15 07:26:32 -07:00
scripts remove travis & appveyor 2018-05-03 09:56:44 +02:00
src Add unused diagnostic subtype (#49646) 2018-05-17 15:43:59 -07:00
test Ensure error output from tests is readable 2018-05-15 18:05:16 -07:00
.editorconfig
.eslintrc
.gitattributes
.gitignore
.mention-bot
.nvmrc
.yarnrc Revert "Electron v2.0.0 (#47289)" 2018-04-20 17:22:31 +02:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md
gulpfile.js
LICENSE.txt
OSSREADME.json Include mdn-data in root OSSREADME 2018-05-02 16:40:51 -07:00
package.json vscode-xterm@3.5.0-beta5 2018-05-16 10:07:23 -07:00
product.json
README.md use TFS build badge 2018-05-03 09:52:14 +02:00
ThirdPartyNotices.txt Include mdn-data in root OSSREADME 2018-05-02 16:40:51 -07:00
tsfmt.json
tslint.json
yarn.lock vscode-xterm@3.5.0-beta5 2018-05-16 10:07:23 -07:00

Visual Studio Code - Open Source

Build Status Coverage Status Gitter

VS Code is a new type of tool that combines the simplicity of a code editor with what developers need for their core edit-build-debug cycle. Code provides comprehensive editing and debugging support, an extensibility model, and lightweight integration with existing tools.

VS Code is updated monthly with new features and bug fixes. You can download it for Windows, macOS, and Linux on VS Code's website. To get the latest releases every day, you can install the Insiders version of VS Code. This builds from the master branch and is updated at least daily.

VS Code in action

The vscode repository is where we do development and there are many ways you can participate in the project, for example:

Contributing

If you are interested in fixing issues and contributing directly to the code base, please see the document How to Contribute, which covers the following:

Please see also our Code of Conduct.

Feedback

Many of the core components and extensions to Code live in their own repositories on GitHub. For example, the node debug adapter and the mono debug adapter.

For a complete list, please see the Related Projects page on our wiki.

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License.