Benjamin Pasero
4cd3294855
rename mode => language in many places ( #139920 )
2021-12-30 12:40:30 +01:00
Alex Dima
365a3c23be
Rename mode to language
2021-12-28 10:51:35 +01:00
Alexandru Dima
d209aa2b02
Rename modeId -> languageId
2021-10-22 17:46:59 +02:00
Henning Dieterichs
b81aebe5d7
Forwards the isUndoing/isRedoing flags to the extension host and introduces TextDocumentChangeReason.
2021-06-01 17:45:58 +02:00
Johannes Rieken
9cc276648e
remove onDidChangeCellLanguage-event in favor of the existing document closed/opened event sequence
2021-03-09 15:14:30 +01:00
Johannes Rieken
3fefc6117c
ref count document data on extension host side
2020-08-11 14:24:16 +02:00
Johannes Rieken
00dea1c4ad
create "real" TextDocument when opening a notebook or when adding cells, don't create them again when the renderer makes models
2020-07-17 11:02:08 +02:00
Johannes Rieken
b0d056202b
Use canonical uri for openTextDocument api, #93368
2020-05-29 18:16:31 +02:00
Johannes Rieken
f36e0c13c6
fix #88310
2020-01-13 10:43:20 +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
Matt Bierner
cd4d7e6c2b
Fix more node 12 typing errors
...
For #82514
2019-11-04 15:11:54 -08:00
Matt Bierner
029009eafd
Marking most private emitters as readonly
...
Emitters should generally not be reassigned as their corresponding event would also be lost. Marking these as readonly just to enforce this
2019-09-23 17:31:18 -07:00
Johannes Rieken
441da58f1e
debt
2019-07-08 09:55:02 +02:00
Johannes Rieken
078da2bca6
This partially reverts "extends Disposable" changes
2019-06-06 16:01:15 +02:00
Matt Bierner
0b4d3cd604
Remove use of IDisposable[] in a few more places
2019-06-05 15:41:45 -07:00
Johannes Rieken
c0821aa5e9
move extHost-files to common
2019-04-10 10:26:52 +02:00
Johannes Rieken
81456a7212
move api/common to api/browser
2016-01-11 14:44:13 +01:00
Johannes Rieken
2e95c110f4
use weak references to track TextDocument that were given out to consumers
2016-01-11 12:50:40 +01:00
Johannes Rieken
d7dbecc91d
prepare for weak references - use ExtHostDocumentData with a TextDocument property instead of having just ExtHostDocument
2016-01-11 11:24:27 +01:00
Johannes Rieken
d78646888a
refactor ExtHostDocumentModel to ready for node_module consumption
2016-01-11 10:50:25 +01:00
Johannes Rieken
d625b55e9e
no closeTextDocument
2016-01-08 15:44:48 +01:00
Johannes Rieken
f484123616
refine API, add closeTextDocument call
2016-01-08 12:04:00 +01:00
Johannes Rieken
5846f82642
don't use an editor input
2016-01-08 09:07:47 +01:00
Johannes Rieken
b4e8754670
proper use of EditorInput and EditorModel
2016-01-07 10:45:35 +01:00
Johannes Rieken
ac5267eb61
use resourceEditorInput so that virtual documents can be shown in the editor
2016-01-06 17:53:37 +01:00
Johannes Rieken
26fab247a9
first implementation of registerTextDocumentContentProvider api-idea
2016-01-06 16:26:49 +01:00
Johannes Rieken
cff6f0ae6a
sketching up some API
2016-01-05 17:58:40 +01:00
Benjamin Pasero
70ee90dcc1
debt - move untitlededitorservice to common
2015-12-22 09:09:51 +01:00
Benjamin Pasero
5906207073
workbench api linting
2015-12-21 18:51:51 +01:00
Benjamin Pasero
acd6a190c3
debt: move extHostStatusBar to common
2015-12-21 18:36:40 +01:00
Johannes Rieken
8aadd81678
debt - rename PluginHostXYZ to ExtHostXYZ, do the same for filenames
2015-12-21 11:46:00 +01:00