Benjamin Pasero
782fadfefa
files2 - implement file writing via provider
2019-04-11 08:28:28 +02:00
Matt Bierner
8052aa1d68
Supress strict null errors in textFile Tests
2019-03-11 16:20:05 -07:00
Matt Bierner
d0d773eddc
Strict null supressions in test files
2019-02-11 09:31:13 -08:00
Matt Bierner
2c3eb2364c
Revert "Converted editor.test.ts and related to strictNullChecks ( #65674 )"
...
This reverts commit 5897b877b9 .
2018-12-27 19:01:33 -06:00
Josh Goldberg
5897b877b9
Converted editor.test.ts and related to strictNullChecks ( #65674 )
...
Continues #60565 for converting tests. A few files used TypeStat to add `!`s but the following interface changes were manually inferred from implementing classes:
* `IActiveCodeEditor`'s methods can all return `null`
* `IEditor` needs to report `getControl(): IEdotorControl | null` because `BaseEditor`'s `getControl` can return `null`
2018-12-27 18:57:50 -06:00
Benjamin Pasero
227fd6634b
fix #64597
2018-12-12 08:00:50 +01:00
Benjamin Pasero
e36b60d4c9
fix #64598
2018-12-11 15:39:22 +01:00
Benjamin Pasero
d6b26a567d
fix #64596
2018-12-11 13:04:19 +01:00
Benjamin Pasero
c0766762bb
fix #63897
2018-12-11 12:13:22 +01:00
Matt Bierner
7ebea5fba0
Remove "use strict" directives in tests
...
We set alwaysStrict so this directive is not needed
2018-10-02 15:59:35 -07:00
Benjamin Pasero
2466d395af
first pass of WinJS.done() usage (for #57695 )
2018-09-03 15:19:51 +02:00
Johannes Rieken
6a586e39d5
debt - don't refer to WinJS.Promise as Promise
2018-06-05 14:53:05 +02:00
Matt Bierner
82be8c8b01
Build with TS 2.7 ( #45348 )
...
* Pick up TS 2.7
* Fix formatter in build script
* Fix build error for ts 2.7
* Pick up new ts format and tslint versions
* Update lock
* use 2.7.2 for build
* Formatting
2018-03-08 16:58:32 -08:00
Benjamin Pasero
8c71cf6a0a
tests - favour native promise over winjs
2018-03-08 11:13:44 +01:00
Benjamin Pasero
4f19e8f619
tests - favour promise over done callback (for #45209 )
2018-03-08 09:13:20 +01:00
Benjamin Pasero
c6d150ebb4
remove textEditorModel.getValue
2018-01-22 18:06:35 +01:00
Alex Dima
4fed11f880
Remove unused code ( #38414 )
2017-11-17 20:15:48 +01:00
Benjamin Pasero
0dcdf199e3
Undo after external modification does not turn editor dirty ( fixes #33580 )
2017-08-31 11:38:44 +02:00
Felix Becker
dbe0f89264
Always reject Promises with Error instances
2017-06-26 15:24:41 +02:00
Benjamin Pasero
40871a23c9
clean up failing test
2017-04-25 09:48:35 +02:00
Benjamin Pasero
759f42d1c4
get rid of unstable test
2017-04-19 09:40:56 +02:00
Benjamin Pasero
a30b38f644
fix tests
2017-04-18 16:39:37 +02:00
Benjamin Pasero
45f7f61963
validate if model is really orphaned or not (helps #13665 )
2017-04-18 07:45:27 +02:00
Benjamin Pasero
d5de585e68
adjust tests ( #24446 )
2017-04-10 16:35:52 +02:00
Benjamin Pasero
61753c0292
try to fix build again
2017-04-10 09:04:16 +02:00
Benjamin Pasero
e57e0669f8
try to get tests green
2017-04-05 11:51:34 +02:00
Benjamin Pasero
2dabc3bab5
Improved behaviour of dealing with deleted files (for #11642 ) ( #22506 )
2017-03-13 07:55:50 +01:00
Benjamin Pasero
3ae887e7b3
tests for orphaned file models
2017-03-06 13:34:39 +01:00
Benjamin Pasero
16b59a51d4
Add an option to disable closing open files that are removed from the directory ( #21962 )
2017-03-06 11:26:56 +01:00
Benjamin Pasero
6afc01866d
Auto save triggers save conflict error very easily ( fixes #22050 )
2017-03-06 10:17:14 +01:00
Benjamin Pasero
5f545975b9
fix tests
2017-03-01 12:27:27 +01:00
Benjamin Pasero
973c15e01f
sequentialize writes to files ( fixes #18037 )
2017-01-03 15:54:16 +01:00
Benjamin Pasero
3cefffccfc
Get rid of IEventService in favour of real events ( #17515 )
2016-12-19 09:37:10 +01:00
Benjamin Pasero
0a073fa0dd
perf - introduce and use "soft" revert when closing all editors
2016-12-15 09:36:30 +01:00
Sandeep Somavarapu
d679692e01
#17110 Rename and clean up
2016-12-13 18:40:22 +01:00
Sandeep Somavarapu
cf385bcc10
#17110 Move service test utils to workbench
2016-12-13 17:50:40 +01:00
Sandeep Somavarapu
c07a26c9a4
#17110 Remove dependency on service test utils from platform tests
2016-12-13 17:34:08 +01:00
Benjamin Pasero
ba85475281
more promise handler for #14596
2016-10-28 17:26:18 +02:00
Benjamin Pasero
6ee4652887
try to fix #14349
2016-10-25 13:03:52 +02:00
Johannes Rieken
6681a2a7d6
tsfmt - src
2016-10-08 09:53:13 +02:00
Benjamin Pasero
b9513f5dec
fix flaky tests
2016-10-05 16:03:42 +02:00
Benjamin Pasero
b61ae53c64
fix tests
2016-10-05 15:24:25 +02:00
Benjamin Pasero
96f11177eb
push ITextFileService to be a workbench service ( fixes #6429 )
2016-10-05 15:19:18 +02:00