Mohamed Hegazy
b6f4aa9da9
Fix wrong condition for unterminated multi-line comments
2014-10-23 14:08:04 -07:00
Mohamed Hegazy
48404452b8
Cleanup completion list logic:
...
- Do not walk the tree multiple times for the same session, instead pass along the previous token
- Use current token if the this is not after a dot to avoid running into scoping issues
- Also, add some documentation about different steps
2014-10-23 13:42:56 -07:00
Mohamed Hegazy
899271ce57
Merge branch 'master' into completionFixes
...
Conflicts:
src/services/services.ts
2014-10-23 12:57:22 -07:00
Mohamed Hegazy
d327873d7b
Fix issue #764 , select the correct scope node if not left of a dot
2014-10-23 12:52:42 -07:00
Mohamed Hegazy
669044c495
Fix issue #866 , detect the current location correctelly in completion entry details
2014-10-23 12:35:04 -07:00
Mohamed Hegazy
161eea13e0
Add test for issue#903
2014-10-23 09:34:29 -07:00
Mohamed Hegazy
3dc6072f58
Disallow completion in interface declarations
2014-10-23 09:27:50 -07:00
Mohamed Hegazy
68db15d960
Split completionListAtIdentifierDefinitionLocation into multiple tests to ease debugging
2014-10-22 17:34:00 -07:00
Mohamed Hegazy
417cea9cc0
move completion list position detection to the new tree
2014-10-22 17:33:16 -07:00
Daniel Rosenwasser
06e5f158ca
Merge branch 'master' into syntacticClassificationOnNewTree
2014-10-22 15:57:03 -07:00
Yui T
54bc1da5d0
Address code review
2014-10-20 14:39:31 -07:00
Yui T
ba77284485
Fix colorization unittest
2014-10-20 13:11:08 -07:00
Yui T
30fe3f7221
Fix runtests for unittests
2014-10-20 13:08:33 -07:00
Jason Freeman
d5709edbc7
Merge branch 'master' into sigHelp
2014-10-20 11:52:31 -07:00
Anders Hejlsberg
ff20df7a4a
Merge branch 'master' into optionalPropertySubtyping
...
Conflicts:
tests/baselines/reference/arrayLiteralWithMultipleBestCommonTypes.types
2014-10-20 11:33:23 -07:00
Anders Hejlsberg
152a9402d0
Merge pull request #914 from Microsoft/parensInTypes
...
Parentheses in type literals
2014-10-20 09:43:07 -07:00
Anders Hejlsberg
40d12a0995
Accepting new baselines
2014-10-19 16:44:32 -07:00
Anders Hejlsberg
f3bd294d0e
Adding tests
2014-10-19 07:57:10 -07:00
Anders Hejlsberg
e96983dd2b
Merge pull request #908 from Microsoft/contextualSignatureUnionTypes
...
Union types in contextual signature instantiations
2014-10-18 08:47:41 -07:00
Anders Hejlsberg
e5872b4824
Addressing CR feedback
2014-10-18 08:37:33 -07:00
Anders Hejlsberg
a58011c205
Fixing fourslash test
2014-10-18 07:44:22 -07:00
Jason Freeman
464f2a0745
Split genericParameterHelp test into multiple tests
2014-10-17 16:55:14 -07:00
Jason Freeman
09f0755dc1
Reenable some basic generics tests
2014-10-17 16:55:09 -07:00
Anders Hejlsberg
df715decbc
Changing type-to-string conversions to use parentheses
2014-10-17 16:53:18 -07:00
Anders Hejlsberg
411ca6afab
Accepting new baselines
2014-10-17 13:46:41 -07:00
Anders Hejlsberg
c00ee42b11
Adding tests
2014-10-16 20:52:36 -07:00
Daniel Rosenwasser
73d575e317
Merge branch 'master' into numbersAreHard
...
Conflicts:
src/compiler/checker.ts
tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.errors.txt
tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations2.errors.txt
2014-10-15 17:07:22 -07:00
Daniel Rosenwasser
d33aa4335f
Switched syntactic classifier to use new tree.
...
Also added tests.
2014-10-15 15:01:38 -07:00
Daniel Rosenwasser
d266b68f9d
Added test case for semantic classification with union types.
2014-10-14 17:29:46 -07:00
Daniel Rosenwasser
dde8855530
Merge branch 'master' into semanticColorizationModules
...
Conflicts:
src/services/services.ts
2014-10-14 17:07:16 -07:00
Daniel Rosenwasser
640554ae48
Added facilities for using positions on classification tests.
2014-10-13 17:29:19 -07:00
Mohamed Hegazy
f5cd4145d5
Merge branch 'master' into unionTypes
...
Conflicts:
src/compiler/types.ts
src/services/services.ts
2014-10-13 16:16:13 -07:00
Sheetal Nandi
dfb7785da0
Removed the debugger statement
2014-10-13 15:03:11 -07:00
Daniel Rosenwasser
014d0d7143
Added test case, renamed test cases.
2014-10-13 14:36:36 -07:00
Mohamed Hegazy
4f4f59a781
Merge changes from master in services.ts
2014-10-13 14:06:16 -07:00
Sheetal Nandi
ab48363bfa
Fix how arguments and undefined are shown in the quickInfo
...
Removes the undefined identication from symbol flags instead add method to typechecker
2014-10-13 13:06:03 -07:00
Anders Hejlsberg
fc842b177e
Merge branch 'master' into unionTypes
...
Conflicts:
src/compiler/checker.ts
src/compiler/types.ts
src/services/services.ts
tests/baselines/reference/assignmentCompatBetweenTupleAndArray.errors.txt
tests/baselines/reference/bestCommonTypeOfTuple.types
tests/baselines/reference/bestCommonTypeOfTuple2.types
tests/baselines/reference/castingTuple.errors.txt
tests/baselines/reference/contextualTypeWithTuple.errors.txt
tests/baselines/reference/genericCallWithTupleType.errors.txt
tests/baselines/reference/indexerWithTuple.types
tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.errors.txt
2014-10-13 12:37:34 -07:00
Sheetal Nandi
77a93d2cca
Merge pull request #874 from Microsoft/betterAliasSymbolInfo
...
Shows better information for aliases in the quick info/completion entry
2014-10-13 12:05:24 -07:00
Anders Hejlsberg
a76a418814
Accepting new baselines
2014-10-13 06:56:58 -07:00
Mohamed Hegazy
04e5309135
Merge branch 'unionTypes' into unionTypesLS
...
Conflicts:
src/compiler/checker.ts
2014-10-10 17:39:52 -07:00
Mohamed Hegazy
2ce627c6dd
Handle union properties completions on apparant types
2014-10-10 17:07:13 -07:00
Daniel Rosenwasser
41c45a9088
Fixed semantic colorization for module names on the value side.
2014-10-10 17:04:30 -07:00
Anders Hejlsberg
c9a42c19ab
Accepting new baselines
2014-10-10 17:01:28 -07:00
Mohamed Hegazy
bdac6ca895
Merge pull request #841 from chrisbubernak/disallowNumericEnumMembers
...
Fix for issue #134 (Disallow numeric enum members)
2014-10-10 16:24:12 -07:00
Sheetal Nandi
6f6be7e0e4
Removed incorrect check of symbolKind determination of undefined symbol
2014-10-10 15:58:33 -07:00
Sheetal Nandi
3715af1a5a
Show call and construct signatures when using aliases
2014-10-10 15:52:34 -07:00
Sheetal Nandi
471d80d91e
Show better alias information in completion entry and quickInfo
2014-10-10 15:24:19 -07:00
Sheetal Nandi
8ff6251200
Do not use internal aliasing when getting symbol full name to show in quickInfo or completion list
2014-10-10 15:02:48 -07:00
Dan Quirk
8ce1760d9e
Fixing merge conflicts
2014-10-10 14:49:35 -07:00
Dan Quirk
bacb9d0b22
Test updates from union changes
2014-10-10 14:41:14 -07:00