Commit Graph

24 Commits

Author SHA1 Message Date
Benjamin Pasero
6b924c5152 ESM merge to main (#227184)
Co-authored-by: Johannes Rieken <jrieken@microsoft.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-08-30 10:31:46 +02:00
Henning Dieterichs
4f99e9503b Removes selection from TextEditor debug description. 2024-07-08 13:15:07 +02:00
Henning Dieterichs
a35bb46e9b Adopts debug.description.
Implemented for:
* Position: (11:12)
* Range: [11:12 -> 13:11)
* Selection: |[11:12 -> 13:11)
* TextDocument: TextDocument(file:///test.txt)
* NotebookDocument: NotebookDocument(file:///test.txt)
* TextEditor: TextEditor(file:///test.txt, [11:12 -> 13:11))
* NotebookEditor: NotebookEditor(file:///test.txt)
* URI: URI(file:///test.txt)

Fixes #191390

Signed-off-by: Henning Dieterichs <hdieterichs@microsoft.com>
2024-07-08 13:15:07 +02:00
Alexandru Dima
15c649493f Allow setting indent size to an explicit number when it is computed from tab size (#200368)
Allow setting indent size to an explicit number when it is computed from tab size (fixes #199791)
2023-12-08 16:11:14 +01:00
Alexandru Dima
4dad617e42 Finalize TextEditorOptions.indentSize API proposal (#193193)
Finalize TextEditorOptions.indentSize API proposal
2023-09-15 11:54:06 +01:00
Johannes
f44e4ed8d4 chore - some errors cleanup 2023-09-04 13:44:39 +02:00
Benjamin Pasero
5b60b8a53e perf - use Lazy for comparers and 💄 Lazy to align with IdleValue (#170866)
perf - use `Lazy` for comparers and 💄 `Lazy` to align with `IdleValue`
2023-01-10 07:12:34 +01:00
Johannes Rieken
b2a7c9aac5 don't export TextEditorEdit (#168080)
https://github.com/microsoft/vscode/issues/164940
2022-12-05 06:15:47 -08:00
Alex Dima
484e0cbddb Create a new API proposal with TextEditorOptions.indentSize 2022-11-16 13:01:00 +01:00
Daniel Fiori
cd73b23142 Re-enable support for editor.indentSize setting
This change allows the indentation size to be distinct from the tab width,
when using spaces for indentation.

This commit simply reverts e2049cdc and portions of a60beb9d, which had
removed this feature.
2022-07-18 22:15:38 -04:00
Johannes
b157c6a2e6 pass and check model version when calling insertSnippet, https://github.com/microsoft/vscode/issues/145727 2022-03-28 08:22:53 +02:00
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Alex Dima
d8ca757f2b Move ISingleEditOperation to /core/ (#141174) 2022-01-21 20:35:35 +01:00
Alex Dima
7fbe563c0a Fixes #136937: Do not log extension activation canceled error if the extension host is going down 2021-11-19 00:45:29 +01:00
Alex Dima
f523f65f39 Add a description field to decorations to be able to find leaks 2021-05-27 15:50:04 +02:00
Johannes Rieken
2ceeaeb681 hide proxy from TextEditorDecorationType 2021-02-01 17:06:51 +01:00
Johannes Rieken
a60beb9d7a don't leak proxies in editor land, also remove indentSize property which isn't API 2021-02-01 12:01:50 +01:00
Matt Bierner
1b70625f8c Use import type when importing vscode under src
When the core references `vscode`, we only want to import the types and never generate a real import (which will fail to load). Use `import type` to better enforce this
2020-01-10 14:25:21 -08:00
Johannes Rieken
c14fd7b590 more console removal, #84283 2019-12-09 16:00:30 +01:00
Johannes Rieken
0dfa355b3a remove deprecated code check, jsdoc is what we use elsewhere, helps with #84283 2019-12-09 15:42:23 +01:00
Johannes Rieken
f6ef80200c fix more strict init errors 2019-08-12 15:46:03 +02:00
Johannes Rieken
f515c229c9 make edit-builder throw when used after finalized, #78066 2019-07-29 10:56:41 +02:00
Matt Bierner
3bb736272e Mark readonly on insertSnippet
This function does not modify the input array
2019-06-13 14:11:46 -07:00
Johannes Rieken
c0821aa5e9 move extHost-files to common 2019-04-10 10:26:52 +02:00