2641 Commits

Author SHA1 Message Date
Sheetal Nandi
612003d7ee Fix incorrect returning of completion entries when in string literal of property assignment expression
Fixes #11232
2016-10-05 14:21:39 -07:00
Andy Hanson
1879e28fd3 Add helper functions for detecting 'this' identifiers 2016-10-05 08:54:20 -07:00
Jason Ramsay
62fddba88e Changes from CR feedback 2016-10-04 12:48:44 -07:00
Jason Ramsay
d186c83119 Add isGlobalCompletion to CompletionInfo for snippet injection 2016-10-03 17:45:11 -07:00
Vladimir Matveev
8177bd4da0 replace hardcodes 'useCaseSensitiveFileNames=false' in services with actual value, use specialized map lookup methods instead of generic 'getOrCreate*' 2016-09-30 13:19:54 -07:00
Nathan Shively-Sanders
a07a9447bb Merge pull request #11265 from Microsoft/improve-debugObjectHost-shim
Use `new Function`-less access to `this` for debugObjectHost
2016-09-29 16:29:50 -07:00
Nathan Shively-Sanders
4162897350 Use eval-less access to this for debugObjectHost
Originally it was just `debugObjectHost = this as any`, but this breaks
--noImplicitThis. Now it's `(function () { return this })()`.
2016-09-29 16:14:19 -07:00
Mohamed Hegazy
1187942a4b Merge pull request #11197 from Microsoft/release205-to-master
Merge release-2.0.5 to master
2016-09-29 15:12:30 -07:00
Vladimir Matveev
3f2e3919b4 revert versions 2016-09-27 23:36:19 -07:00
Vladimir Matveev
f361ed19c1 fixes: merge issue in test baselines, linter 2016-09-27 15:04:34 -07:00
Vladimir Matveev
9c0e64d443 fix merge issues, restore tests 2016-09-27 14:02:10 -07:00
Jason Ramsay
0a83d797dd Issue: Commit on enter isn't working correctly for JS completions in VS
Fix: revert the change to always return true for isNewIdentifierLocation for JavaScript files.
With recent Roslyn completion list changes and the new VS default statement completion settings to "Only use Tab or Enter to commit" this change is no longer required.
There is no longer a completion on space issue for JavaScript in VS and the previous fix is stopping completion on enter from working correctly.
2016-09-27 13:22:48 -07:00
Vladimir Matveev
833a46c091 merge with origin/master 2016-09-27 10:22:41 -07:00
Mohamed Hegazy
311e2851b9 Merge branch 'release-2.0.5' into FixNPMLocation 2016-09-22 14:39:12 -07:00
Mohamed Hegazy
f13cef19dd Add fallback for npm location if not running under node.exe 2016-09-22 14:34:08 -07:00
Vladimir Matveev
1fd0a8ca7d added unittest for watching @types (#11027)
added unittest for watching @types

* remove debugger statement, fix linter issues
2016-09-22 14:17:19 -07:00
Ryan Cavanaugh
c0806439ea Refactor 2016-09-19 18:20:50 -07:00
Ryan Cavanaugh
924a2bf03d Remove unused 2016-09-19 17:53:10 -07:00
Ryan Cavanaugh
2612a74f63 Working version 2016-09-19 17:04:51 -07:00
Andy
19aac12be9 Merge pull request #10995 from Microsoft/js_doc_comment_no_tags
Handle msising tags for JsDoc nodes
2016-09-19 14:09:20 -07:00
Mohamed Hegazy
af5148d4f3 Add back getSourceFile and mark it as deprecated 2016-09-19 12:17:12 -07:00
Andy Hanson
e6610c5d54 Handle msising tags for JsDoc nodes 2016-09-19 11:33:05 -07:00
Richard Knoll
50d243e469 Merge pull request #10482 from Microsoft/go_to_implementation_pr
Go to Implementation
2016-09-15 14:09:18 -07:00
Nathan Shively-Sanders
f8f244f68a Merge branch 'master' into new-jsdoc-parser 2016-09-15 11:53:04 -07:00
Richard Knoll
fd936999b1 Fixing formatting 2016-09-14 18:20:47 -07:00
Richard Knoll
ea3752aa18 Merge remote-tracking branch 'origin/master' into go_to_implementation_pr
Refactored goToImplementation out of services
2016-09-14 17:25:56 -07:00
Kanchalai Tanglertsampan
7fd5699511 Merge branch 'release-2.0' into release-2.0.5 2016-09-14 16:57:59 -07:00
Paul van Brenk
e9178a5975 Merge pull request #10885 from Microsoft/navtosinglefile
Implement NavigateTo for single files, instead of the project.
2016-09-14 14:28:36 -07:00
Richard Knoll
b6f7dd7981 More PR feedback 2016-09-14 13:57:17 -07:00
Mohamed Hegazy
cb9cacfad2 Merge branch 'master' of https://github.com/gnalck/TypeScript into gnalck-master 2016-09-13 20:51:20 -07:00
Richard Knoll
4a37fd7bcf More PR feedback 2016-09-13 17:33:49 -07:00
Vladimir Matveev
d14183c5a1 merge with origin/release-2.0.5 2016-09-13 15:59:04 -07:00
Andy
e7de977b90 Merge pull request #10754 from Microsoft/source_file
Optimize 'getSourceFile' to only get the source file once.
2016-09-13 14:02:39 -07:00
Richard Knoll
8c95c2b474 Wrap IO for import completions in try catch 2016-09-13 11:44:23 -07:00
Paul van Brenk
84caec3c35 PR feedback and clean up. 2016-09-13 09:58:03 -07:00
Richard Knoll
6ea5c22760 Also wrap getEffectiveTypeRoots in import completion code 2016-09-12 18:17:54 -07:00
Richard Knoll
4af2dcd32e Consume exceptions when checking for import completions 2016-09-12 18:08:28 -07:00
Paul van Brenk
17dbaf005f Get rid of BOM 2016-09-12 17:26:00 -07:00
Paul van Brenk
e038215496 Implement NavigateTo for single files, instead of the project. 2016-09-12 17:17:52 -07:00
Richard Knoll
2069e1cb0c Prevent duplicate entries from type references 2016-09-09 16:24:59 -07:00
Mohamed Hegazy
3facc3ed33 Merge pull request #10813 from microsoftsam/master
Surfacing method to get Completion Symbol
2016-09-09 15:32:20 -07:00
Richard Knoll
1cdd1d35a3 Code cleanup and a few edge cases 2016-09-09 15:18:49 -07:00
Sam El-Husseini
f8b11fb487 minor changes from PR feedback 2016-09-09 15:17:54 -07:00
Sam El-Husseini
72c5c2b088 lint: remove trailing whitespace in completions.ts 2016-09-09 13:34:30 -07:00
Andy Hanson
fbea11f7fc Fix line endings 2016-09-09 10:18:09 -07:00
Sam El-Husseini
1021e80a5b Surfacing function in services.ts 2016-09-09 09:30:41 -07:00
Sam El-Husseini
790af0acf6 Surfacing method to get Completion Symbol instead of details for better extensibility 2016-09-09 09:25:36 -07:00
Andy Hanson
15e01f02be Move code to a new module documentRegistry.ts 2016-09-09 06:48:59 -07:00
Ron Buckton
c048f7cd6f Fix deferred export of array binding pattern 2016-09-08 17:46:24 -07:00
Ron Buckton
b90e3eec3c Fix classifier as well. 2016-09-08 16:20:18 -07:00