Ryan Cavanaugh
a416826b64
Apply safelist exclusions even when include is not specified; recompute project contexts when installer reqs finish
2017-11-16 12:52:30 -08:00
Ryan Cavanaugh
de7fbc041a
Merge pull request #19542 from RyanCavanaugh/fix19533
...
Exclude legacy safelist files in external projects
2017-11-10 15:28:35 -08:00
Andy
b94940525b
Allow applyCodeActionCommand to take an array ( #19870 )
...
* Allow applyCodeActionCommand to take an array
* Use this.host.newLine
2017-11-09 13:17:47 -08:00
Ryan Cavanaugh
b043edd61c
Merge
2017-11-09 12:42:37 -08:00
Sheetal Nandi
fe40873664
Merge pull request #19786 from Microsoft/directoryRename
...
Handle the watch when folders are added/removed/renamed in wild card folder
2017-11-07 11:13:47 -08:00
Andy
57f247eff4
Add hyphen in completionEntryDetails-full ( #19808 )
2017-11-07 09:46:40 -08:00
Andy
bd2e97597d
Enable 'no-empty' tslint rule ( #19769 )
...
* Enable 'no-empty' tslint rule
* Fix bug
2017-11-07 09:22:28 -08:00
Ron Buckton
3f248ecfe1
Merge pull request #19452 from Microsoft/compareStrings
...
Clean up outdated string comparison logic
2017-11-06 18:48:15 -08:00
Andy
40efd1b3bd
Apply 'object-literal-key-quotes' tslint rule ( #19737 )
...
* Apply 'object-literal-key-quotes' tslint rule
* Convert to "consistent-as-needed"
2017-11-06 18:13:20 -08:00
Andy
381ca45787
Use an enum for Msg ( #19773 )
2017-11-06 18:10:02 -08:00
Sheetal Nandi
3f34525c81
Handle the folder create/delete in the configured project
2017-11-06 15:22:48 -08:00
Sheetal Nandi
ddbd654ecd
Merge pull request #19730 from Microsoft/fileNotOnDisk
...
Handles script infos that dont exist on the disk and are opened with non-rooted disk path
2017-11-06 12:21:32 -08:00
micbou
d97335e4e7
Silence NPM warnings when installing typings ( #19749 )
2017-11-06 09:45:52 -08:00
Andy
0a7b7e07ee
Apply 'variable-name' tslint rule ( #19743 )
2017-11-06 09:23:47 -08:00
Ron Buckton
31c3d444f1
Merge branch 'master' into compareStrings
2017-11-03 23:01:51 -07:00
Andy
bb7fb7dda9
For getCompletionsAtPosition, require a flag to provide completions with code actions ( #19687 )
...
* 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 15:55:31 -07:00
Sheetal Nandi
373510c4d9
Handle the script infos that are opened with non rooted disk path
...
Fixes #19588
2017-11-03 15:38:58 -07:00
Andy
8b5d8565cf
Add CompletionDetailsFull request ( #19689 )
...
* Add CompletionDetailsFull request
* Update API baselines
* Make internal
2017-11-03 15:11:36 -07:00
Andy
cd9dbe694f
Enable 'only-arrow-functions' lint rule ( #19717 )
2017-11-03 15:08:50 -07:00
Andy
f67a9ba96e
Apply 'interface-name' lint rule ( #19695 )
2017-11-02 17:20:18 -07:00
Andy
fd41521421
Enable 'callable-types' tslint rule ( #19654 )
2017-11-02 17:16:09 -07:00
Andy
96232570a0
Remember to provide source for completionDetails from client.ts ( #19664 )
...
* Remember to provide source for completionDetails from client.ts
* Fix -- add "options" parameter too
* Mark "options" as unused
2017-11-02 13:42:23 -07:00
Andy
6a382f1436
In typings installer, provide mandatory 'package.json' fields ( #19663 )
2017-11-01 14:20:26 -07:00
Homa Wong
53ad019ba1
Log top 5 largest files when TS language service is disabling. ( #19315 )
...
* Log top 5 largest files
* Show same message on second pass.
This second pass seemingly should be avoid. Bug there.
* Get all files and sort when error.
* Refactor
* Push logic to error branch
* Update to use array chain.
* Update to return string
* going functional.
2017-10-31 16:33:43 -07:00
Armando Aguirre
d5c18a6fb7
Merge branch 'master' into AddDefinitionAndBoundSpan
2017-10-30 17:02:23 -07:00
Ryan Cavanaugh
5830bb9b19
Improved logging
2017-10-27 17:07:04 -07:00
Ryan Cavanaugh
da63c2c579
Exclude legacy safelist files in external projects
2017-10-27 16:24:12 -07:00
Ron Buckton
3cb15378d7
Improve performance of deduplication of sorted arrays
2017-10-26 17:51:09 -07:00
Andrew Casey
bc2a048a39
Handle --debug-brk and --inspect-brk when launching TypingsInstaller
2017-10-26 16:42:47 -07:00
Ron Buckton
bfba32b71d
Cleanup, merge #19475
2017-10-26 13:49:32 -07:00
Andy
9615e54e13
Support multiple completions with the same name but different source module ( #19455 )
...
* 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 08:22:17 -07:00
Ron Buckton
c0ed26e605
Simplify comparers
2017-10-25 17:46:39 -07:00
Ron Buckton
130c407708
More control over which collator to use in each situation
2017-10-25 16:30:19 -07:00
Sheetal Nandi
b0a3f9d4ec
Merge pull request #19479 from Microsoft/reloadScriptsWithoutProject
...
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 15:46:08 -07:00
Sheetal Nandi
2668f50577
Reload contents of file from disk irrespective of project presence and file already containing its own text
...
Fixes #19336
2017-10-25 13:46:12 -07:00
Armando Aguirre
7fd9fe686b
Rollback spread operator changes
2017-10-24 15:58:43 -07:00
Sheetal Nandi
3d45f5b0fb
Store the projectRootPath the script info was opened with so that we can reuse it later to search/set file watches
2017-10-24 14:59:29 -07:00
Armando Aguirre
ae266f6aa1
Merge branch 'master' into AddDefinitionAndBoundSpan
2017-10-24 11:18:07 -07:00
Armando Aguirre
f8ccde5218
Renamed a couple of methods, refactored code for reusability
2017-10-24 11:05:21 -07:00
Andy
c1b4d59752
Fixup line and offset of rename location of refactor ( #19265 )
...
* Fixup line and offset of rename location of refactor
* Fixes
* Handle "\r" only documents
* Update api baselines
* Fix error if an edit comes *after* the rename location
* Add bounds check
* Simpler implementation: get new text, then calculate line starts the usual way
2017-10-19 14:31:23 -07:00
Andy
1f282f19e0
Fix "noStringLiteral" lint errors ( #19310 )
2017-10-19 08:15:48 -07:00
Sheetal Nandi
8fc651870e
Merge pull request #19306 from Microsoft/doNoWriteFilesMultipleTimes
...
Fixes the issue with emit where in same file is emitted multiple times
2017-10-18 16:12:36 -07:00
Andy
0f55f4a701
Use Promise instead of PromiseLike ( #19305 )
2017-10-18 16:04:42 -07:00
Andy
6c1afba389
Remove extra blank line in logs ( #19307 )
2017-10-18 16:04:18 -07:00
Armando Aguirre
8004fec2ce
Addressed PR comments: added simplified/full version, changed design
2017-10-18 14:48:06 -07:00
Sheetal Nandi
f59241971d
Merge pull request #19138 from Microsoft/configuredProjectRef
...
Handle the configured project lifetime to account for files added to the project after config file gets reloaded
2017-10-18 14:23:25 -07:00
Sheetal Nandi
8fbfb5ffc0
Modify api to emit affected files using callback instead of generating in memory output
...
Also marking few apis introduced during watch improvements changes that are suppose to be internal for now
2017-10-18 13:34:13 -07:00
Sheetal Nandi
f9c901ada7
Use get files affected by internally and hence use file paths as input
2017-10-18 13:34:13 -07:00
Bill Ticehurst
45ba0ac3b9
Set the scriptKind from the host configuration if present
2017-10-18 10:41:57 -07:00
Andy
d05443bb1d
Add quickfix and refactoring to install @types packages ( #19130 )
...
* Add quickfix and refactoring to install @types packages
* Move `validatePackageName` to `jsTyping.ts`
* Remove combinePaths overloads
* Respond to code review
* Update api baselines
* Use native PromiseConstructor
* Return false instead of undefined
* Remove getProjectRootPath
* Update api
2017-10-17 15:04:09 -07:00