Paul van Brenk
5665c098da
Introduce the concept of a Dynamic File
...
Dynamic files are generally created by the debugger when while debugging
it can't find a matching file on disk. Since these files don't exist on
disk, we shouldn't check if the file exists on disk, and allow the content
to be controlled by the host.
2017-08-14 16:55:37 -07:00
Andy
bd68122821
scriptVersionCache: Export less ( #17202 )
...
* scriptVersionCache: Export less
* Remove LineIndexForTest, use LineIndex
* Add /* @internal */ to class LineIndex
* Make CharRangeSelection a const enum
2017-08-09 10:59:10 -07:00
Andy
d918b8ad4e
Remove duplicate helper ( #17296 )
2017-07-19 11:23:14 -07:00
Andy
08a57d82cd
Add 'clear' helper ( #17209 )
2017-07-18 11:08:44 -07:00
Andy
d2ec45f354
Remove unnecessary 'ts.' qualifications ( #17163 )
2017-07-13 13:08:59 -07:00
Andy
dbbf051886
Add assertion to computePositionOfLineAndCharacter ( #17121 )
2017-07-13 06:49:28 -07:00
Andy
91d7b22e6a
Remove ILineInfo type ( #17017 )
2017-07-10 11:35:54 -07:00
Andy
31ce6cfba6
Minor cleanups to ScriptVersionCache ( #16983 )
2017-07-07 10:49:59 -07:00
Zhengbo Li
11ac006d60
Fix issue that randomly closes configured projects ( #15080 )
...
* Fix issue that randomly closes configured projects
* Correct the default project selection
2017-04-11 14:25:32 -07:00
Andy Hanson
91421c8dbc
Fix "semicolon" lint rule options (was not enabled)
2017-02-10 12:24:10 -08:00
Andy Hanson
30462e11ef
Merge branch 'master' into map5
2017-01-11 12:24:47 -08:00
zhengbli
8ac22ecbb0
Change the design to track addRoot and removeRoot
2016-12-29 17:00:04 -08:00
Andy Hanson
55fc62bc45
Merge branch 'master' into map5
2016-12-12 07:50:09 -08:00
Jason Ramsay
5f46e488b7
Mark containing project as dirty when file is closed
...
(Note: adding this until PR #12789 is merged in so that unit tests pass)
2016-12-09 11:12:00 -08:00
Jason Ramsay
4cb5a36cb4
Merge branch 'master' into tsconfigMixedContentSupport
2016-12-09 10:58:33 -08:00
Jason Ramsay
d52894302a
Changes due to CR comments
2016-12-08 17:56:08 -08:00
Vladimir Matveev
7da3383504
do not use ScriptVersionCache for closed files ( #12777 )
2016-12-08 16:17:42 -08:00
Andy Hanson
6b1cc8972d
Use native maps when they're available
2016-12-08 06:40:31 -08:00
Jason Ramsay
da7f824a2a
tsconfig.json mixed content support
2016-11-14 13:31:22 -08:00
Andy Hanson
12f6dcefa1
Revert "Merge pull request #11354 from Microsoft/map4"
...
This reverts commit adfdae0dc4 , reversing
changes made to aad663cebf .
2016-10-27 15:50:21 -07:00
Andy Hanson
f828bc3fae
Merge branch 'master' into map4
2016-10-18 09:07:00 -07:00
Vladimir Matveev
121f51e552
Merge pull request #11694 from Microsoft/vladima/reload-tmp
...
allow reload from temp files
2016-10-17 23:20:39 -07:00
Andy Hanson
4c5a728314
Don't use ternary operator
2016-10-17 10:27:12 -07:00
Andy Hanson
7292f9f67e
Merge branch 'master' into map4
2016-10-17 06:49:53 -07:00
Andy Hanson
8a2d16134d
Remove unnecessary assert
2016-10-17 06:11:00 -07:00
Vladimir Matveev
92b63fa725
Merge pull request #11550 from Microsoft/vladima/generate-protocol
...
Automatically generate protocol.d.ts by pulling in necessary dependencies
2016-10-12 14:18:19 -07:00
Andy Hanson
9385b84c62
Add "navtree" and "navtree-full" server commands
2016-10-11 08:32:37 -07:00
Andy Hanson
aadcbcc083
Use native maps when they're available
2016-10-06 13:29:18 -07:00
Vladimir Matveev
286a12edd1
defer settings format options on file until it is explicitly requested ( #10971 )
2016-09-18 21:14:39 -07:00
Zhengbo Li
95378aa399
Fix compile on save issues ( #10615 )
...
* only return .ts and .tsx files for affected document list
* Return all files exclude mixed-content files for CoS affected list
2016-08-31 12:11:32 -07:00
Vladimir Matveev
f642a4740b
switch to using dedicated functions to create\throw errors
2016-08-22 12:17:33 -07:00
Vladimir Matveev
c0bcf8f10c
release cached tree in compilation settings change
2016-08-03 14:02:37 -07:00
Vladimir Matveev
b9bbd8638f
Merge remote-tracking branch 'origin/tsserverVS-WIP' into tsserverVS-WIP-mixedcontent
2016-07-28 13:16:35 -07:00
Vladimir Matsveyeu
2f7e738376
resolve merge issues
2016-07-28 13:14:01 -07:00
Vladimir Matveev
2c254773bb
added tests
2016-07-21 14:17:22 -07:00
Vladimir Matveev
aea1534704
move saveTo to ScriptInfo
2016-07-11 19:51:14 -07:00
Vladimir Matveev
65e5a72c5c
fix path normalization
2016-06-29 16:49:45 -07:00
Vladimir Matveev
d7bf32270e
remove multiple collections for open files
2016-06-28 17:45:29 -07:00
Vladimir Matveev
4157655215
[in progress] project system work - fixes in tests
2016-06-24 14:55:12 -07:00
Vladimir Matveev
cefaa171eb
[in progress] project system work - major code reorg
2016-06-24 14:30:45 -07:00
Vladimir Matveev
c8d37dc87e
[in progress] project system work - versions
2016-06-22 16:51:09 -07:00
Vladimir Matveev
c9b82eddda
[in progress] project system work
2016-06-21 17:31:54 -07:00