Commit Graph

23 Commits

Author SHA1 Message Date
Johannes Rieken
b0d056202b Use canonical uri for openTextDocument api, #93368 2020-05-29 18:16:31 +02:00
Benjamin Pasero
a23d4daefa Dangling text file models of deleted files hanging around in memory (#98154)
* Dangling text file models of deleted files hanging around in memory (fix #98057)

* address feedback
2020-05-26 16:29:12 +02:00
Benjamin Pasero
d8251943cc untitled - share save/saveas logic in one place 2020-01-26 09:26:13 +01:00
Benjamin Pasero
cdc2469931 untitled - rewrite creation logic 2020-01-17 11:33:13 +01:00
Benjamin Pasero
664836ec0e debt - loadOrCreate => resolve 2020-01-16 15:39:09 +01:00
Benjamin Pasero
70f381a7b9 untitled - bring back loadOrCreate() 2020-01-16 13:11:15 +01:00
Benjamin Pasero
41eabcfcd6 text files - rename models => files 2020-01-16 12:47:46 +01:00
Benjamin Pasero
3d9d1f9f2a text files - allow to work with untitled from text file service directly 2020-01-16 12:45:13 +01:00
Benjamin Pasero
2a3dc1edac fix tests 2020-01-13 16:59:08 +01:00
Benjamin Pasero
76c72ffc94 telemetry - restore back load/save reason for files 2020-01-13 16:01:30 +01:00
Benjamin Pasero
ad41028d8f debt - drop untyped events in favor of typed (text files) 2020-01-13 15:49:21 +01:00
Benjamin Pasero
238617a847 debt - drop TextFileModelChangeEvent 2020-01-13 13:02:50 +01:00
Benjamin Pasero
4f6af32f43 untitled - merge createOrGet and loadOrCreate into one 2020-01-09 10:26:04 +01:00
Benjamin Pasero
da5f408834 workbench editor model: getResource => resource 2019-11-12 17:04:54 +01:00
Benjamin Pasero
87064db103 debt - untitled editor => untitled text editor 2019-11-06 12:44:59 +01:00
Matt Bierner
7ed88bd70c Use set to track synced values instead of object literal 2019-07-15 11:47:29 -07:00
Matt Bierner
ae2cc878f8 Using DisposableStore in mainThread class
#74250
2019-07-02 16:37:35 -07:00
Johannes Rieken
078da2bca6 This partially reverts "extends Disposable" changes 2019-06-06 16:01:15 +02:00
Matt Bierner
0f32f0ef5f Clean up some usages of IDisposable[]
Part of #74250

- Extend `Disposable` in classes where it makes sense
- Use `DisposableStore` for lists of disposables
- Make `combinedDisposable` take arguments instead of an array (so that you can't pass in an array and then modify the array after the fact)
2019-05-23 22:58:16 -07:00
Benjamin Pasero
dac56c1816 allow to provide a language mode when opening text editors 2019-05-07 15:05:54 +02:00
Benjamin Pasero
0a6f646b46 debt - adopt toLocalResource in more places 2019-04-09 11:32:25 +02:00
Benjamin Pasero
f4eae9a5f4 files2 - polish method names 2019-03-29 15:15:44 +01:00
Johannes Rieken
1d3215d100 move mainThread[D,E], #70319 2019-03-20 11:29:03 +01:00