Andy Hanson
38784b761a
Support for JSDoc in services
2017-05-15 14:45:30 -07:00
Andy
7a64de3aa9
Merge pull request #15772 from Microsoft/getWidth
...
findAllReferences: Clean up uses of `getWidth` and `getStart`
2017-05-11 13:23:10 -07:00
Andy
83beae7b8d
Merge pull request #15751 from Microsoft/tsx-gotodef
...
Fix bug for goto-definition on a TSX constructor using an alias declaration
2017-05-11 13:12:22 -07:00
Andy Hanson
6d6cdac645
Handle escaped identifiers
2017-05-11 12:22:10 -07:00
Andy Hanson
20a70f99b1
findAllReferences: Clean up uses of getWidth and getStart
2017-05-11 11:58:54 -07:00
jramsay
8cf8184a57
Merge pull request #15744 from Microsoft/CompileOnSaveFixInResolveModuleName
...
Fix compile on save issues in VS 2015
2017-05-10 16:09:38 -07:00
Andy Hanson
f05a85d56f
Fix bug for goto-definition on a TSX constructor using an alias declaration
2017-05-10 15:49:40 -07:00
Andy Hanson
f3fe0138a2
Also make EnumMember have Type meaning
2017-05-10 12:21:01 -07:00
Andy Hanson
e26d2ae139
An enum should include a Namespace SemanticMeaning
2017-05-10 12:15:30 -07:00
Jason Ramsay
5a19e30c27
In shims.ts resolveModuleName should only return resolved modules found in ts files (.ts, .d.ts, .tsx)
2017-05-10 11:38:10 -07:00
Andy
76cc39e20e
Merge pull request #15703 from Microsoft/require-calls
...
importTracker: Require calls are stored in `sourceFile.imports`, no need to search for them
2017-05-10 08:10:25 -07:00
Nathan Shively-Sanders
3768daeeca
Merge pull request #15594 from Microsoft/get-name-of-declaration-wrapper
...
Get name of declaration uniformly, even for JS-style assignment declarations.
2017-05-10 08:08:07 -07:00
Andy
25796f0432
Merge pull request #15677 from Microsoft/find-all-refs-mapped-type
...
findAllReferences: Don't need to check for `symbol.declarations`
2017-05-09 12:21:40 -07:00
Nathan Shively-Sanders
370b5618a0
Merge branch 'master' into spelling-correction
2017-05-09 10:01:03 -07:00
Andy Hanson
318ccf24b5
importTracker: Require calls are stored in sourceFile.imports, no need to search for them
2017-05-09 09:55:16 -07:00
Nathan Shively-Sanders
0080c5fd66
Merge branch 'master' into get-name-of-declaration-wrapper
...
This PR included a fix that I already checked in this morning.
2017-05-08 15:39:57 -07:00
Nathan Shively-Sanders
9392342f78
Switch to Declaration/NamedDeclaration hierarchy
2017-05-08 15:07:50 -07:00
Andy Hanson
73a944711f
Remove checks for symbol.declarations
2017-05-08 13:51:08 -07:00
Andy Hanson
eb9d4c0586
findAllReferences: Given a synthetic property, find references for the original property.
2017-05-08 13:25:12 -07:00
Ron Buckton
47bd4d3a87
Merge pull request #15531 from Microsoft/moreFactoryFuncs
...
More factory functions
2017-05-08 12:05:05 -07:00
Andy
abb2b828b8
Merge pull request #15668 from Microsoft/completions-keyof
...
In addStringLiteralCompletionsFromType, use getBaseConstraintOfType instead of getApparentType
2017-05-08 11:52:39 -07:00
Andy Hanson
883ccaee5f
Remove old commented-out code from signatureHelp
2017-05-08 11:30:09 -07:00
Andy Hanson
9e03d42fda
In addStringLiteralCompletionsFromType, use getBaseConstraintOfType instead of getApparentType
2017-05-08 10:33:48 -07:00
Andy
681f33ef4a
Merge pull request #15560 from Microsoft/tokenRange
...
Make TokenRange an interface and remove `ITokenAccess` delegation
2017-05-05 17:23:40 -07:00
Andy
1511c2eda7
Merge pull request #15593 from Microsoft/jsdoctagnames
...
Deduplicate jsDocTagNames and sort alphabetically
2017-05-05 07:24:12 -07:00
Nathan Shively-Sanders
d35f6c3581
getNameOfDeclaration uniformly, including JS decls
...
JS-style assignment declarations have a name, but it's not stored on the
name property of the BinaryExpression. This commit adds
`getNameOfDeclaration` to uniformly get the name of a declaration.
It also reworks the declaration of `Declaration` so that accessing
`name` is an error unless the type does *not* include
BinaryExpression.
2017-05-04 16:12:54 -07:00
Andy Hanson
7dddcb816f
Deduplicate jsDocTagNames and sort alphabetically
2017-05-04 14:16:09 -07:00
Nathan Shively-Sanders
9eaf40bded
Merge branch 'master' into spelling-correction
2017-05-03 15:34:32 -07:00
Andy Hanson
99c18744d2
Add isCallOrNewExpression helper
2017-05-03 10:57:57 -07:00
Andy Hanson
c61a371e62
Make TokenRange an interface and remove ITokenAccess delegation
2017-05-03 10:07:27 -07:00
Arthur Ozga
4c0735218e
move import getCodeActions into named method
2017-05-02 15:52:17 -07:00
Andy Hanson
b6bd396983
Fix formatting for async computed method: Allow space between 'async' and '['
2017-05-02 09:42:32 -07:00
Ron Buckton
d37426d865
Fill out remaining factory functions
2017-05-01 13:40:47 -07:00
Nathan Shively-Sanders
1bff5b749e
Codefix:suggest spellings+update others w/new codes
2017-05-01 11:41:01 -07:00
Andy
20bba9c662
Merge pull request #15496 from Microsoft/rm_fallthrough
...
unusedIdentifierFixes: Factor out nested switch statements and fix implicit fallthrough
2017-05-01 10:13:40 -07:00
Mohamed Hegazy
5e7778b36f
Merge pull request #15491 from SaschaNaz/newformat
...
No space after new keyword on constructor signature
2017-05-01 09:43:12 -07:00
Andy Hanson
3590048d9b
unusedIdentifierFixes: Factor out nested switch statements and fix implicit fallthrough
2017-05-01 09:37:07 -07:00
Andy Hanson
a70b79072b
importTracker: Fix error for undefined importClause
2017-05-01 07:54:41 -07:00
Kagami Sascha Rosylight
61f494ec5d
no space after new on constructor signatures
2017-05-01 23:11:59 +09:00
jramsay
aa11ab1d02
Merge pull request #15364 from Microsoft/RulesProviderPerformance
...
RulesProvider performance improvements (alternate implementation)
2017-04-27 16:47:59 -07:00
Jason Ramsay
257a4dc19e
Changes from CR feedback
2017-04-27 11:41:33 -07:00
Mohamed Hegazy
441d762065
Merge pull request #14779 from jwbay/transformers-for-transpilemodule
...
Expose transformers option for transpileModule
2017-04-26 17:04:47 -07:00
Mohamed Hegazy
2ff38a4b24
Update version
2017-04-26 14:27:46 -07:00
Justin Bay
8ee5610691
expose transformers option to transpileModule
2017-04-25 20:31:58 -04:00
Jason Ramsay
1f9bdef0fb
RulesProvider performance improvements
2017-04-24 17:32:02 -07:00
Yui
a1a2006074
Merge pull request #15160 from Microsoft/master-jsxChildren
...
[Master] Type checking JSX children
2017-04-21 10:02:13 -07:00
Andy Hanson
4ff180d814
Fix null error in importTracker: VariableDeclaration might not have a VariableStatement ancestor
2017-04-21 07:55:16 -07:00
Andy Hanson
0e06793098
Remove unused file
2017-04-19 07:07:16 -07:00
Andy Hanson
455492d887
Merge branch 'master' into fallthrough
2017-04-18 09:48:21 -07:00
Basarat Ali Syed
37214784b5
export interfaces for exported members
2017-04-18 10:51:08 +10:00