Commit Graph

253 Commits

Author SHA1 Message Date
Cyrus Najmabadi
b0c55b2389 Hook up quick info shims. 2014-09-19 15:32:27 -07:00
Cyrus Najmabadi
c3944635dd Flash out QuickInfo implementation. 2014-09-19 15:21:55 -07:00
Cyrus Najmabadi
f97bb60d6a Initial work on classified quick info. 2014-09-19 13:07:06 -07:00
Yui T
3721382933 Merge branch 'master' into reportDeclarationEmitErrors 2014-09-18 14:08:26 -07:00
Yui T
c91c52de39 Clarify comments 2014-09-18 14:07:48 -07:00
Mohamed Hegazy
7aac8d5161 Merge pull request #689 from Microsoft/todoComments
Migrate getTodoComments to use the new tree
2014-09-18 14:03:46 -07:00
Mohamed Hegazy
831d26f3dd respond to code review comments 2014-09-18 13:59:59 -07:00
Yui T
360d332bd4 Address code-review comments 2014-09-18 13:50:38 -07:00
Yui T
48002d4d48 Fix language service; doesn't capture declaration emit errors 2014-09-18 12:41:41 -07:00
Vladimir Matveev
7188ab69b2 add 'skipTrivia' parameter to scanner 2014-09-17 23:59:53 -07:00
Mohamed Hegazy
eb01e92442 respond to code review comments 2014-09-17 17:42:03 -07:00
Mohamed Hegazy
beb2725f11 Merge pull request #676 from Microsoft/completionFixes
Completion fixes
2014-09-17 17:31:30 -07:00
Mohamed Hegazy
9e00693163 respond to code review comments 2014-09-17 17:28:03 -07:00
Cyrus Najmabadi
2eb14aa7ca Merge branch 'master' into getRenameInfo
Conflicts:
	src/services/services.ts
2014-09-17 15:36:26 -07:00
Mohamed Hegazy
deaa58b1a0 Merge branch 'master' into completionFixes
Conflicts:
	tests/baselines/reference/enumConflictsWithGlobalIdentifier.errors.txt
	tests/baselines/reference/enumMemberResolution.errors.txt
2014-09-17 14:44:17 -07:00
Cyrus Najmabadi
a1ca10d380 Address CR feedback. 2014-09-17 12:33:32 -07:00
Mohamed Hegazy
eeefae0bfb move helper functions inside the scope of the main function 2014-09-17 11:58:08 -07:00
Mohamed Hegazy
d58272dd84 move getTodoComments to the new tree 2014-09-17 11:55:19 -07:00
Dick van den Brink
d16dcaaf1d Remove some unused variables 2014-09-17 19:55:03 +02:00
Yui T
9ee63fa21d Merge branch 'master' into getEmitOutput
Conflicts:
	src/services/services.ts
2014-09-16 17:40:38 -07:00
Mohamed Hegazy
85ddc35268 respond to code review comments 2014-09-16 17:05:05 -07:00
Mohamed Hegazy
50a4926eaf Merge branch 'master' into navigateTo
Conflicts:
	src/services/services.ts
2014-09-16 16:54:01 -07:00
Yui T
0ef50efae1 Minor fix on checking getEmitOutputWriter 2014-09-16 16:04:24 -07:00
Yui T
e75a1e3694 Change getEmitOutputBaseline 2014-09-16 15:19:41 -07:00
Cyrus Najmabadi
27805d6585 Implement the getRenameInfo language service entrypoint.
Tests pending.
2014-09-16 14:51:47 -07:00
Mohamed Hegazy
d8d1ed399c Respond to code review comments 2014-09-16 14:27:05 -07:00
Mohamed Hegazy
d8b437724d Merge branch 'master' into completionFixes
Conflicts:
	src/services/services.ts
2014-09-16 14:13:21 -07:00
Mohamed Hegazy
a164e6a5b7 respond to code review comments 2014-09-16 14:10:21 -07:00
Yui T
54dcf39674 Add getCurrentDirectory and getDefaultLibFilename into interface for host 2014-09-16 13:19:49 -07:00
Vladimir Matveev
08f446ddf7 resolve merge conflicts 2014-09-16 11:27:58 -07:00
Vladimir Matveev
f3aba2177e merge with master 2014-09-16 11:24:00 -07:00
Mohamed Hegazy
1dc7ab04b2 Add implementation of getNavigateToItems based on the new compiler 2014-09-16 10:54:54 -07:00
Yui T
94723a9ad1 Remove concatenation of syntacticErrors instead return immediately if encountering any error 2014-09-16 10:28:05 -07:00
CyrusNajmabadi
f89804e074 Merge pull request #672 from Microsoft/getSyntacticClassifications
Add support for syntactic classification.
2014-09-15 18:56:25 -07:00
Cyrus Najmabadi
38d29249a4 CR feedback. 2014-09-15 18:52:07 -07:00
Vladimir Matveev
e369e369cc split 'find' function into 'find' and 'findRightmostChildNodeWithTokens' 2014-09-15 18:21:45 -07:00
Cyrus Najmabadi
ebb0beb203 Adding classification tests. 2014-09-15 17:23:38 -07:00
Vladimir Matveev
c4e6ad8dd9 address CR feedback: renames, handle smart indentation in type argument lists in type references 2014-09-15 16:08:33 -07:00
Daniel Rosenwasser
358733fda3 Merge branch 'master' into getOccurrencesLoopBreakContinue 2014-09-15 16:01:05 -07:00
Daniel Rosenwasser
7f12b6dd31 Spelling corrections. 2014-09-15 15:44:42 -07:00
Mohamed Hegazy
511c0769ff fix typo 2014-09-15 13:56:41 -07:00
Mohamed Hegazy
4e17787cb5 Do not colorize a keyword following an identifier.<newLine> as it is likely an error scenario as the user is typing 2014-09-15 13:55:50 -07:00
Mohamed Hegazy
85c6d34047 add basic support for contextual object literal completions 2014-09-15 13:55:01 -07:00
Mohamed Hegazy
57fa018a19 Use scanner APIs to identify if a display name is valid completion entry 2014-09-15 13:54:50 -07:00
Mohamed Hegazy
91b52b271f Support enum and module completions 2014-09-15 13:54:40 -07:00
Mohamed Hegazy
5db12f357f Filter private mebemers in class completions 2014-09-15 13:54:30 -07:00
Mohamed Hegazy
1a58afbd9f do not consider keywords tokens for compleation reasons, to allow completion on this and super 2014-09-15 13:54:08 -07:00
Mohamed Hegazy
5149c8f037 handel completion on missing symbols correctelly 2014-09-15 13:53:57 -07:00
Mohamed Hegazy
885569d4e7 Get correct kind for generic symbol completion entries 2014-09-15 13:53:46 -07:00
Mohamed Hegazy
8e0227eba2 Enable completion on expressions 2014-09-15 13:53:35 -07:00