- 21 2月, 2019 1 次提交
-
-
由 SteVen Batten 提交于
-
- 18 2月, 2019 4 次提交
-
-
由 Alex Dima 提交于
-
由 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.
-
由 Alex Dima 提交于
-
由 Rekicho 提交于
-
- 16 2月, 2019 2 次提交
- 15 2月, 2019 1 次提交
-
-
由 Max Sysoev 提交于
-
- 23 1月, 2019 1 次提交
-
-
由 Matt Bierner 提交于
Part of #62110 `autoFix` is a confusing term since we have a `auto fix` command now. Using `fix all` as this term is used by many linters for this type of operation
-
- 22 1月, 2019 1 次提交
-
-
由 Matt Bierner 提交于
Part of #62110 * Adds a new `CodeActionKind`: `source.autoFix`. * Implements a simple auto fix provider for typescript. This provider can auto fix `implement interface` and `spelling` errors (provided there is only a single valid fix listed) The provider is likely not something we actually want to check it (especially in its current state), we should ask TS for proper autoFix support
-
- 01 1月, 2019 1 次提交
-
-
由 Rob Lourens 提交于
-
- 27 12月, 2018 1 次提交
-
-
由 al 提交于
-
- 20 12月, 2018 1 次提交
-
-
由 Matt Bierner 提交于
Code like: ``` private readonly _onDidEncounterLanguage: Emitter<LanguageId> = new Emitter<LanguageId>(); ``` Does not need to repeat the `Emitter<LanguageId>` type annotation
-
- 19 12月, 2018 2 次提交
-
-
由 Alex Dima 提交于
-
由 Tiago Ribeiro 提交于
-
- 18 12月, 2018 1 次提交
-
-
由 Johannes Rieken 提交于
This reverts commit 07406331.
-
- 10 12月, 2018 2 次提交
-
-
由 Johannes Rieken 提交于
This reverts commit d28f895d.
-
由 Johannes Rieken 提交于
This reverts commit f6cff39c.
-
- 06 12月, 2018 2 次提交
-
-
由 Johannes Rieken 提交于
-
由 Rob Lourens 提交于
-
- 03 12月, 2018 1 次提交
-
-
由 Johannes Rieken 提交于
-
- 15 11月, 2018 1 次提交
-
-
由 pkoushik 提交于
-
- 23 10月, 2018 1 次提交
-
-
由 Alex Dima 提交于
-
- 12 10月, 2018 1 次提交
-
-
由 Alex Dima 提交于
-
- 03 10月, 2018 1 次提交
-
-
由 Matt Bierner 提交于
We compile using the alwaysStrict flag so these directives are not needed This part removes most `use strict` directives that are right after the file header
-
- 24 9月, 2018 1 次提交
-
-
由 Johannes Rieken 提交于
-
- 19 9月, 2018 3 次提交
-
-
由 Johannes Rieken 提交于
-
由 Johannes Rieken 提交于
make tabCompletion be 'on' | 'off' | 'onlySnippets', only compute word end key when tab completion is enabled
-
由 Johannes Rieken 提交于
-
- 12 9月, 2018 2 次提交
-
-
由 Ramya Achutha Rao 提交于
-
由 Ramya Achutha Rao 提交于
-
- 07 9月, 2018 1 次提交
-
-
由 Rob Lourens 提交于
-
- 06 9月, 2018 3 次提交
-
-
由 Peng Lyu 提交于
-
由 Peng Lyu 提交于
-
由 Rob Lourens 提交于
-
- 31 8月, 2018 1 次提交
-
-
由 Pine Wu 提交于
-
- 29 8月, 2018 3 次提交
-
-
由 Alex Dima 提交于
-
由 Alex Dima 提交于
-
由 Rob Lourens 提交于
-
- 28 8月, 2018 1 次提交
-
-
由 Rob Lourens 提交于
-