Commit Graph

1640 Commits

Author SHA1 Message Date
Donald Pipowitch
f309996b32 added es2017.intl (#15369) 2017-05-24 09:50:38 -07:00
Ika
f9a1fca388 Add missing emitter for NamespaceExportDeclaration (#16025) 2017-05-23 11:07:34 -07:00
Ika
49638ab2eb Add missing questionToken in emitMethod/PropertyDeclaration (#16020) 2017-05-23 10:37:21 -07:00
Andy Hanson
b1e100e494 Merge branch 'master' into kind 2017-05-23 07:02:30 -07:00
Andy Hanson
f6240cb6f9 Make CommandTypes a const enum and use allCommandTypes for unit test 2017-05-22 11:17:12 -07:00
Andy Hanson
3b56ebeabe Convert other namespace + type alias in protocol.ts to const enums 2017-05-22 10:47:28 -07:00
Andy Hanson
f94818da36 Also convert ClassificationTypeNames and CommandTypes/CommandNames 2017-05-22 10:40:59 -07:00
Andy
24d98f2295 Merge pull request #15856 from Microsoft/jsdoc
Support for JSDoc in services
2017-05-22 07:46:52 -07:00
Ryan Cavanaugh
f6fbe61718 Refactoring support (squash) 2017-05-19 10:45:49 -07:00
Andy Hanson
d646c727e7 Merge branch 'master' into jsdoc 2017-05-19 08:18:18 -07:00
Andy Hanson
ba884bc27b Merge branch 'master' into jsdoc 2017-05-19 08:14:52 -07:00
Andy
38ece3b703 Merge pull request #15737 from Microsoft/findAllRefs_module
Support find-all-references for a module specifier
2017-05-19 08:11:56 -07:00
Andy Hanson
0ff187c8ac Remove 'isDeclarationFile()' function, use '.isDeclarationFile' 2017-05-17 08:12:23 -07:00
Andy Hanson
dc40f5d6b9 Merge branch 'master' into jsdoc 2017-05-17 07:17:32 -07:00
Andy Hanson
38784b761a Support for JSDoc in services 2017-05-15 14:45:30 -07:00
Sheetal Nandi
303d7b209e Merge branch 'master' into completionListForClassElementDeclarations 2017-05-12 15:31:52 -07:00
Sheetal Nandi
a8ad40f131 Add async to the list of class element completion keyword and refactoring according to feedback 2017-05-11 11:42:36 -07:00
Andy Hanson
71fb02c099 Support find-all-references for a module specifier 2017-05-10 11:02:17 -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
Joe Chung
64ea6803aa Support @arg and @argument synonyms for @param JSDoc tag
- Fix #15477
2017-05-06 22:11:38 -07:00
Sheetal Nandi
37a2cddabc Give the class element completion on typing keywords like public, private, readonly
Also when name of the function is location, make sure we are actually looking at the same symbol before using the declaration to get signature to display
2017-05-05 11:30:32 -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
Arthur Ozga
2150a7796b Merge pull request #15261 from aozgaa/moduleReuse
Reuse Module Resolutions from Unchanged Files
2017-05-01 17:49:44 -07:00
Ron Buckton
6cd85dbb25 Fix failing transpileModule test 2017-05-01 16:05:41 -07:00
Arthur Ozga
28843c4197 npm install test 2017-05-01 15:16:58 -07:00
Arthur Ozga
293a04caa7 More thorough module reuse test 2017-05-01 11:47:03 -07:00
Arthur Ozga
c63d6d145a Avoid double-resolving modified files 2017-04-28 16:27:41 -07:00
Arthur Ozga
6547c1816f check ambient modules before reusing old state 2017-04-27 20:27:48 -07:00
Justin Bay
1f815b6367 add unit test 2017-04-25 21:12:33 -04:00
Ron Buckton
21714299d0 Fix visitEachChild for signatures 2017-04-25 11:02:54 -07:00
Arthur Ozga
0ea1b82a85 test module reuse 2017-04-20 18:55:15 -07:00
Mohamed Hegazy
24814ec387 Merge pull request #15260 from Microsoft/Fix15200
Fix #15200: Query for semantic errors on .js files with '@ts-check' with no config file
2017-04-20 13:46:52 -07:00
Arthur Ozga
7966c08cc4 make enum bitflag and add trace message 2017-04-20 11:02:35 -07:00
Zhengbo Li
e8fd1cf466 Support project root path for controlling config file searching depth (#15238)
* stops at projectRootPath when searching config file

* Add tests

* Update editorServices.ts

Remove extra `true &&`
2017-04-19 11:42:24 -07:00
Mohamed Hegazy
35024b4f90 Fix lint errors 2017-04-18 16:20:29 -07:00
Mohamed Hegazy
f6324e7914 Add tests 2017-04-18 16:18:13 -07:00
Sheetal Nandi
3f7b53e0cd Use base tsconfig's compileOnSave option if tsconfig.json doesnt have it specified
Fixes #13910
2017-04-18 14:10:58 -07:00
Arthur Ozga
cbbf6f8847 Merge branch 'master' into tripleEquals 2017-04-17 15:57:51 -07:00
Andy
dbb1252e6a Merge pull request #15140 from Microsoft/configuration-extension-tests
configurationExtension tests: Use objects instead of strings for readability
2017-04-14 11:47:38 -07:00
Andy
72feaad893 Merge pull request #14001 from Microsoft/refactor_findallrefs
Refactor findAllReferences. Now supports renamed exports and imports.
2017-04-14 09:57:54 -07:00
Ryan Cavanaugh
92eaf5dc9b Lint 2017-04-13 16:39:07 -07:00
Ryan Cavanaugh
3cc379c3c0 Fix merge 2017-04-13 16:16:57 -07:00
Andy Hanson
c7d51a3053 Merge branch 'master' into refactor_findallrefs 2017-04-12 11:27:58 -07:00
Andy Hanson
893e3242fb Don't access sys.newLine inside unit tests 2017-04-11 14:24:32 -07:00
Andy Hanson
fe007ccb84 configurationExtension tests: Use objects instead of strings for readability 2017-04-11 14:14:48 -07:00
Andy
1798e8f58b Merge pull request #15131 from Microsoft/boolean-trivia-spacing
boolean-trivia lint rule: Enforce space between comment and argument
2017-04-11 14:10:17 -07:00
Ryan Cavanaugh
34e3f5fe4a Merge pull request #15111 from RyanCavanaugh/typesMap2
Add tests, comments, and min.js exclusion
2017-04-11 11:08:14 -07:00
Andy Hanson
ed5eca2b7b boolean-trivia lint rule: Enforce space between comment and argument 2017-04-11 09:44:58 -07:00
Andy
c38d2a188a Merge pull request #15077 from Microsoft/null-trivia
boolean-trivia lint rule: Lint for null/undefined too
2017-04-11 08:43:41 -07:00
Ryan Cavanaugh
2b3c2b3448 Add tests, comments, and min.js exclusion 2017-04-10 16:00:15 -07:00