1. 13 11月, 2019 1 次提交
  2. 08 11月, 2019 2 次提交
  3. 07 11月, 2019 3 次提交
  4. 08 6月, 2019 1 次提交
  5. 11 5月, 2019 1 次提交
  6. 31 1月, 2019 1 次提交
  7. 30 1月, 2019 1 次提交
  8. 23 1月, 2019 2 次提交
  9. 22 1月, 2019 1 次提交
    • M
      Rename CodeAction.canAutoApply -> CodeAction.preferred · bcc2281e
      Matt Bierner 提交于
      Part of #62110
      
      Use the more generic name as suggested in https://github.com/Dart-Code/Dart-Code/issues/1393. This makes the intent of the field more clear and also allows us to extend the concept of preferred code actions to refactorings and other classes of code actions
      
      Experimentally also allows a `preferred` value for `apply` when configuring code aciton keyboard shortcuts. This applies the preferred code action returned from the list of code actions returned
      bcc2281e
  10. 17 1月, 2019 1 次提交
    • M
      Prototype auto fixable quick fixes · 1904cd8d
      Matt Bierner 提交于
      Part of #62110
      
      - Adds a new field `canAutoApply` to code actions. This field indicates that a code action can be applied without additional user input. For quick fixes, this should be set if the fix properly addresses the error
      
      - Enable auto fixes for TS spelling errors
      
      - Added a `editor.action.autoFix` command to triggers auto fixes at the current cursor position
      1904cd8d
  11. 07 9月, 2018 1 次提交
  12. 16 7月, 2018 1 次提交
  13. 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
  14. 14 4月, 2018 1 次提交
  15. 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
  16. 23 1月, 2018 2 次提交
    • M
      Add refactor editor action · 5d397568
      Matt Bierner 提交于
      Adds a new refactor editor action. This action shows a lightbulb context menu with only code actions of kind `refactor.*`
      5d397568
    • M
      CodeActionScope (#41782) · eccf728e
      Matt Bierner 提交于
      * Add CodeActionScope
      
      * Replace matches with contains, try using in ts extension
      
      * Move filtering to getCodeActions
      
      * Basic test
      
      * Docs
      
      * Fix tests
      
      * Hooking up requested scope
      
      * Add basic test for requestedScope
      
      * Added auto apply logic
      
      * Gate refactor provider to only compute refactorings when requested
      
      * Making suggested renames
      
      * Clean up code action trigger impl to use single Trrigger info object
      
      * Rename codeActionScope file and internal CodeActionScope class
      
      * Add quick fix base type
      
      * Make keybinding API more similar to insertSnippet
      
      Take args as an object instead of as an array of values
      
      * Clean up docs
      
      * scope -> kind
      
      * Fixing examples to match Refactor kind
      eccf728e