36 Commits

Author SHA1 Message Date
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
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
Ron Buckton
131890a781 Add vfs diff, update tsbuild test 2018-06-13 00:08:36 -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
Ryan Cavanaugh
066b191982 Collapse core/compiler/parser into parser 2018-06-11 17:07:58 -07:00
Ryan Cavanaugh
3432468ea9 Merge and baseline accept 2018-06-11 15:04:19 -07:00
Ryan Cavanaugh
bb4872787c Merge branch 'master' into projzilla 2018-06-11 13:36:31 -07:00
Ryan Cavanaugh
ab10b86205 Almost working? 2018-06-10 19:28:38 -07:00
Ryan Cavanaugh
3b4b7dc125 Fix unittests config 2018-06-10 15:10:10 -07:00
Ryan Cavanaugh
336c37662d Projzilla phase 1 2018-06-09 16:48:08 -07:00