Ryan Cavanaugh
a416826b64
Apply safelist exclusions even when include is not specified; recompute project contexts when installer reqs finish
2017-11-16 12:52:30 -08:00
Sheetal Nandi
fe40873664
Merge pull request #19786 from Microsoft/directoryRename
...
Handle the watch when folders are added/removed/renamed in wild card folder
2017-11-07 11:13:47 -08:00
Ron Buckton
3f248ecfe1
Merge pull request #19452 from Microsoft/compareStrings
...
Clean up outdated string comparison logic
2017-11-06 18:48:15 -08:00
Sheetal Nandi
3f34525c81
Handle the folder create/delete in the configured project
2017-11-06 15:22:48 -08:00
Ron Buckton
31c3d444f1
Merge branch 'master' into compareStrings
2017-11-03 23:01:51 -07: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
Andy
fd41521421
Enable 'callable-types' tslint rule ( #19654 )
2017-11-02 17:16:09 -07:00
Ron Buckton
bfba32b71d
Cleanup, merge #19475
2017-10-26 13:49:32 -07:00
Sheetal Nandi
b0a3f9d4ec
Merge pull request #19479 from Microsoft/reloadScriptsWithoutProject
...
On "reload" command, reload contents of file from disk irrespective of project presence and even if file already containing its own text
2017-10-25 15:46:08 -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
3d45f5b0fb
Store the projectRootPath the script info was opened with so that we can reuse it later to search/set file watches
2017-10-24 14:59:29 -07:00
Sheetal Nandi
8fc651870e
Merge pull request #19306 from Microsoft/doNoWriteFilesMultipleTimes
...
Fixes the issue with emit where in same file is emitted multiple times
2017-10-18 16:12:36 -07:00
Andy
0f55f4a701
Use Promise instead of PromiseLike ( #19305 )
2017-10-18 16:04:42 -07:00
Sheetal Nandi
f59241971d
Merge pull request #19138 from Microsoft/configuredProjectRef
...
Handle the configured project lifetime to account for files added to the project after config file gets reloaded
2017-10-18 14:23:25 -07:00
Sheetal Nandi
8fbfb5ffc0
Modify api to emit affected files using callback instead of generating in memory output
...
Also marking few apis introduced during watch improvements changes that are suppose to be internal for now
2017-10-18 13:34:13 -07:00
Sheetal Nandi
f9c901ada7
Use get files affected by internally and hence use file paths as input
2017-10-18 13:34:13 -07:00
Andy
d05443bb1d
Add quickfix and refactoring to install @types packages ( #19130 )
...
* Add quickfix and refactoring to install @types packages
* Move `validatePackageName` to `jsTyping.ts`
* Remove combinePaths overloads
* Respond to code review
* Update api baselines
* Use native PromiseConstructor
* Return false instead of undefined
* Remove getProjectRootPath
* Update api
2017-10-17 15:04:09 -07:00
Sheetal Nandi
734bda833c
Add comments about why we need two methods that return compilerOptions
2017-10-16 13:06:15 -07:00
Sheetal Nandi
3c27e782da
Add getCompilerOptions method to project
...
Fixes #19218
2017-10-16 11:22:49 -07:00
Sheetal Nandi
b68a636348
Fix the way configured project's reference is managed so that the open file
2017-10-12 11:50:24 -07:00
Sheetal Nandi
29ed92e20d
Merge pull request #19118 from Microsoft/caseSensitivityInferredProjectRoot
...
Handles case sensitivity of project root with respect to inferred projects
2017-10-12 11:49:29 -07:00
Sheetal Nandi
4d7c112ef7
Make sure project root paths of inferred projects are canonical when comparing
2017-10-11 15:33:17 -07:00
Sheetal Nandi
7f1ddaf7b8
Merge branch 'master' into configFileDiag
2017-10-10 18:30:59 -07:00
Sheetal Nandi
c4298a3c9d
Merge branch 'master' into configFileDiag
2017-10-10 11:12:07 -07:00
Sheetal Nandi
d71406c866
Merge branch 'master' into resolutionCacheDefensiveChecks
2017-10-10 11:02:46 -07:00
Sheetal Nandi
98d58d6517
Handle project close to release all the script infos held by the project
2017-10-09 20:12:53 -07:00
Sheetal Nandi
6887dbc750
Assert if the script info that is attached to closed project is present
...
Adds assertion to investigate #19003 and #18928
2017-10-09 15:25:01 -07:00
Sheetal Nandi
07ba906594
Handle the case when finishCachingPerDirectoryResolution is not called because of exception
...
Fixes #18975
2017-10-09 14:32:33 -07:00
Sheetal Nandi
03441fe120
Merge branch 'master' into projectRootAsCurrentDirectoryInEmit
2017-10-04 18:48:16 -07:00
Sheetal Nandi
249725d4b7
Do not report config file errors if the file opened isnt from configured project and that project doesnt have the config errors
...
Fixes #16635
2017-10-04 16:11:20 -07:00
Sheetal Nandi
ee05d0eb1c
Compile public api so that all the updates are ensured to be correct
2017-10-04 16:09:16 -07:00
Andy
efa274f722
When emitting all files, emit the changed file first ( #18930 )
...
* When emitting all files, emit the changed file first
* Export interface
2017-10-04 13:30:37 -07:00
Sheetal Nandi
c2427f22d0
Wrap the cancellation token in throttled cancellation token from server
2017-10-03 16:34:46 -07:00
Sheetal Nandi
7f969e8138
Making APIs as internal so that we can enable them after we have figured out final details
2017-10-02 16:27:26 -07:00
Sheetal Nandi
898559b4e5
Merge branch 'master' into watchImprovements
2017-10-02 12:34:34 -07:00
Ryan Cavanaugh
141cd574c7
Merge pull request #18603 from RyanCavanaugh/pluginWork
...
Report external files in initial case for project load
2017-10-02 10:32:04 -07:00
Sheetal Nandi
fad71d3dc6
Use project root as the current directory whenever possible to create the project
2017-09-27 17:19:54 -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
23acff5bc8
Merge branch 'master' into watchImprovements
2017-09-25 16:18:26 -07:00
Ryan Cavanaugh
54070786e4
Report external files in initial case
2017-09-20 10:52:56 -07:00
Ryan Cavanaugh
b9b112738c
Merge pull request #18456 from RyanCavanaugh/pluginWork
...
Properly report external filenames
2017-09-20 10:51:54 -07:00
Ryan Cavanaugh
3bd4c4f847
Properly report external filenames
2017-09-13 15:19:07 -07:00
Sheetal Nandi
4f7c0e5e1c
Simplify event sent on background project update since its anyways just to update the error list
2017-09-12 18:16:31 -07:00
Sheetal Nandi
b536f9dade
Should not remove the reused resolutions in the file when file contents have not changed.
2017-09-12 12:09:06 -07:00
Sheetal Nandi
aea8630ace
Merge branch 'master' into watchImprovements
2017-09-12 10:33:58 -07:00
Sheetal Nandi
fdb104b242
Merge branch 'master' into watchImprovements
2017-09-11 13:49:36 -07:00
Ryan Cavanaugh
1f0e7b02ea
Merge pull request #18093 from RyanCavanaugh/detectBadPlugins
...
Detect bad plugins and work around them
2017-09-11 12:49:10 -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
Andrew Casey
097b094082
Don't get typings for projects with disabled language services
2017-09-07 11:10:12 -07:00
Sheetal Nandi
680994ea42
Better log for update graph and delay operations
2017-09-06 16:34:31 -07:00
Sheetal Nandi
7b2bab5b86
Revert to use refcount to keep track of directory watchers for failed lookup
2017-09-05 15:40:50 -07:00
Sheetal Nandi
9e5e20c80f
Remove the configured project if on next open file if it has no open files instead of immediately when closing last open file
2017-08-31 17:58:09 -07:00
Sheetal Nandi
8d5d4c2a0e
Reduce storage of maps/sets for failed lookups
2017-08-31 15:48:31 -07:00
Sheetal Nandi
2b97b2c04d
Print number of files in the project when printing project
2017-08-31 11:35:55 -07:00
Sheetal Nandi
16cf7c40a8
Watch for the automatic types that included as part of type resolution
2017-08-31 09:13:59 -07:00
Sheetal Nandi
a3b9467d41
Resolve only once in the given directory for name
2017-08-31 09:13:59 -07:00
Sheetal Nandi
254e39306f
Watch failed lookups recursively to reduce number of directory watches
...
Also we dont need to watch type roots any more
2017-08-31 09:13:59 -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
5aafd3f06c
Reduce number of watches for failed lookup locations as part of module resolution
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
Ryan Cavanaugh
67f2716156
Detect bad plugins and work around them
2017-08-28 13:32:20 -07:00
Ryan Cavanaugh
43b8ce664c
Merge
2017-08-22 14:31:49 -07:00
Sheetal Nandi
e71123857c
Add api in builder to get changed files and use it to send project changed event
2017-08-22 11:28:10 -07:00
Sheetal Nandi
e500be28cd
Adding test for #16456 to verify watched directories in case-sensitive and non sensitive file system and fixing caching
2017-08-22 11:21:02 -07:00
Sheetal Nandi
3908325f46
Merge branch 'watchImprovements' into builder
2017-08-21 11:44:09 -07:00
Sheetal Nandi
84b2e23033
More PR feedback work
2017-08-21 11:39:04 -07:00
Sheetal Nandi
8deef58fd6
Remove the unused function from the Project since builder has this logic now.
2017-08-18 12:15:03 -07:00
Sheetal Nandi
e639ceb038
Merge branch 'watchImprovements' into builder
2017-08-18 11:56:12 -07:00
Sheetal Nandi
da0d374b30
Made updates to not expose methods/types that arent needed.
2017-08-18 11:55:47 -07:00
Sheetal Nandi
a99c04e8f9
Make the failedLookuplocations to be readonly array
2017-08-15 10:22:48 -07:00
Sheetal Nandi
6bf9133461
Update to PR feedback
2017-08-14 18:51:05 -07:00
Sheetal Nandi
136b091a4a
Update based on feedback
2017-08-14 16:34:30 -07:00
Sheetal Nandi
f1b1b12604
More work based on feedback
2017-08-14 14:59:51 -07:00
Sheetal Nandi
59d07dc488
Simplified mutate map options
2017-08-14 11:27:02 -07:00
Sheetal Nandi
d0a23bb876
Merge branch 'watchImprovements' into builder
2017-08-12 15:35:30 -07:00
Sheetal Nandi
594482d2c9
Merge branch 'master' into watchImprovements
2017-08-11 20:13:15 -07:00
Sheetal Nandi
8db05c2d85
More work on PR feedback update
2017-08-11 16:37:47 -07:00
Sheetal Nandi
b071a8610c
More work on feedback from PR
2017-08-11 16:10:56 -07:00
Ron Buckton
360dc914c3
Merge pull request #17602 from Microsoft/multiInferredProjects
...
Adds support for inferred project isolation by projectRootPath
2017-08-11 16:06:49 -07:00
Sheetal Nandi
02b8a7de65
More work on PR feedback
2017-08-10 12:40:31 -07:00
Andy
f124e19971
Session: don't return undefined if a response is required ( #17165 )
...
* Session: don't return undefined if a response is required
* Use ReadonlyArray and emptyArray
* Remove inferred return type
2017-08-09 13:46:47 -07:00
Sheetal Nandi
65521bc259
Feedback from the PR
2017-08-08 15:12:02 -07:00
Andy
5141ce751d
Deduplicate unresolvedImports ( #17248 )
...
* Deduplicate unresolvedImports
* Add `isNonDuplicateInSortedArray` helper
2017-08-08 11:02:10 -07:00
Andy
ceae613e4c
Add lint rule to check that Debug.assert
calls do not eagerly interpolate strings ( #17125 )
...
* And lint rule to check that `Debug.assert` calls do not eagerly interpolate strings
* Use more specific 'assert' functions to avoid callbacks
* Respond to PR feedback
2017-08-08 07:56:14 -07:00
Andy
382785a528
Fix logging of module resolution errors ( #17144 )
2017-08-08 07:54:08 -07:00
Sheetal Nandi
7474ba762c
Implementation for invalidating source file containing possibly changed module resolution
2017-08-07 11:31:13 -07:00
Sheetal Nandi
8dc62484ec
Partial implementation for invalidating the program (instead of source file as that would involve more work) so the files are picked up
2017-08-07 11:31:13 -07:00
Sheetal Nandi
d55150cbd3
Implementation of watching the failed lookup locations
2017-08-07 11:31:13 -07:00
Sheetal Nandi
0d5e6c9de5
Use cache for module resolution even in watch mode
2017-08-07 11:31:12 -07:00
Sheetal Nandi
89c61e797c
Modify the api in builder so that it tracks changed files
2017-08-07 11:24:07 -07:00
Sheetal Nandi
9b18f7b61c
Use builder to emit the files from the tsc.js
2017-08-07 11:19:53 -07:00
Sheetal Nandi
6237b221da
Move the builder to compiler directory
2017-08-07 11:19:52 -07:00
Sheetal Nandi
e06847503c
Refactor so that builder handles only source files and program
2017-08-07 11:19:52 -07:00
Sheetal Nandi
ef5935b52c
Initial refactoring so that watch from tsc follows the tsserver projects
2017-08-07 11:19:52 -07:00
Sheetal Nandi
499fabc2c1
Do not update graph in builder if compile on save is not on
2017-08-07 11:04:33 -07:00
Sheetal Nandi
802e283aa7
Refactoring of the builder
2017-08-07 11:04:33 -07:00
Sheetal Nandi
ae87838f45
Merge branch 'master' into watchImprovements
2017-08-07 11:04:11 -07:00
Ron Buckton
fa7f3e85fe
Adds support for inferred project isolation by projectRootPath
2017-08-03 16:03:59 -07:00
Sheetal Nandi
711e890e59
Added | undefined to properties for watching that can be undefined
2017-07-28 14:56:43 -07:00
Sheetal Nandi
c2d0d533c4
dispose the watched wild card directories only if present
2017-07-28 14:56:33 -07:00
Ryan Cavanaugh
5272ec6309
Types Map WIP
2017-07-27 16:07:50 -07:00
Sheetal Nandi
1155c37fcb
Merge branch 'master' into watchImprovements
2017-07-20 09:49:30 -07:00
Andy
c60774b4c6
Make many 'static' variables readonly ( #17306 )
2017-07-20 08:54:47 -07:00
Sheetal Nandi
ff34a77ab6
Merge branch 'master' into watchImprovements
2017-07-17 16:54:28 -07:00
Sheetal Nandi
2439e7affb
Reduce the number of watched config files by watching the chain only in case of inferred root
2017-07-17 16:50:26 -07:00
Andy
555776eb3c
Minor cleanups in builder ( #17208 )
...
* Minor cleanups in builder
* Use enumerateInsertsAndDeletes
2017-07-17 12:24:56 -07:00
Sheetal Nandi
dcbd7b10f1
Combine the logic to find config file as well as the watch.
...
This should speed up the file open scenarios where the file belongs to same configured project as we would use cache to answer those fileExists answers
2017-07-15 22:26:10 -07:00
Sheetal Nandi
0572b15adc
Instead of watching directories, watch tsconfig files of inferred project root
2017-07-15 19:11:27 -07:00
Sheetal Nandi
71d79c62d0
Some refactoring to combine files removal from inferred project
2017-07-15 11:37:32 -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
Sheetal Nandi
e568976239
Allows the delayed update graph and project structure which helps in batching the updates when there are multiple files added/removed/changed
2017-07-13 11:32:40 -07:00
Sheetal Nandi
8fedcf78c7
TODOs for the scheduling update graph and referesh projects
2017-07-12 19:34:01 -07:00
Andy
2368847f6b
Indent filesToString ( #17130 )
2017-07-12 10:42:05 -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
Sheetal Nandi
19a6a003f5
Cache the read directory results so that it doesnt end up reading it all the time
2017-07-11 17:50:51 -07:00
Sheetal Nandi
48c651317e
Update types instantly when the type root changes.
2017-07-11 14:18:56 -07:00
Sheetal Nandi
62871cc0f9
Only update file list when there are changes in the watched directories
2017-07-11 14:10:48 -07:00
Sheetal Nandi
df6f75bc70
Optimize wildcard watchers and config directory watching as now we have missing file watching as well
...
We dont need to explicitly watch config file directory as it will be watched:
- if there was no files specified, in wild card directories
- if there were files specified as missing file (if the file wasnt present)
2017-07-10 11:31:33 -07:00
Sheetal Nandi
2a63827891
Update the todo list
2017-07-10 11:31:33 -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
Sheetal Nandi
ae33ae894d
Restructure updating the configured project from disk and actual project update
...
Also reload the projects when extra extension in the host change
2017-07-10 11:31:32 -07:00
Sheetal Nandi
21ad26b6ff
When opening a file, if it is using existing project, there is no need to update the project by re-reading the config file
...
This will improve the opening file perf for file opens from same config project
2017-07-10 11:31:32 -07:00
Andy
17578e8a5d
Use Map<true> for sets ( #16972 )
2017-07-07 10:34:36 -07:00
Andrew Casey
569ecabb0a
Address PR feedback
...
Make Program.getMissingFilePaths required
Assume getMissingFilePaths always returns a defined value
Make getMissingFilePaths internal
Replace nullable-bool with enum
Update type to reflect possibility of undefined
Use deepEqual to simplify tests
Make condition const
Don't bother cleaning up map before freeing it
Switch from foreach to for-of to simplify debugging
Use a Map, rather than a FileMap, to track open FileWatchers
Fix compilation errors
Introduce and consume arrayToSet
Fix lint warnings about misplaced braces
Delete incorrect comment
Delete from map during iteration
Eliminate unnecessary type annotations
2017-06-29 11:29:19 -07:00
Andrew Casey
6d200bffbd
Watch files through the host
...
Call `this.projectService.host.watchFile`, rather than
`ts.sys.watchFile` so that it gets mocked correctly in the unit tests.
Repair two failing tests.
2017-06-29 10:39:32 -07:00
Andrew Casey
a39e969338
Clean up file watchers on project close
2017-06-29 10:39:31 -07:00
Andrew Casey
4863ada22c
Track missing files
...
1. Expose missing files from the `Program`.
2. In `tsc --watch` and `tsserver`, add file watchers to missing files.
3. When missing files are created, schedule compilation (tsc) or refresh
the containing projects (tsserver).
2017-06-29 10:39:31 -07:00
Andy
9013665e22
Replace FileMap with Map where there is no keyMapper ( #16724 )
...
* Replace FileMap with Map where there is no keyMapper
* Remove `toKey` and use `keyMapper` directly
2017-06-28 13:15:34 -07:00
Sheetal Nandi
09f0b3471a
Merge branch 'master' into ownJsonParsing
2017-06-15 09:59:37 -07:00
Sheetal Nandi
187febd10f
Merge pull request #16494 from Microsoft/dontCreateScriptInfosWithFileExistsAndReadFile
...
Fixes the memory leak because of project and its corresponding script info even after project is removed
2017-06-14 15:17:25 -07:00
Sheetal Nandi
1bf1209f7e
Cleanup script infos that are not part of any project when the project is closed or inferred projects are refreshed
...
Also dispose some pointers so that the closures get disposed with project and script infos
2017-06-12 16:52:36 -07:00
Andy
09321b3834
Convert Extension to a string enum ( #16425 )
2017-06-09 19:32:44 -07:00
Sheetal Nandi
c4ad151a46
Merge branch 'master' into ownJsonParsing
2017-06-05 17:01:09 -07:00
Andy
70564110c0
Make use of array helper functions ( #16226 )
...
* Make use of array helper functions
* Remove unnecessary 'ts.'
2017-06-05 14:11:43 -07:00
Ryan Cavanaugh
6f42f9ae3f
Merge pull request #15308 from chuckjaz/external-files
...
Allow plugins to provide a list of external files.
2017-06-05 13:14:25 -07:00
Sheetal Nandi
d680720f6d
Merge branch 'master' into ownJsonParsing
2017-06-05 10:28:23 -07:00
Andrew Casey
95b5a691d4
Guess 1: null check is missing; Guess 2: ternary does the appropriate check
2017-05-31 16:30:27 -07:00
Sheetal Nandi
8d771ca044
Merge branch 'master' into ownJsonParsing
2017-05-30 13:03:23 -07:00
Sheetal Nandi
7bd9e092ac
Make configFile on compiler options as non enumerable
2017-05-26 17:15:57 -07:00
Andy
d052bb83ca
Add project telemetry ( #16050 )
...
* Add project telemetry
* Respond to some PR comments
* Wrap event in a TelemetryEvent payload
* Replace paths with empty string instead of removing them entirely
* Add "version" property to payload
* Add telemetry for typeAcquisition settings
* Add "files", "include", "exclude", and "compileOnSave"
* Convert typingsOptions include and exclude to booleanss
* Add "extends", "configFileName", and "projectType"
* configFileName: Use "other" instead of undefined
* Add "languageServiceEnabled" telemetry
2017-05-25 13:30:27 -07:00
Sheetal Nandi
f1ea38d127
Merge branch 'master' into ownJsonParsing
2017-05-24 12:46:29 -07:00
Andy Hanson
34bb955655
Use orderedRemoveItem
instead of remove
helper
2017-05-24 08:42:02 -07:00
Sheetal Nandi
7cf93f94d4
Report config file errors as part of syntactic diagnostic on the file
2017-05-23 15:56:20 -07:00
Ryan Cavanaugh
ab3ffa22da
Add flag to allow local plugin loading
2017-05-17 19:52:57 -07:00
Sheetal Nandi
ea60e9966d
Get configFiles as part of file names
2017-05-15 16:07:08 -07:00
Chuck Jazdzewski
785c281fd6
Allow plugins to provide a list of external files.
...
The list of the plugin's external files and request made to
a file in the list will be routed to an instance of the plugin.
2017-04-25 10:11:05 -07:00
Arthur Ozga
0ea1b82a85
test module reuse
2017-04-20 18:55:15 -07:00
Arthur Ozga
cbbf6f8847
Merge branch 'master' into tripleEquals
2017-04-17 15:57:51 -07:00
Ryan Cavanaugh
d31364c09c
Load global plugins even if no local ones exist
2017-04-13 16:17:35 -07:00
Ryan Cavanaugh
19ddc1e94a
Avoid loading duplicate local+global plugins
2017-04-13 16:17:34 -07:00
Ryan Cavanaugh
3cc379c3c0
Fix merge
2017-04-13 16:16:57 -07:00
Arthur Ozga
7e03429a8e
enforce triple-equals
2017-04-04 15:51:13 -07:00
Ryan Cavanaugh
71e296042a
Apply the 20 MB non-TS source limit across all projects
...
(cherry picked from commit cc8ce5975c
)
(cherry picked from commit de8fb9e833
)
2017-03-24 11:58:20 -07:00
Andy Hanson
d58cfa238b
Merge branch 'master' into lint_better
2017-03-06 06:20:48 -08:00
Andy Hanson
8371eb6401
Update tslint to latest
(next
is still on 4.3) and lint for BOM
2017-03-01 10:37:13 -08:00
Andy Hanson
5ea43c8ba3
Merge branch 'master' into semicolon
2017-03-01 08:09:59 -08:00
Ryan Cavanaugh
87b780d641
Merge pull request #12231 from RyanCavanaugh/ls-proxy
...
Language service proxy
2017-02-14 14:16:23 -08:00
Ryan Cavanaugh
aec310996c
Language service extensibility
2017-02-14 13:35:16 -08:00
Andy Hanson
91421c8dbc
Fix "semicolon" lint rule options (was not enabled)
2017-02-10 12:24:10 -08:00
Jason Ramsay
3480fcc69a
Always set allowNonTsExtensions for allowJs
2017-02-10 11:13:12 -08:00
Andy Hanson
30462e11ef
Merge branch 'master' into map5
2017-01-11 12:24:47 -08:00
Zhengbo Li
9e127967b6
Merge pull request #11603 from zhengbli/11116
...
Set maxNodeModuleJsDepth for inferred projects
2017-01-10 12:17:43 -08:00
Andy Hanson
8c5afd7f54
Merge branch 'master' into map5
2017-01-06 13:03:34 -08:00
Joel Day
3a9a136e51
Changes based on feedback.
...
Whitespace cleanup.
Switching back to protocol.ts and reenabling stripInternal.
Marking internal symbols indirectly exported by dependencies of protocol.ts as internal.
2017-01-04 15:56:16 -08:00
zhengbli
8ac22ecbb0
Change the design to track addRoot and removeRoot
2016-12-29 17:00:04 -08:00
zhengbli
09fc3b3a18
address cr feedback
2016-12-29 10:26:34 -08:00
zhengbli
bf5faa04a6
Use inherited setCompilerOptions for inferred project
2016-12-28 14:46:58 -08:00
Andy Hanson
932eaa3f90
Rename and consolidate map iteration helpers
2016-12-28 09:16:38 -08:00
Andy Hanson
39c19a74ea
Inline keysOfMap
and valuesOfMap
.
2016-12-28 09:05:52 -08:00
zhengbli
a8a1a826b3
set the option when creating inferred projects
2016-12-28 08:15:21 -08:00
zhengbli
8648239e64
Merge branch 'master' of https://github.com/Microsoft/TypeScript into 11116
2016-12-28 04:07:04 -08:00
Andy Hanson
9e33585a80
Merge branch 'master' into map5
2016-12-27 12:56:05 -08:00
Vladimir Matveev
1045f3bffb
detach root files on project close if project language service is disabled ( #13077 )
2016-12-20 19:25:25 -08:00
Vladimir Matveev
e68161adfa
when language service is disabled - build program using only open files ( #12809 )
2016-12-13 13:21:32 -08:00
Andy Hanson
55fc62bc45
Merge branch 'master' into map5
2016-12-12 07:50:09 -08:00
Jason Ramsay
5829ca82d0
use localUse local updatedFileNames - this way we'll know that set of names is definitely cleared
2016-12-09 14:44:08 -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
7a11453e35
Fix merge issues
2016-12-07 15:45:41 -08:00
Jason Ramsay
1c3689edef
Merge branch 'master' into tsconfigMixedContentSupportRedux
2016-12-07 15:33:42 -08:00
Jason Ramsay
64dad30ca0
Reduced version from CR comments
2016-12-07 15:31:46 -08:00
zhengbli
f6f866e88c
Reset the noEmitForJsFiles option when updating compiler options ( #12570 )
2016-11-29 23:30:14 -08:00
Vladimir Matveev
c05bf3b0a2
respect casing when comparing names of config files ( #12474 )
2016-11-23 12:34:00 -08:00
Jason Ramsay
5a9451ae23
Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable
2016-11-18 18:14:32 -08:00
Jason Ramsay
464bc0e9e0
Merge branch 'master' into tsconfigMixedContentSupportRedux
2016-11-18 16:15:15 -08:00
Jason Ramsay
7dd30dbfd4
tsconfig.json mixed content support
2016-11-18 15:51:28 -08:00
Vladimir Matveev
a2b13d05f2
pass project name as a constructor parameter ( #12333 )
2016-11-17 15:12:32 -08:00
Vladimir Matveev
36511838a4
allow getting compiler options diagnostics when language service is disabled
2016-11-14 10:41:48 -08:00
Vladimir Matveev
3b09010c7c
enable syntactic features if project size exceeded the limit, send events when state of language service changes
2016-11-11 17:35:11 -08:00
Zhengbo Li
4dc58dde38
Exclude js files in non-configured projects compile-on-save emitting ( #12118 )
...
* Exclude js files in non-configured projects CoS emitting
* remove unnecessary method
2016-11-10 14:12:24 -08:00
Vladimir Matveev
9e3d6efb19
reduce set of files being watched, increase polling interval ( #12054 ) ( #12092 )
2016-11-07 21:13:11 -08:00
Zhengbo Li
1c004bf317
Port #12027 , #11980 and #11932 to master ( #12037 )
...
* add test for the fix for overwrite emitting error
* cr feedback
2016-11-03 21:13:41 -07:00