Commit graph

465 commits

Author SHA1 Message Date
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
Cyrus Najmabadi 7320a189f1 Adding rename tests. 2014-09-17 15:19:20 -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
Jason Freeman b1f243d814 Merge branch 'release-1.1'
Conflicts:
	src/harness/harness.ts
	tests/baselines/reference/typeName1.errors.txt
2014-09-17 14:10:47 -07:00
Jason Freeman 31eae88b86 Switch to createCompilerDiagnostic for an invalid root file 2014-09-17 10:44:03 -07:00
Yui T 9ee63fa21d Merge branch 'master' into getEmitOutput
Conflicts:
	src/services/services.ts
2014-09-16 17:40:38 -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 e75a1e3694 Change getEmitOutputBaseline 2014-09-16 15:19:41 -07:00
Mohamed Hegazy d8b437724d Merge branch 'master' into completionFixes
Conflicts:
	src/services/services.ts
2014-09-16 14:13:21 -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
CyrusNajmabadi f89804e074 Merge pull request #672 from Microsoft/getSyntacticClassifications
Add support for syntactic classification.
2014-09-15 18:56:25 -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
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 5db12f357f Filter private mebemers in class completions 2014-09-15 13:54:30 -07:00
Mohamed Hegazy 885569d4e7 Get correct kind for generic symbol completion entries 2014-09-15 13:53:46 -07:00
Mohamed Hegazy df7066f2e7 Enable completion fourslash tests 2014-09-15 13:53:25 -07:00
Jason Freeman 50b0516df0 Fix test baseline 2014-09-15 11:14:33 -07:00
Anders Hejlsberg b4cddc3903 Merge branch 'master' into tupleTypes 2014-09-15 11:04:58 -07:00
Jason Freeman cb38c9569a Add a test to make sure types are being checked for privates 2014-09-15 10:54:44 -07:00
Jason Freeman ba574725c2 Check that private properties originate in the same declaration 2014-09-15 10:54:42 -07:00
Daniel Rosenwasser 1eb924f2d6 Adding baseline that was missed from previous merge. 2014-09-12 14:51:16 -07:00
Daniel Rosenwasser 325cdeff65 Merge pull request #668 from Microsoft/harnessMessageConsistency2
Changed Harness Output
2014-09-12 14:41:46 -07:00
Daniel Rosenwasser 9f7782d392 Added error 'prologue' to each error baseline. 2014-09-12 13:35:07 -07:00
Yui T 13cf339fdd Add getEmitOutput baselines 2014-09-12 13:20:10 -07:00
Yui T 0b06ddcc9a Fix getEmitOutput to only output one file except when 'out' flag is specified. Add testcases 2014-09-12 12:57:00 -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 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
Daniel Rosenwasser ee86f8b711 Harness now prints category and code when running tests. 2014-09-11 16:11:08 -07:00
Daniel Rosenwasser 96e5bd26c3 Fixed bug where function type literals may omit their '=>'. 2014-09-11 16:04:07 -07:00
Anders Hejlsberg b61c722eec Merge pull request #649 from Microsoft/propertyAssignmentWidening
Fix widening in object literal property assignments
2014-09-11 13:10:08 -07:00
Vladimir Matveev 563b92cdce update test baselines 2014-09-11 12:04:49 -07:00
Daniel Rosenwasser 0af26bcb8b Merge branch 'master' into getOccurrences 2014-09-11 11:11:00 -07:00