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
Ryan Cavanaugh
e532f53189
Merge pull request #25531 from RyanCavanaugh/fix25527
...
Don't crash when an implicit rootDir constraint is violated under composite: true
2018-07-09 17:51:17 -07:00
Ryan Cavanaugh
72f0789908
Don't crash when an implicit rootDir constraint is violated under composite:true
...
Fixes #25527
2018-07-09 15:41:15 -07:00
Sheetal Nandi
f941226011
Do not watch modules that get resolved by ambient modules
2018-07-09 12:05:29 -07:00
Nathan Shively-Sanders
10b174abc1
Fix lineText in references command ( #25494 )
...
Previously it was just the identifier text. Now it is back to the full
text of the line.
2018-07-06 16:23:11 -07:00
Klaus Meinhardt
25610de38a
Merge branch 'master' into factory-export-default
2018-07-06 08:40:12 +02: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
Klaus Meinhardt
f4470cd342
createArrowFunction: parenthesize comma sequence
...
Fixes : #25366
2018-07-04 20:47:06 +02:00
Klaus Meinhardt
755dc83880
Merge branch 'master' of github.com:Microsoft/TypeScript into factory-export-default
2018-07-04 20:34:04 +02:00
Daniel Rosenwasser
e4145e3017
Merge pull request #25342 from ajafff/factory-leftmost-expression
...
getLeftmostExpression: handle AsExpression and NonNullExpression
2018-07-03 18:02:04 -07:00
Sheetal Nandi
4175773637
Fix typo to fix logging when built with --watch --diagnostics
2018-07-03 13:06:06 -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
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
Klaus Meinhardt
c39da7b0f4
remove unnecessary qualifier
2018-07-02 18:02:46 +02:00
Klaus Meinhardt
3a84c028b5
add tests
2018-07-02 17:58:38 +02:00
Klaus Meinhardt
b8d7a2f763
add tests
2018-07-02 17:44:32 +02:00
Andy
ded446573a
ChangeTracker: Combine deleteDeclaration, deleteNode, and deleteNodeInList ( #25276 )
...
* ChangeTracker: Combine deleteDeclaration, deleteNode, and deleteNodeInList
* Change name
* Update API (#24966 )
2018-06-29 19:53:32 -07:00
Daniel Rosenwasser
6f06fd0d46
Use a more direct error.
2018-06-28 16:06:55 -07:00
Daniel Rosenwasser
950593b669
Merge pull request #25251 from Microsoft/betterAlwaysTrueFalseErrors
...
Better "always true/false" errors
2018-06-27 21:57:25 -07:00
Daniel Rosenwasser
1f8ad2d318
indicates -> indicate
2018-06-27 17:20:24 -07:00
Andy
16f045b7f5
Add test for goto-definition with project references ( #24867 )
...
* Add test for goto-definition with project references
* Assert that the declaration file is what we emit
2018-06-27 15:56:04 -07:00
Andy
13bc46d970
getTokenAtPosition: default includeJsDocComment to true ( #25015 )
...
* getTokenAtPosition: default includeJsDocComment to true
* Update API (#24966 )
* Flip meaning of parameter
* Update API (#24966 )
* Remove all `ignoreJsDocComment` uses (fixes #25162 )
2018-06-26 16:20:44 -07:00
Daniel Rosenwasser
4ca7aa4c37
Update error code expectations.
2018-06-26 15:54:06 -07:00
Daniel Rosenwasser
62e1e9d159
semanitc -> semantic
2018-06-26 15:52:52 -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
Nathan Shively-Sanders
133bb9f78d
Add name to jsDocParsing link tag test ( #25229 )
2018-06-26 10:50:59 -07:00
Ron Buckton
78bf10ad80
Merge pull request #25004 from Microsoft/trackFailedTests
...
Adds failed test tracking
2018-06-25 16:55:43 -07:00
Nathan Shively-Sanders
99ebcd788f
Treat link tag as comment ( #25206 )
...
* First attempt at parsing. Doesn't work
But my machine is dying, so this is an emergency commit.
* Parsing sort of works
But it's not right yet; the test I added fails. See the TODO I added.
* Parse link tag as comment
2018-06-25 15:27:49 -07:00
Ron Buckton
52fa900b5c
Merge branch 'master' into trackFailedTests
2018-06-25 11:26:08 -07:00
Andy
878bf80a48
Make GetEditsForFileRenameRequestArgs not extend FileRequestArgs ( #25052 )
...
* Make GetEditsForFileRenameRequestArgs not extend FileRequestArgs
* Code review: check new location first, and use scriptInfo.getDefaultProject()
* Remove changes to e getDefaultProjectForFile (now #25060 )
* Undo API changes (#24966 )
* Combine edits from all projects (fixes #25052 )
* Update API (#24966 )
* Ignore orphan projects or projects with language service disabled
2018-06-25 11:00:51 -07:00
Andy
38a60ac59b
Fix --strictNullChecks error with getDefaultProjectForFile ( #25060 )
...
* Fix --strictNullChecks error with getDefaultProjectForFile
* Mark methods internal
2018-06-22 11:22:34 -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
dangoo
2ef73ab4fa
Fix test messages to mention esnext.intl
2018-06-19 22:58:26 +02:00
Ryan Cavanaugh
a72fe5dd8e
Add a testcase
2018-06-18 16:44:25 -07:00
Ron Buckton
0944c29a47
Adds failed test tracking
2018-06-18 13:25:29 -07:00
Ron Buckton
23c7571e27
Merge branch 'master' into parallelAsyncTests
2018-06-15 13:26:27 -07:00
Ryan Cavanaugh
73844ac565
Accept baseline
2018-06-15 11:10:54 -07:00
Wesley Wigham
640af3f75e
Introduce related spans into tsserver protocol ( #24548 )
...
* Introduce related spans into tsserver protocol
* Incorporate pretty output, implement esModuleInterop related span
2018-06-15 10:54:36 -07:00
Ryan Cavanaugh
03c3c9dda1
Merge branch 'master' into esau-squash
2018-06-14 13:23:15 -07:00
Sheetal Nandi
34b9c4dbad
Merge pull request #24959 from Microsoft/moduleResolutionWithoutExtensionWithJson
...
Handle the json extension when ResolvedModule result is json file
2018-06-14 13:09:29 -07:00
Sheetal Nandi
8e16bfffc2
Handle the json extension when ResolvedModule result is json file
...
Fixes #24932
2018-06-14 09:53:06 -07:00
Ryan Cavanaugh
1bbe6610a4
Merge branch 'master' into esau-squash
2018-06-13 15:35:18 -07:00
Sheetal Nandi
cd97adbf3b
Do not watch the parent folders recursively if not needed.
...
This avoids watching folders like parent folder of the project root just to watch files created in the folder
Fixes Microsoft/vscode#51139
2018-06-13 14:37:58 -07:00
Sheetal Nandi
46e7ccae7c
Test for amd resolution setting the recursive directory watcher in the parents of root folder
2018-06-13 14:16:53 -07:00
Ryan Cavanaugh
73bb89f24f
Fix input file path
2018-06-13 14:00:37 -07:00
Ron Buckton
e756182e21
PR Feedback
2018-06-13 10:46:38 -07:00
Ryan Cavanaugh
ed0b90c978
Issue a better error
2018-06-13 10:44:22 -07:00