Cyrus Najmabadi
c459bb7ce9
CR feedback.
2015-03-24 00:25:23 -07:00
Cyrus Najmabadi
eed6f0deca
Use an output format for quickinfo that more closely matches the original source.
...
i.e. use "var v: string" instead of "(var) v: string".
The parens case should only be used when we're using an english description instead of
an actual language construct.
2015-03-24 00:16:49 -07:00
Cyrus Najmabadi
2af1b92239
CR feedback.
2015-03-23 22:44:57 -07:00
Cyrus Najmabadi
66b3fae09a
Remove the active completion session.
2015-03-23 21:44:27 -07:00
Cyrus Najmabadi
a1cbfdf01d
Use the same logic for completion entry details that we do for getting completion entries.
2015-03-23 21:26:29 -07:00
Cyrus Najmabadi
bce9b5ab5a
Break out completion symbol collection into its own function.
2015-03-23 20:56:38 -07:00
Cyrus Najmabadi
85d71b2883
No emit should happen if there are declaration errors and noEmitOnErrors is specified.
2015-03-19 16:55:07 -07:00
Daniel Rosenwasser
3e7e9f43ca
Merge pull request #2415 from Microsoft/shorthandsOnNonExistentProperty
...
Fixed crash on goToDef when a shorthand property refers to an undefined entity
2015-03-18 18:31:54 -07:00
Daniel Rosenwasser
d06f71ef9c
Merge pull request #2413 from Microsoft/constAntlyAPainForUs
...
Fix getOccurrences for 'const' modifier with exported & ambient declarations
2015-03-18 16:08:34 -07:00
Daniel Rosenwasser
acd0fdfba5
Fixed issue where goToDef on a shorthand property of an undefined entity would crash.
2015-03-18 14:43:16 -07:00
Daniel Rosenwasser
355dcd11c8
Merge pull request #2396 from Microsoft/completionsInIncompleteConstructs
...
Better completions in incomplete constructs
2015-03-18 14:11:05 -07:00
Daniel Rosenwasser
5cbf667d78
Fixed the contextual check for modifiers to check the original modifier instead of the flags of the node.
2015-03-18 14:07:42 -07:00
Daniel Rosenwasser
ee073e19f0
Remove space.
2015-03-18 12:27:28 -07:00
Daniel Rosenwasser
ec4278972d
Addressed CR feedback.
2015-03-18 12:08:09 -07:00
Vladimir Matveev
17f3e1462d
Merge pull request #2402 from Microsoft/dropInternedStrings
...
drop interned indentation prefixes if format options has changed
2015-03-17 17:17:53 -07:00
Vladimir Matveev
8afde73e0b
drop interned indentation prefixes if format options has changed
2015-03-17 16:34:13 -07:00
Paul van Brenk
825c301ace
We only need the 2 most significant digits.
2015-03-17 16:31:18 -07:00
Paul van Brenk
bf16ab7535
fix typo
2015-03-17 15:52:37 -07:00
Paul van Brenk
667bc03db2
Add toolsversion to shim so we can read it from VS.
2015-03-17 15:26:55 -07:00
Daniel Rosenwasser
3418a49f8a
Line endings.
2015-03-17 13:20:44 -07:00
Daniel Rosenwasser
735452c80b
Merge branch 'master' into completionsInIncompleteConstructs
...
Conflicts:
src/services/formatting/smartIndenter.ts
src/services/services.ts
2015-03-17 12:39:37 -07:00
Daniel Rosenwasser
7a716d9d42
Start handling element access expressions.
2015-03-17 12:27:59 -07:00
Daniel Rosenwasser
860c046376
Start using nodeIsMissing.
2015-03-17 12:27:24 -07:00
Daniel Rosenwasser
754a8a617c
More cases and tests for them.
2015-03-17 12:21:35 -07:00
Daniel Rosenwasser
122721005b
Merge pull request #2385 from Microsoft/completeIsCompleteNode
...
More thorough node completed-ness checking
2015-03-17 11:35:26 -07:00
Daniel Rosenwasser
ad084ded72
Account for typeof expressions, added test.
2015-03-17 08:07:40 -07:00
Daniel Rosenwasser
0aa3a72d5b
Merge branch 'completeIsCompleteNode' into completionsInIncompleteConstructs
...
Conflicts:
src/services/formatting/smartIndenter.ts
2015-03-17 07:45:01 -07:00
Daniel Rosenwasser
857d1e0bb6
Fixed case for index signatures.
2015-03-17 07:42:24 -07:00
Daniel Rosenwasser
c89febeb23
Added completion check for prefix-unary, binary, and conditional expressions.
2015-03-17 00:46:21 -07:00
Daniel Rosenwasser
c27e07a69b
Moved logic from smart indenter; use 'scope nodes' for completions.
2015-03-17 00:34:05 -07:00
Daniel Rosenwasser
6a6839a1b3
Always indent on tuple type literals.
2015-03-16 23:10:36 -07:00
Daniel Rosenwasser
686a10085c
Moved construct signature down appropriately, fixed logic for function-like constructs.
2015-03-16 23:05:03 -07:00
Daniel Rosenwasser
905e46e20f
Account for call signatures properly.
2015-03-16 22:40:58 -07:00
Daniel Rosenwasser
a7f57cbe41
Indentation within binding patterns.
...
Fixes #2380 .
2015-03-16 22:09:17 -07:00
Daniel Rosenwasser
686d1c60de
A more complete isCompletedNode.
2015-03-16 21:33:39 -07:00
Mohamed Hegazy
7430f3c9c7
Merge branch 'master' into exportDefaultType
...
Conflicts:
src/compiler/checker.ts
2015-03-15 14:23:40 -07:00
Mohamed Hegazy
ebcb86b077
enable navbar for export defaults
...
Conflicts:
src/services/navigationBar.ts
2015-03-15 13:22:54 -07:00
Cyrus Najmabadi
1ab0ef9f16
Use 'let' in the services layer.
2015-03-13 14:54:05 -07:00
Cyrus Najmabadi
b199691843
Use 'let' in the services layer.
2015-03-13 14:25:50 -07:00
Cyrus Najmabadi
12d0bc4d30
Use 'let' in the services layer.
2015-03-13 14:24:40 -07:00
Cyrus Najmabadi
bf40a683ad
Use 'let' in the services layer.
2015-03-13 14:22:03 -07:00
Cyrus Najmabadi
fd98f19363
Use 'let' in the services layer.
2015-03-13 14:15:20 -07:00
Cyrus Najmabadi
eb8150cbe2
Use 'let' in the services layer.
2015-03-13 14:12:39 -07:00
Cyrus Najmabadi
35040b9a85
Use 'let' in the services code.
2015-03-13 13:11:17 -07:00
Cyrus Najmabadi
d10a54c6b0
Use for-of in more places.
2015-03-13 10:36:29 -07:00
Cyrus Najmabadi
224de1db72
use for-of in more places.
2015-03-13 10:03:01 -07:00
Mohamed Hegazy
a6a8a96249
Support an optional type annotation on export default statement
2015-03-12 22:52:54 -07:00
CyrusNajmabadi
b38743c793
Merge pull request #2307 from Microsoft/sigHelpIndex
...
Compute consistent argument indices and counts for signature help.
2015-03-11 16:02:00 -07:00
Cyrus Najmabadi
05c2a3ef89
Add explanatory comments.
2015-03-11 15:30:33 -07:00
Cyrus Najmabadi
63ba645791
Remove unnecessary code.
2015-03-11 15:08:28 -07:00