Commit Graph
1676 Commits
Author SHA1 Message Date
Sheetal Nandi 15b68a9396 Skip typechecking of source of project reference redirect 2019-07-03 15:39:29 -07:00
Sheetal Nandi f7ea0bab60 Refactoring 2019-07-01 14:33:39 -07:00
Sheetal Nandi 4d13f53df8 Merge branch 'master' into referencesPrototypeSourceFile 2019-07-01 11:50:11 -07:00
Sheetal Nandi f72af3be60 Verify the scenarios when d.ts directory of dependency doesnt exist 2019-07-01 11:34:57 -07:00
Sheetal NandiandGitHub f6d7261288 Merge pull request #32147 from microsoft/noDtsWhenNotUsingProjectReferences
Watch generated file if it doesnt exist when trying to translate it to to source generated position
2019-07-01 10:22:16 -07:00
Sheetal Nandi 96a8c86c65 Merge branch 'master' into referencesPrototypeSourceFile 2019-06-28 12:42:22 -07:00
4ae091fa9e Update src/server/project.ts
Co-Authored-By: Orta <orta.therox+github@gmail.com>
2019-06-28 10:17:58 -07:00
Sheetal Nandi da9260c013 Create original project when location is in source of project reference redirect 2019-06-27 10:38:52 -07:00
Andrew CaseyandGitHub f1c781fa13 Merge pull request #31988 from amcasey/SyntacticClassifications
Trivially expose getEncodedSyntacticClassifications
2019-06-27 10:16:57 -07:00
Andrew Casey 2d785c8c91 Make args types internal 2019-06-26 15:09:30 -07:00
Sheetal Nandi f4728682b7 Watch generated file if it doesnt exist when trying to translate it to to source generated position 2019-06-25 15:16:11 -07:00
Sheetal Nandi 3e49556a88 Watch generated file if it doesnt exist when trying to translate it to to source generated position 2019-06-25 15:11:44 -07:00
Andrew Casey 2953574eba Use getEncodedSyntacticClassifications 2019-06-21 14:48:22 -07:00
Sheetal Nandi ecf875112b Check for language serivice enabled when including source files 2019-06-21 14:24:25 -07:00
Sheetal Nandi c97be16fa1 Log the config of the project 2019-06-21 13:54:06 -07:00
Sheetal Nandi 0adab8934a Use source files instead of .d.ts files from project references 2019-06-21 13:14:28 -07:00
Wesley WighamandGitHub 37b20f6afd Eliminate references to defunct LSHost in comments (#32018) 2019-06-20 19:11:46 -07:00
Andrew Casey 6e50853143 Trivially expose getEncodedSyntacticClassifications 2019-06-19 15:48:23 -07:00
Sheetal NandiandGitHub 7ed3896a0a Merge pull request #31587 from microsoft/definitionSpan
Include declarationSpan as relevant declaration span when defintion or other places are declaration name
2019-06-18 14:07:15 -07:00
Sheetal Nandi 73bf2684ac Rename to use contextSpan 2019-06-13 12:41:21 -07:00
Sheetal Nandi da2aa9781e Revert to using spread instead of mutating value later 2019-06-12 15:25:16 -07:00
Sheetal NandiandGitHub a0d164f142 Merge pull request #31820 from microsoft/nodeModules
When resolving from typings cache, handle node code modules
2019-06-12 10:55:26 -07:00
Sheetal Nandi 2fd80b3142 When resolving from typings cache, handle node code modules
Fixes #29865
2019-06-07 16:21:39 -07:00
Sheetal Nandi a6c72a0cf3 Do not watch tsconfig files from folders that we canot watch
Fixes #30818
2019-06-07 12:10:21 -07:00
Sheetal Nandi a84ed93f72 Merge branch 'master' into definitionSpan 2019-06-06 14:13:09 -07:00
Benjamin Lichtman d3b6ba557a Change test instead of behavior 2019-05-31 14:46:15 -07:00
Benjamin Lichtman 7ac5fa783b Refactor and add wildcard scenario 2019-05-31 11:24:54 -07:00
Benjamin Lichtman 8c443b1481 Stop invalidating resolution when file stays open 2019-05-30 15:05:53 -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
Sheetal Nandi 57d9ecc39f Do not log errors when ts server plugin is not found in one folder but is eventually resolved.
Fixes #30106
2019-05-24 15:15:04 -07:00
Andrew BranchandGitHub 15daf42b2c Merge pull request #31028 from andrewbranch/feature/smart-select
Smart Select language service API
2019-05-16 09:45:05 -07:00
Kagami Sascha RosylightandRyan Cavanaugh 1a75d525fa add ES2020 matchAll APIs (#30936) 2019-04-25 14:11:50 -07:00
Ryan CavanaughandGitHub 885d4d63c8 Remove "generate types" code (#31075) 2019-04-23 13:51:47 -07:00
Andrew Branch 99ace033bf Revert accidental line ending change 2019-04-18 17:23:54 -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
Andrew Branch 61425cb304 Move most logic to separate file 2019-04-18 16:05:06 -07:00
Andrew Branch 0a4ef0f630 Distinguish between same-line and different-line braces 2019-04-18 16:05:06 -07:00
Andrew Branch 039487c84e Also skip TemplateHeads 2019-04-18 16:05:06 -07:00
Andrew Branch fd88e52252 Start imports 2019-04-18 16:05:06 -07:00
Andrew Branch e62c2333eb Add support for string literals 2019-04-18 16:05:06 -07:00
Andrew Branch f98c00ab9d Add more tests, special handling for mapped types 2019-04-18 16:05:05 -07:00
Andrew Branch af3d0f0248 Start smart select API 2019-04-18 16:05:05 -07:00
Sheetal Nandi 7ccd86bf52 When old program resolved to module and that file is included, dont consider as ambient resolution.
Fixes #30422
2019-04-03 14:05:49 -07:00
Benjamin LichtmanandGitHub 78b0956474 VS IntelliCode-related changes (#30731)
* ensure configurePlugin gives a response

* Update tests

* Update baseline

* Enable global plugin loading for external projects

* Fix lint errors
2019-04-03 10:36:04 -07:00
Sheetal Nandi e78f52d246 Add more information when getValidSourceFile cant find the file in question.
Log for #30180
2019-03-15 15:03:45 -07:00
Wenlu WangandWesley Wigham bd27296ba6 improve stripInternal with inline comments (#23611)
* improve stripInternal with inline comments

* fix lint

* stash

* simptify StripInternal

* fix internal type declaration

* fix internal type declaration again

* accept baseline

* refactor inline

* simply prev check

* remove getTrailingCommentRangesOfNode

* Merge implementation with new isInternalDeclaration method, accept lkg-based baseline
2019-03-12 13:14:47 -07:00
Sheetal Nandi 990b199ebd Merge branch 'master' into incrementalBuildInfo 2019-03-08 11:42:19 -08:00
Sheetal Nandi ec2ee9ff3a Ignore anything starting with ".git"
Fixes #29782
2019-03-06 15:00:26 -08:00
Sheetal Nandi e55fbffed6 Rename the request as updateOpen 2019-03-05 14:34:08 -08:00