1. 27 3月, 2020 1 次提交
  2. 26 3月, 2020 1 次提交
  3. 20 3月, 2020 1 次提交
  4. 18 3月, 2020 1 次提交
  5. 05 3月, 2020 3 次提交
  6. 26 2月, 2020 1 次提交
  7. 22 2月, 2020 2 次提交
  8. 21 2月, 2020 1 次提交
  9. 19 2月, 2020 2 次提交
    • A
      Relax IIdentifiedSingleEditOperation.range · 89eb9fe9
      Alex Dima 提交于
      89eb9fe9
    • B
      Define IIdentifiedSingleEditOperation.range as IRange instead of Range · 7d9dd505
      bolinfest 提交于
      With the upcoming changes in TypeScript 3.8 to support `import type`, it is even more compelling to declare weak references via types rather than strong references via concrete classes. Most APIs in Monaco already do this well, accepting `monaco.IRange` instead of `monaco.Range`, though `IIdentifiedSingleEditOperation` appears to be an exception in this regard, which means a strong dependency on `monaco.Range` is required to use `ITextModel.pushEditOperations()`.
      
      It would be nice to relax this constraint, though I admit I have not yet attempted to trace through whether this breaks anything since I am submitting this via GitHub's web UI.
      7d9dd505
  10. 05 2月, 2020 1 次提交
  11. 11 12月, 2019 1 次提交
  12. 06 12月, 2019 1 次提交
  13. 07 11月, 2019 1 次提交
  14. 06 11月, 2019 2 次提交
  15. 26 10月, 2019 1 次提交
  16. 18 10月, 2019 1 次提交
  17. 17 10月, 2019 2 次提交
  18. 19 7月, 2019 1 次提交
  19. 10 7月, 2019 1 次提交
  20. 09 7月, 2019 1 次提交
  21. 21 6月, 2019 1 次提交
  22. 16 4月, 2019 1 次提交
  23. 06 3月, 2019 1 次提交
  24. 28 2月, 2019 1 次提交
  25. 27 2月, 2019 1 次提交
  26. 18 2月, 2019 2 次提交
    • A
      Tweaks for #62079 · b164459b
      Alex Dima 提交于
      b164459b
    • 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
  27. 18 1月, 2019 1 次提交
  28. 31 10月, 2018 1 次提交
  29. 23 10月, 2018 1 次提交
  30. 22 10月, 2018 1 次提交
  31. 13 10月, 2018 1 次提交
  32. 12 10月, 2018 2 次提交