Commit graph

936 commits

Author SHA1 Message Date
Mohamed Hegazy 85ddc35268 respond to code review comments 2014-09-16 17:05: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
Vladimir Matveev fdc9b9d285 Merge pull request #671 from Microsoft/new_smart_indentation
LS: smart indentation
2014-09-16 11:33:37 -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
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 7be2d2866b Classification tests. 2014-09-15 17:39:48 -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 71eab5fc26 disable tests that are dependent on QuickInfo and Signature help work 2014-09-15 13:56:31 -07:00
Mohamed Hegazy 4c3589fd6e Update tests to remove other type paramters from constraints 2014-09-15 13:56:21 -07:00
Mohamed Hegazy cb30eaf8b1 Allow built in types to show up in the completion list as keywords instead of types 2014-09-15 13:56:11 -07:00
Mohamed Hegazy 3667c6a43e remove debug statements from tests 2014-09-15 13:56:00 -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 5d577df69e Add better error recovery logic for cases with line ending with "id." followed by a declaration e.g. "class id" 2014-09-15 13:55:39 -07:00
Mohamed Hegazy 085cabf8e0 Change test untill we have filtering on location 2014-09-15 13:55:29 -07:00
Mohamed Hegazy aa571ff088 Short-circuit semantic operations within with blocks 2014-09-15 13:55:18 -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 44adc06496 expose getAncestor method 2014-09-15 13:54:19 -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
Mohamed Hegazy df7066f2e7 Enable completion fourslash tests 2014-09-15 13:53:25 -07:00
Vladimir Matveev 685d131f4a addressed CR feedback: use isDeclaration from parser, drop 'useTabs' check 2014-09-15 12:18:09 -07:00
Anders Hejlsberg 11b9118cab Merge pull request #428 from Microsoft/tupleTypes
Adding support for tuple types (e.g. [number, string])
2014-09-15 11:12:43 -07:00
Anders Hejlsberg b4cddc3903 Merge branch 'master' into tupleTypes 2014-09-15 11:04:58 -07:00
Vladimir Matveev aa7ffdba4c address CR feedback 2014-09-12 22:45:52 -07:00
Cyrus Najmabadi 9825342d89 Adding semantic classification. 2014-09-12 18:28:54 -07:00
Cyrus Najmabadi a6497d8b09 Add support for syntactic classification.
Tests pending.
2014-09-12 17:19:48 -07:00
Vladimir Matveev c21b4abb50 update JakeFile 2014-09-12 16:29:39 -07:00
Vladimir Matveev 54b8c73a78 when looking for a start node consider only nodes that can contribute to indentation 2014-09-12 16:18:06 -07:00
Vladimir Matveev cd663f07f3 minor code cleanup 2014-09-12 15:41:46 -07:00
Vladimir Matveev 221f805d09 remove singleTokenIndenter.ts 2014-09-12 13:28:39 -07:00
Anders Hejlsberg b9ebb367c0 Merge pull request #665 from Microsoft/circularTypeInferenceErrors
Report circular type inference errors with -noImplicitAny
2014-09-12 13:15:17 -07:00
Anders Hejlsberg b805037cf2 Improved error messages 2014-09-12 10:23:31 -07:00
Anders Hejlsberg 74536cc6ed Report circular type inference errors with -noImplicitAny 2014-09-12 07:28:49 -07:00
Vladimir Matveev ddbe031a8b use actual indentation if possible 2014-09-12 00:26:46 -07:00
Vladimir Matveev d119de8227 added support for smart indentation in the middle of list items, updated test baselines 2014-09-11 19:23:57 -07:00
Vladimir Matveev e9227d656d added support for smart indentation in the middle of list items, updated test baselines 2014-09-11 17:26:05 -07:00
Vladimir Matveev 9a3462a161 added handling for smart indentation in the beginning of list items, updated test baselines. TODO: smart indentation in the middle of list items (2 failing tests) 2014-09-11 16:17:31 -07:00