2688 Commits

Author SHA1 Message Date
Paul van Brenk
f3103100e3 Deal with buildbreak 2016-10-07 14:13:32 -07:00
Paul van Brenk
a88ceb5597 Merge branch 'master' into pvb/codeaction/api 2016-10-07 14:02:24 -07:00
Paul van Brenk
c29e9b7e4b PR feedback 2016-10-07 10:31:12 -07:00
Arthur Ozga
94d895587a Merge pull request #11328 from Microsoft/FixTripleSlashCompletions
Fix triple slash completions
2016-10-06 16:39:35 -07:00
Paul van Brenk
1e9b6536cf Fix linting issues 2016-10-06 13:59:54 -07:00
Ron Buckton
519095f585 Merge branch 'master' into syntaxKindLiterals 2016-10-06 13:41:16 -07:00
Paul van Brenk
75e1b80ad5 Use just the errorcode, without the TS prefix 2016-10-06 13:21:58 -07:00
Paul van Brenk
163e758e10 Handle case where this access is inside the supercall 2016-10-06 11:44:53 -07:00
Sheetal Nandi
3008520faf Merge pull request #11395 from Microsoft/completionEntry
Add missing check in javascript file for valid identifier when creating completion entry from symbol
2016-10-05 17:04:10 -07:00
Sheetal Nandi
2f5e7142cb Merge pull request #11401 from Microsoft/completionInObjectLiteralAssignment
Fix incorrect returning of completion entries when in string literal of property assignment expression
2016-10-05 17:02:58 -07:00
Ryan Cavanaugh
eab3711ed4 Merge pull request #11394 from RyanCavanaugh/noGlobalInJsxAttr
Don't show globals (e.g. snippets) in JSX positions
2016-10-05 16:21:30 -07:00
Arthur Ozga
af833aa761 provide completions only in the correct bounds 2016-10-05 15:22:08 -07:00
Vladimir Matveev
59c0143934 do not run semantic classification on non-ts-or-tsx files 2016-10-05 14:49:16 -07:00
Arthur Ozga
77a2d0e11a Merge branch 'master' into FixTripleSlashCompletions 2016-10-05 14:34:31 -07:00
Arthur Ozga
24938a7b1c Remove filtering functionality 2016-10-05 14:34:06 -07:00
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
Ryan Cavanaugh
3a0f3a20eb Remove extraneous assignments 2016-10-05 14:08:25 -07:00
Sheetal Nandi
1e0e02092c Even in javascript files when creating completion entry from symbols we need to perform identifier check
Fixes #11217
2016-10-05 13:46:47 -07:00
Ryan Cavanaugh
5b8ecafdf7 Don't show globals (e.g. snippets) in JSX positions 2016-10-05 13:32:12 -07:00
Paul van Brenk
ebcfce4127 Error span moved from constructor to this keyword. 2016-10-05 11:29:38 -07:00
Paul van Brenk
cf4e30090a Merge branch 'master' into pvb/codeaction/api 2016-10-05 10:58:15 -07:00
Andy Hanson
1879e28fd3 Add helper functions for detecting 'this' identifiers 2016-10-05 08:54:20 -07:00
Arthur Ozga
617daa9c27 Change fragment initialization 2016-10-04 17:48:35 -07:00
Arthur Ozga
a12fe2e491 Eliminate allocation of filtered completions 2016-10-04 17:44:52 -07:00
Paul van Brenk
1cc973273f PR feedback 2016-10-04 17:37:46 -07:00
Arthur Ozga
1baf49668b merge master and add isGlobalCompletion flags to CompletionInfo 2016-10-04 14:38:16 -07:00
Arthur Ozga
d737dc1d30 Responding To billti's comments 2016-10-04 13:07:24 -07:00
Jason Ramsay
62fddba88e Changes from CR feedback 2016-10-04 12:48:44 -07:00
Paul van Brenk
20dea29e39 Merge branch 'master' into pvb/codeaction/api
# Conflicts:
#	src/services/types.ts
2016-10-04 11:38:45 -07:00
Paul van Brenk
6e8eb1db8a Merge branch 'pvb/codeaction/api' of https://github.com/Microsoft/TypeScript into pvb/codeaction/api 2016-10-04 10:43:04 -07:00
Ron Buckton
0d7c84ef28 Added literal kind properties for each node. 2016-10-03 22:05:51 -07:00
Jason Ramsay
d186c83119 Add isGlobalCompletion to CompletionInfo for snippet injection 2016-10-03 17:45:11 -07:00
Arthur Ozga
179ceda746 Removed comments and fixed indentation 2016-10-03 11:25:23 -07:00
Arthur Ozga
3e15394b90 add readDirectory to LSHost 2016-09-30 16:52:28 -07:00
Arthur Ozga
b9e5dbc6e4 Merge branch 'master' into FixAbsoluteTripleSlashCompletions 2016-09-30 15:56:47 -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
Arthur Ozga
d96d0985be Merge branch 'master' into FixAbsoluteTripleSlashCompletions 2016-09-29 17:10:37 -07:00
Arthur Ozga
a2cbc63034 Question added 2016-09-29 17:08:48 -07:00
Arthur Ozga
cb13ae03d2 Pass linting 2016-09-29 17:08:14 -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
Arthur Ozga
4b07377efb Fix fragment handling 2016-09-29 16:17:44 -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
Arthur Ozga
6dd548285f remove Comment 2016-09-27 14:04:57 -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
Arthur Ozga
1f7b6e6a31 More comments 2016-09-27 10:54:03 -07:00
Vladimir Matveev
833a46c091 merge with origin/master 2016-09-27 10:22:41 -07:00