1. 08 3月, 2019 1 次提交
  2. 21 2月, 2019 1 次提交
  3. 20 2月, 2019 1 次提交
  4. 19 2月, 2019 1 次提交
  5. 18 2月, 2019 1 次提交
    • D
      Add editor.indentSize option · 5f70fddb
      David Lechner 提交于
      This is an attempt to address issue #10339.
      
      Background:
      
      Currently, the `editor.tabSize` option does two things - it specifies the width of the tab character and it specifies how many columns to advance when the tab key is pressed. However, there is code in the wild that has a mix of spaces and tabs that expects these two values to be different.
      
      These generally use and indent size of 2 or 4 and spaces are used for indentation until the indent becomes >= 8. The tab character size is excpected to be 8 and groups of 8 spaces are replaced with a tab character. Indent levels end up looking like 2 spaces, 4 spaces, 6 spaces, 1 tab, 1 tab + 2 spaces, and so on.
      
      Implementation:
      
      In the editor options, a new option, `editor.indentSize` is added. This, in conjunction with `editor.tabSize` has the same semantics as `indent_size` and `tab_width` in the well known [EditorConfig specification][1].
      
      > indent_size: a whole number defining the number of columns used for each indentation level and the width of soft tabs (when supported). When set to "tab", the value of tab_width (if specified) will be used.
      >
      > tab_width: a whole number defining the number of columns used to represent a tab character. This defaults to the value of indent_size and doesn't usually need to be specified.
      
      [1]: editorconfig.org
      
      The new `indentSize` option takes a numeric value or "tab" just as EditorConfig's `indent_size`. The default value is set to "tab" so that current default behavior of VS Code does not change and existing user settings will not break.
      
      When getting the new `indentSize` option programatically, it always returns a numeric value (just as `tabSize` does when set to the deprecated "auto" value).
      
      In the text editor model, a new property is added for `indentSize`. Unlike the configuration options where the value of one property influences the other, In this code `tabSize` now should only mean "the width of the tab character" and `indentSize` should only mean "how may columns is one indent".
      
      The cursor operations and shift command are updated to reflect these new semantics.
      5f70fddb
  6. 13 2月, 2019 2 次提交
  7. 12 2月, 2019 1 次提交
  8. 06 2月, 2019 2 次提交
  9. 04 1月, 2019 2 次提交
  10. 28 12月, 2018 1 次提交
    • J
      Converted another ~70 test files to strictNullChecks (#65672) · 373b4411
      Josh Goldberg 提交于
      * Converted another ~70 test files to strictNullChecks
      
      These are the remaining test files that didn't require any changes to non-test file types. I'll send those in separately.
      
      Most changes were automatic and small (`!`s).
      The only non-trival change is that `extHostSearch.ts` needs an interface for its test data.
      
      Again used [TypeStat](https://github.com/JoshuaKGoldberg/TypeStat) when possible per #65581. I'm happy to split this up into smaller PRs if you'd prefer!
      
      * Added missing `!`s to `commands.test.ts`
      373b4411
  11. 24 12月, 2018 1 次提交
  12. 18 12月, 2018 3 次提交
  13. 13 12月, 2018 1 次提交
  14. 11 12月, 2018 1 次提交
  15. 10 12月, 2018 1 次提交
  16. 01 12月, 2018 2 次提交
  17. 30 11月, 2018 1 次提交
  18. 29 11月, 2018 1 次提交
  19. 22 11月, 2018 2 次提交
  20. 15 11月, 2018 1 次提交
  21. 13 11月, 2018 1 次提交
  22. 09 11月, 2018 1 次提交
  23. 06 11月, 2018 1 次提交
  24. 05 11月, 2018 1 次提交
  25. 30 10月, 2018 3 次提交
  26. 29 10月, 2018 2 次提交
  27. 22 10月, 2018 2 次提交
  28. 21 10月, 2018 1 次提交
    • R
      Add sort option for breadcrumb symbol trees · f8398922
      Ryan Clarke 提交于
      'Position' shows symbols in file position order (default).
      'Name' shows symbols in alphabetical order.
      'Type' shows the symbols in symbol type order.
      
      The configuration setting is not watched anywhere since the
      breadcrumbs tree view is transient and would dissapear in
      changing the setting.
      f8398922
  29. 18 10月, 2018 1 次提交