1. 27 7月, 2018 2 次提交
    • M
      Use more explicit types for ts server execute · 74b52475
      Matt Bierner 提交于
      - Only allow known strings to be used as commands
      - Simplify overloading. Introduce new `executeWithoutWaitingForResponse` function for calls that are fire and forget
      - Always require a token for execture calls
      74b52475
    • M
      Log warning when returned code action will be dropped (#55090) · 341013c0
      Matt Bierner 提交于
      * Add extension logging when returned code action will be dropped
      
      Fixes #54803
      
      Adds a loggin warning when a code action provider returns code actions that will be dropped. Warn in the the following cases:
      
      - A provider returns code actions (not commands)
      - And a specific code action type is requested.
      - And the returned code actions either don't set kind or are of the wrong kind
      
      * Use log service
      
      * Include extension id in warning
      341013c0
  2. 26 7月, 2018 1 次提交
  3. 17 7月, 2018 1 次提交
  4. 14 7月, 2018 1 次提交
  5. 13 7月, 2018 1 次提交
  6. 20 6月, 2018 1 次提交
  7. 06 6月, 2018 1 次提交
    • M
      Split toPath and normalizedPath · fe114f8f
      Matt Bierner 提交于
      Break up the concept of normalizing a path and trying to get the on disk path of a resource. Needed for handling case insensitivity
      fe114f8f
  8. 05 6月, 2018 5 次提交
  9. 09 5月, 2018 1 次提交
  10. 08 5月, 2018 1 次提交
  11. 19 4月, 2018 1 次提交
    • M
      Move TS/JS to use organize imports codeAction instead of command (#47850) · 2fadb901
      Matt Bierner 提交于
      * Move TS/JS to use organize imports code action
      
      Fixes #47845
      Fixes #46647
      
      - Defines a new standard `SourceOrganizeImports` `CodeActionKind` to be used to implement organize imports in a consistent way.
      - Add a new `Organize imports` command and keybinding that executes these actions.
      - Move over the existing js/ts organize imports command to use the new code action kind
      
      * Use supportedCodeActions context key
      
      * Document code action kind values
      
      * Fix regular expression
      
      Make sure we only match whole scopes and not `unicorn.source.organizeImports`
      2fadb901
  12. 13 4月, 2018 1 次提交
    • M
      CodeActionProvider.providedKinds (#47702) · 5ff2ccfc
      Matt Bierner 提交于
      Adds a new optional  `CodeActionProviderMetadata`.  This is passed in`registerCodeActionProvider` and contains a list of`CodeActionKinds` that the provider may return. The list is used for deciding when to show the `refactor` and `source action` context menus. It is not used for filtering the returned code actions
      
      Possibly helps address #45383
      5ff2ccfc
  13. 12 4月, 2018 1 次提交
    • M
      Add source code action kind · 556fa03c
      Matt Bierner 提交于
      Fixes #47621
      
      Adds the concept of a source code action that applies to an entire file. Does not show these actions in the lightbulb menu by default
      556fa03c
  14. 28 3月, 2018 1 次提交
  15. 24 3月, 2018 1 次提交
  16. 20 3月, 2018 1 次提交
    • M
      Organize imports for js and ts (#45237) · 5be9e9e7
      Matt Bierner 提交于
      * Organize imports for js and ts
      
      Adds a new 'Organize Imports' command for js and ts. This command is only availible on TS 2.8+. We'll hold off on merging this PR until we pick up a TS 2.8 insiders build
      
      Fixes #45108
      
      * Add keybinding for organize imports
      5be9e9e7