Commit Graph

1648 Commits

Author SHA1 Message Date
Arthur Ozga
f19c3121c2 Apply codefixes across files 2017-05-31 17:17:58 -07:00
Arthur Ozga
c9f5a46121 Merge branch 'master' into addCodeFixMissingMethod 2017-05-30 15:20:59 -07:00
Kate Miháliková
2d60b2d117 Add tests and baselines 2017-05-30 08:04:18 +02:00
Mohamed Hegazy
159614315c Fix build breaks with the instrumenter 2017-05-25 16:13:34 -07:00
Andy
d052bb83ca Add project telemetry (#16050)
* Add project telemetry

* Respond to some PR comments

* Wrap event in a TelemetryEvent payload

* Replace paths with empty string instead of removing them entirely

* Add "version" property to payload

* Add telemetry for typeAcquisition settings

* Add "files", "include", "exclude", and "compileOnSave"

* Convert typingsOptions include and exclude to booleanss

* Add "extends", "configFileName", and "projectType"

* configFileName: Use "other" instead of undefined

* Add "languageServiceEnabled" telemetry
2017-05-25 13:30:27 -07:00
Donald Pipowitch
f309996b32 added es2017.intl (#15369) 2017-05-24 09:50:38 -07:00
Arthur Ozga
f56be99b11 cleanup 2017-05-23 13:51:00 -07:00
Arthur Ozga
1939c65fc6 rename helper 2017-05-23 13:37:53 -07:00
Arthur Ozga
15c029189c testing 2017-05-23 13:32:41 -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