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
Ron Buckton and GitHub
47bd4d3a87
Merge pull request #15531 from Microsoft/moreFactoryFuncs
...
More factory functions
2017-05-08 12:05:05 -07:00
Andy and GitHub
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 and GitHub
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 and GitHub
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
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
Andy and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
37214784b5
export interfaces for exported members
2017-04-18 10:51:08 +10:00
Arthur Ozga
cbbf6f8847
Merge branch 'master' into tripleEquals
2017-04-17 15:57:51 -07:00
Kanchalai Tanglertsampan
f6f0813528
Merge branch 'master' into master-jsxChildren
...
# Conflicts:
# src/compiler/checker.ts
# src/compiler/diagnosticMessages.json
2017-04-17 13:31:12 -07:00
Kanchalai Tanglertsampan
4fa23127fc
Fixing consuming whitespace in children
2017-04-12 12:08:12 -07:00
Andy Hanson
c7d51a3053
Merge branch 'master' into refactor_findallrefs
2017-04-12 11:27:58 -07:00
Andy Hanson
a82ac45e36
Merge branch 'master' into fallthrough
2017-04-12 10:58:03 -07:00
Andy Hanson
ed5eca2b7b
boolean-trivia lint rule: Enforce space between comment and argument
2017-04-11 09:44:58 -07:00
Andy Hanson
7320891933
boolean-trivia lint rule: Lint for null/undefined too
2017-04-07 13:13:39 -07:00
Nathan Shively-Sanders and GitHub
3029b8fe38
Merge pull request #14935 from Microsoft/allow-extending-from-any
...
Allow extending from any
2017-04-06 09:18:01 -07:00
Nathan Shively-Sanders
90d5c299b0
Remove special symbol for untyped modules
...
Extending symbols from untyped modules is no longer an error, so #12532
didn't get us anything except slightly better quick info.
2017-04-05 16:01:04 -07:00
Ryan Cavanaugh and GitHub
d8a24e3a5b
Merge pull request #15021 from RyanCavanaugh/lintFixes
...
Update linting to avoid typechecking for booleanTriviaRule
2017-04-05 12:26:58 -07:00
Arthur Ozga
3bdec6943e
Merge branch 'master' into tripleEquals
2017-04-05 11:51:21 -07:00
Arthur Ozga
3b6da51a81
remove TODO's
2017-04-05 11:39:59 -07:00
Ryan Cavanaugh
e3bb5d3f28
Update linting to avoid typechecking for booleanTriviaRule
2017-04-04 22:34:51 -07:00
Arthur Ozga
7e03429a8e
enforce triple-equals
2017-04-04 15:51:13 -07:00
Andy Hanson
73cab09608
Enable jsdoc-format lint rule
2017-04-03 14:39:19 -07:00
Mine Starks and Mine Starks
af0b2d9768
Merge pull request #12856 from minestarks/includejsdoctags
...
Expose JSDoc tags through the language service
2017-03-31 17:58:41 -07:00
jramsay and GitHub
2e313caa75
Merge pull request #14100 from Microsoft/BowerComponentsFix
...
Type acquisition support for bower_components directory
2017-03-30 16:38:57 -07:00
Andy Hanson
eb09c11e48
Call the cancellationToken once per SourceFile, instead of calling it at every possible position.
2017-03-28 10:34:21 -07:00
Hendrik Liebau
b7c0450050
fix formatting for multi-line object destructuring
2017-03-28 18:20:57 +02:00