Sheetal Nandi
7c5f5249ae
Renames as per PR feedback
2018-04-18 11:05:56 -07:00
Sheetal Nandi
d64f2483e4
Update to respond to PR feedback
2018-04-17 14:17:15 -07:00
Sheetal Nandi
35abe26824
Force new typings resolution only if there are more or less script infos in the project.
...
This helps in reducing number of forced typing installation requests
We anyways use changes in unresolved import array to determine if we need to enqueue new typing request
Hence there is no need to soley rely on hasChanges from updateGraph which just indicates that we didnt reused the program (that does not mean new files were added to the program or changes in unresolved imports)
2018-04-13 15:17:13 -07:00
Ryan Cavanaugh
df95de3231
Merge branch 'master' into referencesDogfood_1
2018-04-11 16:17:38 -07:00
Ryan Cavanaugh
3ca1d2d7e3
Remove all reference comments from server/
2018-04-11 15:38:26 -07:00
Andy
4b706fc479
Add 'disableSuggestions' to UserPreferences ( #23283 )
...
* Add 'disableSuggestions' to UserPreferences
* Make mergeMapLikes return a new object
* Avoid additional clone
* mergeMapLikes -> object spread
2018-04-10 11:53:24 -07:00
Andy
cc3921323c
Support services settings ( #22236 )
...
* Support services settings
* Code review
* More review
* Use different names for Options and GetCompletionsAtPositionOptions (todo: come up with better names)
* More renames
* More renaming
* Support quote style in importFixes
* Add `importModuleSpecifierPreference` option
* Support quote style for `throw new Error('Method not implemented.')` (#18169 )
* options -> preferences
2018-03-20 13:07:59 -07:00
Sheetal Nandi
08ab6eb42d
Reload the text from file if there is pending reload of the script info before determining to use SVC
...
Fixes #20806
2018-02-23 12:10:24 -08:00
Sheetal Nandi
146256b7dc
Allow dynamic files without external project and also use file names starting with ^ as dynamic file
...
Fixes #21204
2018-01-22 11:44:43 -08:00
Sheetal Nandi
ed23ca582a
Merge branch 'master' into builderApi
2018-01-17 16:11:44 -08:00
Sheetal Nandi
9ad9dc106c
Merge pull request #21171 from Microsoft/renameSymLinks
...
Rename through all projects with same file through symLink
2018-01-17 15:08:27 -08:00
Sheetal Nandi
5bd3f97b18
Merge branch 'master' into builderApi
2018-01-16 11:14:39 -08:00
Sheetal Nandi
428e0529fd
Rename through all projects with the same file symLink
2018-01-12 16:24:04 -08:00
Andy
d2fd137d88
Add a getFullText() helper method to IScriptSnapshot ( #21155 )
...
* Add a `getFullText()` helper method to `IScriptSnapshot`
* Use a function instead of a method
2018-01-12 10:44:39 -08:00
Sheetal Nandi
43c2610a69
More functions moved from system to WatchCompilerHost
2017-12-05 16:53:34 -08:00
Sheetal Nandi
373510c4d9
Handle the script infos that are opened with non rooted disk path
...
Fixes #19588
2017-11-03 15:38:58 -07:00
Sheetal Nandi
2668f50577
Reload contents of file from disk irrespective of project presence and file already containing its own text
...
Fixes #19336
2017-10-25 13:46:12 -07:00
Sheetal Nandi
68d360585a
PR feedback
2017-09-26 16:21:15 -07:00
Sheetal Nandi
38f3a2b700
Renamed PartialSystem as DirectoryStructureHost and CachedPartialSystem as CachedDirectoryStructureHost
2017-09-26 11:05:52 -07:00
Sheetal Nandi
fdb104b242
Merge branch 'master' into watchImprovements
2017-09-11 13:49:36 -07:00
Sheetal Nandi
67f9533c67
Limit the resolution invalidation to max number of files as invalidation for larger cache might take more time than to just recalculate resolutions
2017-09-08 12:10:47 -07:00
Sheetal Nandi
10ea5bf460
Script infos while opening/closing shouldnt mark project as dirty if the contents dont change
2017-08-31 09:13:59 -07:00
Sheetal Nandi
17565d8407
Handle watches of missing directories and make project the module resolution host
2017-08-31 09:13:59 -07:00
Sheetal Nandi
4c79033894
Refactoring to watches and caching of system such that we minimize function expressions
...
Also unified watcher info logging
2017-08-31 09:13:59 -07:00
Sheetal Nandi
60e2e68dfb
Merge branch 'watchImprovements' into builder
2017-08-18 13:38:24 -07:00
Sheetal Nandi
c425128075
When getting default project from session, get it only if the script info is not orphan
...
Since the closed script info's that are orphan arent removed immediately but on next open request, treat the orphan script infos as if they are not present in the session
2017-08-18 13:13:12 -07:00
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
Sheetal Nandi
f1b1b12604
More work based on feedback
2017-08-14 14:59:51 -07:00
Sheetal Nandi
594482d2c9
Merge branch 'master' into watchImprovements
2017-08-11 20:13:15 -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
Sheetal Nandi
1155c37fcb
Merge branch 'master' into watchImprovements
2017-07-20 09:49:30 -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
Sheetal Nandi
404aa8f0be
Logging of the watch add/remove/event
2017-07-14 17:39:42 -07:00
Sheetal Nandi
0365901381
use single instance of getCanonicalFileName
2017-07-13 15:32:11 -07:00
Sheetal Nandi
048e67c021
Merge branch 'master' into watchImprovements
2017-07-13 14:13:14 -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
Sheetal Nandi
68def1b1f3
Use the cached file exists/directory exists for configured project since we watch the needed files
2017-07-11 23:23:53 -07:00
Andy
91d7b22e6a
Remove ILineInfo type ( #17017 )
2017-07-10 11:35:54 -07:00
Sheetal Nandi
75698a893f
Add project roots in the list of root files even if they arent present on the disk
...
This helps in reporting errors as well as syncing of the configured/external project when the files are created
2017-07-10 11:31:33 -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