Sheetal Nandi
4fa81e2642
Merge pull request #21350 from Microsoft/pullingFixesTo26
...
[release-2.6] Pulling PRs #20910 , #21107 and #21282 to release-2.6 branch
2018-01-22 16:38:03 -08:00
Sheetal Nandi
0d023917b4
Report more detailed info during script debug failure
2018-01-22 14:34:18 -08:00
Sheetal Nandi
c57f266187
When sending typings request use project's current directory as project root path
...
This ensures that we arent picking typings from folder different from the current directory for the project
2018-01-22 14:33:42 -08:00
Sheetal Nandi
1922c9a010
Add test for failure to use correct current directory in inferred project
...
Test for #21040
2018-01-22 14:32:22 -08:00
Benjamin Lichtman
226e5c9c39
Simplify test and add explanatory assertion
2018-01-22 14:31:52 -08:00
Benjamin Lichtman
8721495a6d
Add dynamic file open test
2018-01-22 14:31:35 -08:00
uniqueiniquity
674ef177c6
Allow dynamic files script info to be created when not opened by client
2018-01-22 14:30:53 -08:00
Andy
87662306c8
LanguageServiceShim.getCompletionEntryDetails: Support undefined options ( #20810 ) ( #20818 )
...
* LanguageServiceShim.getCompletionEntryDetails: Support undefined options
* Fix lint
2017-12-20 08:32:47 -08:00
Ryan Cavanaugh
6fae43ba9d
Merge pull request #20665 from RyanCavanaugh/port20664
...
Clear the module resolution cache when new @types appear
2017-12-13 09:23:06 -08:00
Ryan Cavanaugh
7ec2573dff
Fix test
2017-12-12 17:22:58 -08:00
Ryan Cavanaugh
5bc803d7da
Clear the module resolution cache when new @types appear
2017-12-12 16:17:37 -08:00
Andy
9b90474a33
Hack to allow concat to work even when an Array isn't assignable to ReadonlyArray ( #20455 ) ( #20544 )
2017-12-07 13:34:57 -08:00
Ryan Cavanaugh
9bf965a7dd
Merge pull request #20516 from RyanCavanaugh/port20464
...
Dedupe local types from ATA and reuse old programs correctly
2017-12-06 15:06:32 -08:00
Ryan Cavanaugh
cb7c6ccf44
Dedupe local types from ATA and reuse old programs correctly
2017-12-06 13:30:46 -08:00
Mohamed Hegazy
7790c96e30
Update LKG
2017-11-27 12:04:36 -08:00
Mohamed Hegazy
2c6ccc9a73
Update version
2017-11-27 10:50:59 -08:00
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