Sheetal Nandi
b26ca160f4
Merge branch 'master' into referencesPrototypeSourceFile
2019-09-11 12:27:58 -07:00
Sheetal Nandi
4c4ddf833d
Merge branch 'master' into referencesPrototypeSourceFile
2019-08-21 15:42:36 -07:00
Alexander T
fd72a1c76b
@typescript-eslint/unified-signatures
2019-08-19 13:38:58 +03:00
Alexander
ceccfd8867
array-type: [ default: array, generic: array ]
2019-08-08 21:30:18 +03:00
Alexander
a292ae1789
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-08-04 15:35:41 +03:00
Sheetal Nandi
c25e7dd873
Wire in compilerOptions of the program in to the host's resolveModuleNames and resolveTypeReferenceDirectives api
...
Fixes #31056
2019-07-31 12:01:49 -07:00
Sheetal Nandi
666c4be844
Merge branch 'master' into referencesPrototypeSourceFile
2019-07-25 14:03:48 -07:00
Alexander T
a8ee8fbe87
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-07-18 10:00:16 +03:00
Sheetal Nandi
b631850978
Add option disableSourceOfProjectReferenceRedirect to disable using sources of project reference redirect from editor
2019-07-10 15:49:53 -07:00
Orta Therox
6e9d098d41
Adds support for completions after ASI inserted expressions
...
Signed-off-by: Andrew Branch <andrew.branch@microsoft.com >
2019-07-03 18:02:44 -04:00
Sheetal Nandi
f72af3be60
Verify the scenarios when d.ts directory of dependency doesnt exist
2019-07-01 11:34:57 -07:00
Sheetal Nandi
0adab8934a
Use source files instead of .d.ts files from project references
2019-06-21 13:14:28 -07:00
Alexander T
39c7e9a360
@typescript-eslint/unified-signatures
2019-06-20 11:47:12 +03:00
Alexander T
882dfd265c
@typescript-eslint/interface-name-prefix
2019-06-20 10:12:18 +03:00
Sheetal Nandi
73bf2684ac
Rename to use contextSpan
2019-06-13 12:41:21 -07:00
Sheetal Nandi
fd86f40d05
Include declarationSpan as relevant declaration span when defintion or other places are declaration name
...
Fixes #30849
2019-05-24 15:44:32 -07:00
Andrew Branch
15daf42b2c
Merge pull request #31028 from andrewbranch/feature/smart-select
...
Smart Select language service API
2019-05-16 09:45:05 -07:00
Ryan Cavanaugh
885d4d63c8
Remove "generate types" code ( #31075 )
2019-04-23 13:51:47 -07:00
Andrew Branch
d8936fd290
Rename to be smarter
2019-04-18 16:23:06 -07:00
Andrew Branch
0f7bc02892
Move to language service
2019-04-18 16:05:06 -07:00
Benjamin Lichtman
5fc8f1dd80
Add opt-in user preference for prefix and suffix text on renames ( #29314 )
...
* Add user preference to control renaming through exports
* Only impact renaming
* Update baselines
* Use flag to control all prefix and suffix text and imports
* [WIP] add tests
* Only skip export import specifier with flag
* [WIP] Update tests
* Update test
* Pick up preference from host and update test
* Shorten flag name
* Add missing utility function
* Update comment
* [WIP] rename flag and respond to cr
* [WIP] Add flag for forRelatedSymbol
* Use larger search symbol set for old-style rename
* Respond to CR
* Fix small error
* Fix type mismatch
* Update comment and remove unnecessary exprot
* Respond to CR
2019-01-16 10:58:07 -08:00
Benjamin Lichtman
d029fae35c
Add user preference to opt-in to renaming import paths
2019-01-11 14:45:08 -08:00
Sheetal Nandi
56a39b754c
Keep alive declaration script info and map file info if source file info is alive
2018-12-06 15:22:42 -08:00
Sheetal Nandi
12428d45c0
Add method on host to get DocumentPositionMapper so it can be cached.
2018-12-06 15:22:39 -08:00
Andy
12f3d0d54c
Enable --strictPropertyInitialization ( #27558 )
...
* Enable --strictPropertyInitialization
* Code review
2018-11-16 16:02:23 -08:00
Ron Buckton
151dc074a8
Merge branch 'master' into sourceMapGenerator
2018-11-09 11:50:51 -08:00
Sheetal Nandi
f0f02754f3
Change type of metadata to unknown
2018-11-06 18:45:08 -08:00
Sheetal Nandi
4a51f12c3e
Add metadata to response if it exists for results from language service.
...
Currently its wired through for completions requests.
Handles #21999
2018-11-06 15:06:54 -08:00
Caleb Sander
28e9ec497c
Address review comments
2018-11-05 11:36:32 -08:00
Andy
437bc41e99
For path completions, include extension as a kindModifier ( #28148 )
2018-10-30 11:56:34 -07:00
Andy
672b0e3e16
Have flatMap return a ReadonlyArray by default ( #28205 )
2018-10-29 11:12:51 -07:00
Andy
eadf44d073
Add generateTypesForModule to public API ( #28069 )
...
* Add generateTypesForModule to public API
* Avoid parameter initializer and update baselines
2018-10-23 16:10:26 -07:00
Klaus Meinhardt
96480b5ba9
fix return type of LangageServiceHost.resolve*
...
Fixes : #28058
2018-10-22 20:59:42 +02:00
Ron Buckton
4982803a38
Merge branch 'master' into sourceMapGenerator
2018-10-08 18:01:37 -07:00
Sheetal Nandi
0e4b10d726
Use resolution options of project reference if the file is from the project reference
2018-10-04 15:04:10 -07:00
Andy
5f2741b2ba
Make RenameInfo a union ( #27382 )
2018-09-27 08:56:40 -07:00
Andy
0a97663843
Add 'prefixText' and 'suffixText' when renaming shorthand properties ( #27356 )
...
* Add 'prefixText' and 'suffixText' when renaming shorthand properties
* Make prefixText and suffixText missing instead of undefined
* Fix test
2018-09-26 16:58:01 -07:00
Andy
c57ff087d6
Add codefix to generate types for untyped module ( #26588 )
2018-09-18 11:47:29 -07:00
Andy
24a5bdd1b1
Add 'fileToRename' property to RenameInfo ( #24702 )
...
* Add 'fileToRename' property to RenameInfo
* Update tests
* Support directory rename
2018-09-10 11:25:03 -07:00
Ron Buckton
b006287cb1
Refactor and clean up sourcemap decoder
2018-09-04 17:50:06 -07:00
Andy
b94061c587
getEditsForFileRename: Avoid changing import specifier ending ( #26177 )
...
* getEditsForFileRename: Avoid changing import specifier ending
* Support .json and .jsx extensions
* Restore typeRoots tests
* Fix json test
* When --jsx preserve is set, import ".tsx" file with ".jsx" extension
* Support ending preference in UserPreferences
2018-08-28 13:03:24 -07: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
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
e56a5c1b35
Lints.
2018-07-02 16:40:08 -07:00
Daniel Rosenwasser
9651c4231e
Account for trigger reasons, as implemented by Roslyn.
2018-07-02 16:04:48 -07:00
Daniel Rosenwasser
c046958752
Merge remote-tracking branch 'origin/master' into triggerSignatureHelpIArdlyKnowSignatureHelp
2018-07-02 15:36:41 -07:00
Andy
3e50f502bb
Mark some Type[] and Signature[] as ReadonlyArray ( #25099 )
2018-06-21 09:57:14 -07:00
Daniel Rosenwasser
5e3c96bb9a
Implemented support for trigger characters in signature help.
2018-06-12 15:48:40 -07:00
Andy
87217018b8
Add 'nameSpan' property to NavigationTree ( #24698 )
2018-06-07 12:43:57 -07:00