Commit Graph
1483 Commits
Author SHA1 Message Date
Mohamed Hegazy f0aa3b83ae Revert "Merge pull request #11713 from Microsoft/PortSkipSemanticCheckToRelease-2-0-5" (#11802)
This reverts commit 3ab3d9570f, reversing
changes made to cca3c1f0e0.
2016-10-23 11:23:29 -07:00
Jason Ramsay 58a0e751f0 Add getSyntacticDiagnostics unit test 2016-10-18 12:35:50 -07:00
Andy Hanson 2333eb31a1 Add "navtree" and "navtree-full" server commands 2016-10-12 09:00:02 -07:00
Sheetal Nandi d8280d8807 Handle the require call in javascript file for getSymbolAtLocation
This helps in getting the alias symbol so that it can go to the definition of external module
Fixes #9251
2016-10-05 17:19:38 -07:00
Sheetal Nandi f30874763f Even in javascript files when creating completion entry from symbols we need to perform identifier check
Fixes #11217
2016-10-05 16:59:58 -07:00
Sheetal Nandi ffe07e7e71 Fix incorrect returning of completion entries when in string literal of property assignment expression
Fixes #11232
2016-10-05 16:58:50 -07:00
Richard Knoll c742d16ff1 Merge remote-tracking branch 'origin/master' into import_completions_pr 2016-09-01 10:46:21 -07:00
Richard Knoll 7261866c6c Cleaning up the completion code and tests 2016-08-31 19:20:15 -07:00
Andy Hanson d47b3e22e5 Remove useless inserts that used to be required to trigger checks 2016-08-30 07:10:14 -07:00
Richard Knoll 4c847eb257 Fixing errors and adding a fourslash test 2016-08-26 15:04:08 -07:00
Richard Knoll 276b56dfb0 More PR feedback 2016-08-25 17:41:50 -07:00
Mohamed Hegazy d133b0e550 Merge pull request #10407 from zhengbli/fixJsDocSyntacticClassification
Return non-JsDocComment children for syntactic classification
2016-08-22 16:06:48 -07:00
Nathan Shively-Sanders a0137597f9 Merge pull request #10399 from Microsoft/jsdoc-never-undefined-null-types
JSDoc supports null, undefined and never types
2016-08-22 13:48:37 -07:00
Nathan Shively-Sanders 2c814f4413 Add jsdoc nullable union test case to fourslash 2016-08-22 10:08:57 -07:00
zhengbli e445e012c4 Add test for jsdoc syntactic classification for function declaration 2016-08-20 20:41:33 -07:00
zhengbli eeec775da0 Add more test for 10426 2016-08-20 19:12:11 -07:00
Zhengbo Li d8ab098195 Merge pull request #10426 from zhengbli/9518
Treat special property access symbol differently when retriving documentation
2016-08-19 17:09:25 -07:00
Richard Knoll 473be82572 Merge remote-tracking branch 'origin/master' into import_completions_pr 2016-08-19 16:59:48 -07:00
Richard Knoll cf7feb3faa Responding to PR feedback 2016-08-19 16:49:55 -07:00
zhengbli 03dcdda443 Treat special property access symbol differently
... when retriving documentation
2016-08-18 17:12:40 -07:00
Daniel Rosenwasser 111b7c55f8 Added test. 2016-08-17 20:30:15 -07:00
Nathan Shively-Sanders c218d37191 Merge pull request #9995 from Microsoft/jsdoc-string-literal-types
JSDoc string literal types
2016-08-17 10:25:58 -07:00
Richard Knoll 2f4a855ab8 Use rooted paths in the fourslash virtual file system 2016-08-16 14:55:19 -07:00
Nathan Shively-Sanders f3c085e595 Merge branch 'master' into classPropertyInference 2016-08-15 15:52:29 -07:00
Richard Knoll cc35bd5dca Merge remote-tracking branch 'origin/master' into import_completions_pr 2016-08-15 15:20:22 -07:00
Ryan Cavanaugh eac7a48c5f Fix non-strict-compliant test 2016-08-08 14:39:31 -07:00
Richard Knoll e11d5e9de6 Cleaning up test cases and adding a few more 2016-08-05 17:53:12 -07:00
Yui ceab31cf0d Port PR #10016 to Master (#10100)
* Treat namespaceExportDeclaration as declaration

* Update baselines

* wip - add tests

* Add tests

* Show "export namespace" for quick-info
2016-08-05 10:12:01 -07:00
Richard Knoll 0f22079d9e Remove trailing slashes, remove mostly useless IO, fix script element kind for files 2016-08-04 18:17:41 -07:00
Nathan Shively-Sanders 3c32478b8f Support other (new) literal types in jsdoc 2016-08-04 13:01:17 -07:00
Nathan Shively-Sanders 4c3529680d Merge branch 'master' into jsdoc-string-literal-types 2016-08-04 09:52:15 -07:00
Nathan Shively-Sanders e5973b8daa Add string-literal completion test for jsdoc 2016-08-04 09:46:35 -07:00
Richard Knoll a5d73bfc24 No more filtering results 2016-08-02 15:55:30 -07:00
Richard Knoll 35cd480a9c Fixing import completion spans to only include the end of the directory fragment 2016-08-01 17:51:22 -07:00
Richard Knoll 98a162be2a Replacement spans for import completions 2016-08-01 16:58:33 -07:00
Ryan Cavanaugh 6caa2611cb Merge pull request #10054 from SaschaNaz/jsxopening
Format JSX opening element
2016-08-01 15:50:43 -07:00
Richard Knoll 4ec8b2b134 Refactoring import completions into their own api 2016-08-01 14:29:10 -07:00
Kagami Sascha Rosylight 5c4c997efa jsx opening element formatting 2016-08-01 00:35:34 +09:00
Andy c6960303db Merge pull request #9984 from Microsoft/node_kind
Unify nodeKind implementations for navigationBar and navigateTo
2016-07-29 08:19:07 -07:00
Richard Knoll 9e797b4c78 Use getDirectories and condition node modules resolution on moduleResolution flag 2016-07-28 16:46:59 -07:00
Richard Knoll 4ca7e95706 Merge remote-tracking branch 'origin/master' into import_completions_feedback 2016-07-28 13:23:33 -07:00
Richard Knoll fdbc23e9ac Add completions for types triple slash directives 2016-07-28 13:12:53 -07:00
Richard Knoll dbf19f18af Adding import completions for typings 2016-07-28 11:52:15 -07:00
Richard Knoll 0b16180174 Import completions with rootdirs compiler option 2016-07-27 11:41:45 -07:00
Andy Hanson 38e201eb7d Fix test and rename a function 2016-07-27 07:46:39 -07:00
Andy Hanson 30761ef659 Unify nodeKind implementations for navigationBar and navigateTo 2016-07-27 06:31:56 -07:00
Richard Knoll ed2da32776 Handling more compiler options and minor refactor 2016-07-26 14:50:51 -07:00
Anders Hejlsberg ff0cbb5b29 Merge branch 'master' into literalTypes
# Conflicts:
#	src/compiler/checker.ts
2016-07-24 07:28:11 -07:00
Anders Hejlsberg 835645c5ec Fix fourslash test 2016-07-23 09:29:49 -07:00
Yui bd25c130ca Port PR 9745 to master (#9881)
* Add completion for quote property name in object literal expression

* Add fourslash tests for completion of quoted property in object literal expression

* Handle object-literal expression as an argument

Undo wip

Undo wip

Conflicts:
	src/services/services.ts

* Add tests and baseline for object literal expression for arguments
2016-07-22 07:15:12 -07:00