1. 20 5月, 2018 1 次提交
  2. 18 5月, 2018 1 次提交
    • M
      Add unused diagnostic subtype (#49646) · 8bb27cd2
      Matt Bierner 提交于
      * 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
      8bb27cd2
  3. 17 5月, 2018 1 次提交
  4. 08 5月, 2018 1 次提交
  5. 05 5月, 2018 9 次提交
  6. 03 5月, 2018 1 次提交
  7. 01 5月, 2018 1 次提交
  8. 18 4月, 2018 2 次提交
  9. 27 3月, 2018 1 次提交
  10. 22 3月, 2018 1 次提交
  11. 15 3月, 2018 1 次提交
  12. 14 3月, 2018 1 次提交
  13. 23 2月, 2018 1 次提交
  14. 22 2月, 2018 1 次提交
  15. 01 2月, 2018 1 次提交
  16. 29 1月, 2018 1 次提交
  17. 20 1月, 2018 1 次提交
  18. 13 1月, 2018 2 次提交
  19. 04 1月, 2018 2 次提交
  20. 19 12月, 2017 1 次提交
  21. 15 12月, 2017 1 次提交
  22. 12 12月, 2017 1 次提交
  23. 27 11月, 2017 1 次提交
  24. 24 11月, 2017 1 次提交
  25. 21 11月, 2017 1 次提交
  26. 09 11月, 2017 1 次提交
    • M
      Prototyping new CodeAction API (#36316) · be88547c
      Matt Bierner 提交于
      * Add CodeAction Type
      
      Adds skeleton on a new CodeActionType and allows codeActionProvider to return either `Command`s or `CodeAction`s
      
      Move proposed CodeAction API to proposed and try using it in TS
      
      Split CodeAction into quickfix and refactoring classes
      
      Update proposed interface
      
      Update for new API
      
      Adding basic docs
      
      * Support workspace edits and text edits in codeactions
      
      * Remove placeholders
      
      * Resolving conflicts and making PR suggested changes
      
      * Fix quick fix test
      
      * Revert change to only use `CodeAction` instead of `CodeAction | Command` in modes since this will break `vscode.executeCodeActionProvider`
      be88547c
  27. 07 11月, 2017 1 次提交
  28. 24 10月, 2017 2 次提交