Commit Graph

177 Commits

Author SHA1 Message Date
Benjamin Pasero
43f86ea354 fixes #14835 2016-11-02 10:18:19 +01:00
Daniel Imms
9d68196168 Revert hot exit compeletely
Due to issues #14151, #14149 & #14182
2016-10-21 12:47:05 -07:00
Daniel Imms
9aa7b9c142 Improve exit logic when errors occur 2016-10-17 10:26:28 -07:00
Daniel Imms
a002932910 Clean up pass 2016-10-14 12:50:21 -07:00
Daniel Imms
52c8af5abf Perform a last minute backup when closing the last window 2016-10-13 02:30:33 -07:00
Daniel Imms
e4f0dec794 Remove usage of fs in common/ layer 2016-10-13 01:12:41 -07:00
Daniel Imms
4928801c7f Get untitled files restoring from backup 2016-10-13 00:07:16 -07:00
Daniel Imms
2cac437527 Merge remote-tracking branch 'origin/master' into tyriar/101_hot_exit 2016-10-11 11:08:29 -07:00
Johannes Rieken
6681a2a7d6 tsfmt - src 2016-10-08 09:53:13 +02:00
Benjamin Pasero
069984e003 Make sidebar position a real setting (fixes #13338) 2016-10-07 11:09:59 +02:00
Daniel Imms
be584461ea Merge remote-tracking branch 'origin/master' into tyriar/101_hot_exit 2016-10-05 14:11:49 -07:00
Benjamin Pasero
96f11177eb push ITextFileService to be a workbench service (fixes #6429) 2016-10-05 15:19:18 +02:00
Benjamin Pasero
88c3cad7a0 debt: no more mimes in any workbench editor 2016-10-04 13:30:40 +02:00
Benjamin Pasero
4cd0bf095d debt: get rid of mime in file input 2016-10-04 13:08:34 +02:00
Benjamin Pasero
5682c8ffb1 fix #12979 2016-09-29 08:49:44 +02:00
Benjamin Pasero
c39fe899d7 clean up lots of code when running tsconfig with noUnusedLocals 2016-09-26 11:52:12 +02:00
Daniel Imms
08fad0bb57 Move backup logic into models 2016-09-21 15:33:01 -07:00
Daniel Imms
2ded2a75ca Discard backups when the file is no longer dirty
Make content update trigger after dirty status is evaluated
2016-09-21 11:29:13 -07:00
Daniel Imms
9c9c0b2cd3 Perform backups on content change not dirty change 2016-09-21 02:33:11 -07:00
Alex Dima
cd81bc85eb Fix compilation error due to rebase 2016-09-16 11:11:46 +02:00
Alex Dima
45d383f268 Move tokenizationSupport out of the mode instance and into TokenizationRegistry 2016-09-16 11:11:45 +02:00
Benjamin Pasero
ba777300c9 update text file editor model when file associations change 2016-09-15 15:52:00 +02:00
Benjamin Pasero
5b16b26e1f less direct use of TextFileEditorModel 2016-09-13 12:14:06 +02:00
Benjamin Pasero
a23e82d374 code cleanup 2016-09-12 16:56:21 +02:00
Benjamin Pasero
176f350454 more fixes for #9794 2016-09-12 12:59:47 +02:00
Benjamin Pasero
819770a0d0 remove unused event service 2016-09-09 15:02:15 +02:00
Sandeep Somavarapu
41e35e5a25 tests for range highlight 2016-09-09 14:35:14 +02:00
Sandeep Somavarapu
ad083979d2 refactor method names in range decorations 2016-09-09 14:35:14 +02:00
Benjamin Pasero
756ff78823 remove last untyped event from workbench 2016-09-09 11:32:28 +02:00
Benjamin Pasero
3375a6d98d clean up rangedecorations 2016-09-08 19:12:16 +02:00
Sandeep Somavarapu
24743e881d fix #8365 2016-09-08 17:50:00 +02:00
Benjamin Pasero
b892b24377 react to model dispose properly from text model 2016-09-08 15:46:23 +02:00
Benjamin Pasero
4f35ddd286 get rid of EventEmitter for editor inputs, models and workbench components 2016-09-08 15:08:42 +02:00
Benjamin Pasero
a4e06dc83b move disposeUnusedTextFileModels into model manager and add tests 2016-09-07 15:57:43 +02:00
Benjamin Pasero
2791e5c5be untitled editor tests 2016-09-06 16:36:10 +02:00
Benjamin Pasero
2bb55b7cff faster check for empty model 2016-09-06 15:21:45 +02:00
Benjamin Pasero
5e92eb1e0d Empty untitled file should not show up as dirty (fixes #11554) 2016-09-06 15:19:31 +02:00
Benjamin Pasero
b081995783 typed events for untitled (for #7176) 2016-09-06 15:19:31 +02:00
Benjamin Pasero
9b0e1d350d simplify all tests that deal with textFileServices 2016-09-05 15:21:02 +02:00
Benjamin Pasero
4f21084c3c Images do not show updated when changed on disk (fixes #7951) 2016-09-03 08:45:13 +02:00
Benjamin Pasero
563577963a Mode detection doesn't work when file doesn't exist, from CLI, from extension mode (fixes #11219) 2016-08-30 17:23:51 +02:00
sprinkle131313
5b14c9845c Implements recently closed editors opening at same position as they were closed. 2016-08-28 23:13:19 -04:00
Benjamin Pasero
ab09cff06d remove another getOptions() call 2016-08-18 16:48:39 +02:00
Benjamin Pasero
b59f466b01 Closing a dirty split editor (existing OR untitled) should not affect the initial editor (fixes #8983) 2016-08-09 09:39:20 +02:00
Benjamin Pasero
7c415a5733 use refcounting for resources in stacks model 2016-07-08 11:41:20 +02:00
Benjamin Pasero
ea6373c577 block large images from loading embedded 2016-07-08 11:26:05 +02:00
Benjamin Pasero
8907b120c1 fix a bit of #8578 2016-07-06 15:23:10 +02:00
Benjamin Pasero
375bd62305 fix some todos (migration) 2016-07-05 11:31:36 +02:00
Benjamin Pasero
26e86f6660 Preview tab does not have a stable position (fixes #8245) 2016-06-29 07:38:05 +02:00
Benjamin Pasero
fa9d70718c do not open an editor when editing a diff editor 2016-06-27 14:57:59 +02:00