Wesley Wigham
d58b1f664b
mark error type in baselines very not-aggressively ( #26346 )
2018-08-17 15:45:14 -07:00
Andy
60b8f8c206
Remove unnecessary callback in runBaseline ( #26500 )
2018-08-17 12:51:30 -07:00
Andy
1a05f13aef
moveToNewFile: Don't remove empty named imports ( #26265 )
2018-08-07 12:54:46 -07:00
Andy
794f3a5e76
goToTypeDefinition: Go to function return type ( #25952 )
...
* goToTypeDefinition: Go to function return type
* Add more tests
* If a function returns 'void' or some other type with no definition, just return the function definition.
2018-08-07 12:54:19 -07:00
Andy
1599ee2805
Always return a defined result from getTypeFromTypeNode ( #26108 )
2018-07-31 17:28:15 -07:00
Andy
b895614c55
Avoid trying to write the type of non-values ( #25626 )
2018-07-31 15:02:41 -07:00
Sheetal Nandi
7bd1c8e6aa
Merge pull request #25811 from Microsoft/subDirectoryOfRootWatches
...
Watch subdirectories in project root instead of watching project root…
2018-07-31 11:51:16 -07:00
Andy
d40d54984e
Support deleting all unused type parameters in a list, and deleting @template tag ( #25748 )
...
* Support deleting all unused type parameters in a list, and deleting @template tag
* Support type parameter in 'infer'
2018-07-27 11:55:31 -07:00
Wesley Wigham
23eb591e01
Lookup files by resolved Path and not by fileName in sourcemapDecoder when querying program ( #25908 )
...
* Check if the file returned by the program actually refers to the same file as we intend
* Simplify
2018-07-24 15:44:22 -07:00
Wesley Wigham
59854bbd55
Inspect all possible module paths when looking for the best one to create a specifier with ( #25850 )
...
* Inspect all possible specifier paths when looking for the best one
* Add missing secondary option from test
2018-07-24 13:56:21 -07:00
Sheetal Nandi
4ee3f2b3ea
Watch subdirectories in project root instead of watching project root so as to avoid watching excluded directories that are not part of config file
...
Fixes #25629 and Microsoft/vscode#51139
2018-07-19 17:21:50 -07:00
Andy
d92c26db69
Add test that getEditsForFileRename respects UserPreferences ( #25745 )
...
* Add test that getEditsForFileRename respects UserPreferences
* Test quotePreference
2018-07-17 17:05:35 -07:00
Andy
854462d383
Fix formatting at trailing comma ( #25706 )
2018-07-17 15:21:35 -07:00
Andy
e25a23bb3c
Fix Buffer.from uses to handle node 5.4.1 bug ( #25659 )
2018-07-13 17:08:25 -07:00
Andy
52486ae362
Improve isPossiblyTypeArgumentPosition ( #25043 )
...
* Improve isPossiblyTypeArgumentPosition
* Update API (#24966 )
* Handle new Type<Type<
* Add test for `new C < C<`
2018-07-11 11:15:04 -07:00
Sheetal Nandi
821ebcb529
Merge branch 'master' into cacheRecursiveDirectoryWatchers
2018-07-10 15:08:14 -07:00
Andy
e9e5ebee73
getEditsForFileRename: Handle all projects and source-mapped files ( #25522 )
...
* getEditsForFileRename: Handle all projects and source-mapped files
* Update API (#24966 )
* Use areEqual
2018-07-09 17:58:02 -07:00
Daniel Rosenwasser
fe2baac33f
Merge pull request #25422 from Microsoft/actualSignatureHelpTriggers
...
Actual signature help trigger filtering
2018-07-08 22:09:35 -07:00
Sheetal Nandi
9c6c333b67
Caches the recursive directory watchers so we do not have to traverse and recreate more children watches
...
Helps with #25018
2018-07-05 16:06:17 -07:00
Andy
64555aa6a9
navigateTo: Collect results from all referenced projects. ( #25283 )
...
* navigateTo: Collect results from all referenced projects.
* Don't use project references, just source maps
* Move more code to session
* Test when implementation file is deleted
* Use tsserver tests instead of fourslash tests to ensure session is used
* Support find-all-references
* Restore fourslash tests
* Update emit baselines (added missing newline)
* Support rename
* @weswigham code review
* Don't open/close files
* Avoid growing `toDo` too eagerly
* @sheetalkamat code review
* Also get symlinked projects for originalLocation
* Update API (#24966 )
* More @sheetalkamat code review
* Remove unnecessary test
* Update API (#24966 )
2018-07-05 15:39:03 -07:00
Wesley Wigham
5b92678285
Optimize sourcemap application more ( #25425 )
...
* Optimize sourcemap application more
* Remove test-only memory hog sourceMapDecodedMappings field
* Update for style, remove unused function that triggers warnings in node 10
* Avoid all raw buffer constructor calls
* Small TDZ fix
2018-07-05 15:12:10 -07:00
Daniel Rosenwasser
53a0f2374a
Remove 'name' property which was invalid.
2018-07-03 17:05:10 -07:00
Andy
064ecd449e
Support code-fix-all for importFixes ( #25137 )
...
* Support code-fix-all for importFixes
* Change description
* Update API (#25283 )
2018-07-03 15:19:15 -07:00
Andy
304d45d833
Canonicalize path before calling startsWith ( #25364 )
...
* Canonicalize path before calling `startsWith`
* More specific type for sourceDirectory, and add fourslash test
* Update API (#24966 )
2018-07-03 11:23:19 -07:00
Daniel Rosenwasser
e13fd0c568
Merge pull request #24915 from Microsoft/triggerSignatureHelpIArdlyKnowSignatureHelp
...
Trigger characters in signature help
2018-07-02 23:36:57 -07:00
Andy
efc1b7df08
More thoroughly test navigateTo ( #25239 )
...
* More thoroughly test navigateTo
* Fix #25233 and #25237
* Update API (#24966 )
2018-07-02 19:25:27 -07:00
Daniel Rosenwasser
e56a5c1b35
Lints.
2018-07-02 16:40:08 -07:00
Daniel Rosenwasser
9651c4231e
Account for trigger reasons, as implemented by Roslyn.
2018-07-02 16:04:48 -07:00
Daniel Rosenwasser
c046958752
Merge remote-tracking branch 'origin/master' into triggerSignatureHelpIArdlyKnowSignatureHelp
2018-07-02 15:36:41 -07:00
Sheetal Nandi
e0d5363380
Merge branch 'master' into openSameFileWithDifferentText
2018-07-02 12:16:54 -07:00
Wesley Wigham
7084e6cf47
Adds related spans and error grouping for duplicate identifier errors ( #25328 )
...
* Adds related spans and error grouping for duplicate identifier errors
* Trim trailing whitespace
* Record related info in error baselines
* Make error more whimsical
2018-07-02 10:47:52 -07:00
Andy
ab9e913af3
getEditsForFileRename: Test both before and after the rename ( #25074 )
2018-06-26 16:55:51 -07:00
Sheetal Nandi
b155a71e70
Retain the version information of script infos when they are deleted
...
This helps in having to not restart the versioning,
which could potentially have same version but different contents and project could confuse with it
2018-06-26 15:03:35 -07:00
Andy
f52c881ab1
Improve verify.renameLocations ( #25192 )
2018-06-25 12:41:12 -07:00
Andy
b3a6428186
Fix completions trigger character on JSX opening tag ( #25167 )
2018-06-25 11:10:38 -07:00
Andy
806a661be3
Add refactor to convert named to default export and back ( #24878 )
...
* Add refactor to convert named to default export and back
* Support ambient module
* Handle declaration kinds that can't be default-exported
* Update API (#24966 )
2018-06-25 10:34:24 -07:00
Ron Buckton
272e5554c8
Merge branch 'master' into gulpProjectRefs
2018-06-21 10:55:35 -07:00
Sheetal Nandi
f506b28e95
Mark the declarations visible correctly when emit is disabled but asked to emit declarations for watch mode
...
Fixes #25068
2018-06-20 12:28:50 -07:00
Andy
7f553f4f93
refactorConvertToGetAccessAndSetAccess: Don't trigger on leading trivia ( #25054 )
...
* refactorConvertToGetAccessAndSetAccess: Don't trigger on leading trivia
* Update API (#24966 )
2018-06-19 13:46:03 -07:00
Ron Buckton
891b15f60a
Update gulpfile to support project references
2018-06-18 22:45:13 -07:00
Ryan Cavanaugh
d02fe4ac44
Merge branch 'master' into esau-squash
...
# Conflicts:
# tests/baselines/reference/api/typescript.d.ts
2018-06-15 10:40:46 -07:00
Ron Buckton
e62a5edc94
Fix off-by-one error with sourcemaps
2018-06-14 22:54:31 -07:00
Ryan Cavanaugh
03c3c9dda1
Merge branch 'master' into esau-squash
2018-06-14 13:23:15 -07:00
Sheetal Nandi
fe260588fa
Handle package.json, jsconfig.json, tsconfig.json in the getDiagnostics of fourslash tests
2018-06-14 11:51:18 -07:00
Ryan Cavanaugh
1bbe6610a4
Merge branch 'master' into esau-squash
2018-06-13 15:35:18 -07:00
Ron Buckton
c4f1d7755d
add vfs snapshot capability for future tests
2018-06-13 11:24:16 -07:00
Ron Buckton
e756182e21
PR Feedback
2018-06-13 10:46:38 -07:00
Ron Buckton
131890a781
Add vfs diff, update tsbuild test
2018-06-13 00:08:36 -07:00
Daniel Rosenwasser
5e3c96bb9a
Implemented support for trigger characters in signature help.
2018-06-12 15:48:40 -07:00
Wesley Wigham
61fb222cd2
Use symlinks when looking for module names for declaration emit ( #24874 )
...
* fix symlink tag, support arbitrary (ie, directory) links via @link
Introduce indirect symlink lookup to specifier deriver
Use fileset, move exec
vfs path resolution :shakes fist:
Apply files symlink relative to dirname
Use directory function
* Accept really bad baseline updates
2018-06-12 12:52:44 -07:00