Commit Graph
20075 Commits
Author SHA1 Message Date
Andrew Casey c9803f2871 Merge pull request #20174 from RyanCavanaugh/fixTypingsInstallerAgain_2.6
Always send a response to installTypings even if all types are cached
2017-11-27 10:47:02 -08:00
Andrew Casey 72afabeb7a Merge pull request #20228 from amcasey/GH20084_26
Update project on PackageInstalledResponse
2017-11-22 13:40:18 -08:00
Andrew Casey e9784eb229 Update public API baseline 2017-11-22 10:33:16 -08:00
Andrew Casey 1880b147b4 Make branch-specific corrections 2017-11-22 10:32:12 -08:00
Andrew Casey 34b9d090f3 Update project on PackageInstalledResponse
As with `SetTypings`, new typings have been installed so the project
should be updated and the client should be notified (via event).

Changed PackageInstalledResponse from "event" to "action" for the sake
of explicitness.

Fixes #20084.
2017-11-22 10:23:29 -08:00
Mohamed Hegazy 54426a14f4 Update LKG v2.6.2 2017-11-22 09:55:48 -08:00
Ryan Cavanaugh c179722a60 Always send a response to installTypings even if all types are cached 2017-11-20 21:46:40 -08:00
Andy 6513bed4d3 Bundle fileName with CodeActionCommand (#19881) (#20118)
* Bundle fileName with CodeActionCommand

* Update test

* Fix API tests

* Add new overloads in services

* Fix overload

* Update API baselines
2017-11-17 18:56:39 -08:00
Bill Ticehurst 19b0a438e8 Merge pull request #20114 from Microsoft/dev/billti/port20109to2.6
Port #20109 to release-2.6
2017-11-17 15:35:57 -08:00
Bill Ticehurst ab1671a323 Moved minified file exclusion 2017-11-17 14:34:48 -08:00
Bill Ticehurst 49b3dbda53 Fixed internal safelist 2017-11-17 14:34:45 -08:00
Ryan Cavanaugh c2a3837578 Merge pull request #20079 from RyanCavanaugh/port20048
Port #20048 to release-2.6
2017-11-17 09:59:04 -08:00
Ryan Cavanaugh b9a548cd13 Squash port of PR #19542 2017-11-16 14:49:25 -08:00
Ryan Cavanaugh f2931a1320 Port PR #20048 2017-11-16 14:19:41 -08:00
Andy df57cdc2d6 Have CompletionEntryDetails source use a relative path (#19917) (#20022)
* Have CompletionEntryDetails source use a relative path

* Use getCanonicalFileName from services Instead of creating a new one
2017-11-15 07:06:13 -08:00
Benjamin Lichtman adfd5d3488 Porting #19249 and #19968 to release-2.6 (#20002)
* Add support for JSX fragment syntax

* Update tests

* Add baselines

* Update API baselines

* Respond to CR

* Respond to CR

* Respond to CR

* Remove unnecessary type annotation

* Error when using fragment with jsxFactory

* Added test for preventing fragment with jsxFactory

* Extract JSXChildren checking

* Add test

* Update baseline
2017-11-14 10:09:52 -08:00
Sheetal Nandi 82f7bcb74e Merge pull request #19931 from Microsoft/constEnumWithWatch
[release-2.6] Ensure that enum member value is computed before using it
2017-11-10 16:54:09 -08:00
Sheetal Nandi a2c1385f2e Ensure that enum member value is computed before using it
Fixes #19898
2017-11-10 14:59:07 -08:00
Andy 92ade591df For import completion of default import, convert module name to identifier (#19875) (#19883)
* For import completion of default import, convert module name to identifier

* Suggestions from code review
2017-11-09 13:55:24 -08:00
Andy c56a8224e5 Allow applyCodeActionCommand to take an array (#19870) (#19884)
* Allow applyCodeActionCommand to take an array

* Use this.host.newLine
2017-11-09 13:55:13 -08:00
Sheetal Nandi 047854d27d Merge pull request #19817 from Microsoft/directoryRename
[release-2.6] Handle the watch when folders are added/removed/renamed in wild card folder
2017-11-07 13:08:28 -08:00
Sheetal Nandi 012dedcfa3 Handle the folder create/delete in the configured project 2017-11-07 11:15:16 -08:00
Sheetal Nandi 4854d98f14 Add test case when inside wild card watched directory folder is renamed 2017-11-07 11:15:00 -08:00
Andy 618efc0b1f Add hyphen in completionEntryDetails-full (#19808) (#19814) 2017-11-07 10:17:44 -08:00
Andy 45594d11db Fix assertion -- an import may come from a require() call (#19667) (#19810)
* Fix assertion -- an import may come from a require() call

* Add test for `import("./a")`
2017-11-07 09:17:55 -08:00
Sheetal Nandi aaeb9b0c61 Merge pull request #19779 from Microsoft/fileNotOnDisk
[release-2.6] Handles script infos that dont exist on the disk and are opened with non-rooted disk path
2017-11-06 15:25:44 -08:00
Sheetal Nandi 6baf1680af Add testcase for non existent file without absolute path when opened with/without projectRoot 2017-11-06 12:27:11 -08:00
Sheetal Nandi 2cb14e5e8e Handle the script infos that are opened with non rooted disk path
Fixes #19588
2017-11-06 12:26:36 -08:00
Sheetal Nandi 11d46130ae Test where script info path and program path differ because of current directory 2017-11-06 12:23:07 -08:00
Mohamed Hegazy d61f9f1c14 Update LKG 2017-11-06 11:36:52 -08:00
Mohamed Hegazy 138accd1ac Port generated lib files (#19772) 2017-11-06 10:31:38 -08:00
Andy e2c6db2e20 For getCompletionsAtPosition, require a flag to provide completions with code actions (#19687) (#19731)
* For getCompletionsAtPosition, require a flag to provide completions with code actions

* Change name

* Increase API version

* Update API baselines

* Add comment

* Update API baseline
2017-11-03 16:38:35 -07:00
Andy c074c77348 Add CompletionDetailsFull request (#19689) (#19727)
* Add CompletionDetailsFull request

* Update API baselines

* Make internal
2017-11-03 15:54:42 -07:00
Mohamed Hegazy 2da8014efa Port master into release-2.6 11/2 (#19699)
* Port generated lib files (#19690)

* Handle cases when npm install doesnt get triggered with the actual file added
Fixes #19597

* Add regression test for #19395

Thanks to @mjbvz for finding it and @sandersn for reducing it.

* Correct typo - pass correct argument

All of the other calls in extractSymbol are already correct.

* Assert that enclosing declaration is not synthesized
2017-11-02 17:43:47 -07:00
Andy 3ac5daa5d2 Support completion details for special JsDoc completions (#19494) (#19512) 2017-11-02 13:53:10 -07:00
Mohamed Hegazy 4e41dd3230 Update version (#19674) 2017-11-02 11:03:31 -07:00
Mohamed Hegazy 477bdc78bb Update LKG v2.6.1 2017-10-30 20:17:26 -07:00
Andy 6bc04a9ab9 Use lowercased names for generated locale directories (#19581) 2017-10-30 19:20:17 -07:00
Andy 0f32f55b75 Make getCompletionEntryDetails and getCompletionEntrySymbol parameters non-optional (#19507) (#19592)
* Make getCompletionEntryDetails and getCompletionEntrySymbol parameters non-optional

* Increment servicesVersion

* Update api baselines
2017-10-30 19:16:12 -07:00
Mohamed Hegazy 1359a93c30 Update LKG 2017-10-26 14:17:30 -07:00
Andy a7e172bfa0 Support multiple completions with the same name but different source module (#19455) (#19496)
* Support multiple completions with the same name but different source module

* Use optional parameters for source

* Simplify use of `uniques`

* Update test

* Fix `undefined` error
2017-10-26 14:03:03 -07:00
Sheetal Nandi c35e90ef5e Merge pull request #19484 from Microsoft/reloadScriptsWithoutProject
[release-2.6] 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 16:48:57 -07:00
Sheetal Nandi 96c66a61b4 Add test case to verify reload works without open project 2017-10-25 15:48:25 -07:00
Sheetal Nandi b16e6d43d1 Reload contents of file from disk irrespective of project presence and file already containing its own text
Fixes #19336
2017-10-25 15:48:21 -07:00
Mohamed Hegazy 6489a75461 Update LKG 2017-10-24 14:55:45 -07:00
Sheetal Nandi 1a1c672911 Merge pull request #19445 from Microsoft/foundWhileSearchingNodeModules
[release-2.6] Mark the files found during node_modules search correctly when reusing program structure completely
2017-10-24 11:51:52 -07:00
Sheetal Nandi 4e56347d58 Set the files found during node_modules search correctly when reusing existing program structure
This marks files reused correctly as from external library resulting in not using them for files to be emitted and computed for output structure
Fixes #19327
2017-10-24 10:40:33 -07:00
Sheetal Nandi aaaa280df7 Add the test case that fails and reports error for files not in root directory in watch mode
Test case for #19327
2017-10-24 10:40:28 -07:00
Mohamed Hegazy 3134111fd1 Merge pull request #19434 from Microsoft/port-master-10-23
Port fixes from master to release-2.6 10/23
2017-10-24 10:01:50 -07:00
Mohamed Hegazy a362bbf43a Fix lint error 2017-10-24 09:23:19 -07:00