Andy
09321b3834
Convert Extension to a string enum ( #16425 )
2017-06-09 19:32:44 -07:00
Andy
a757e84284
Add hash of project file location to project info telemetry ( #16397 )
...
* Add hash of project file location to project info telemetry
* Rename to projectId
2017-06-09 13:12:31 -07:00
Mine Starks
3bd5df7577
Set typings cache location per TS version
2017-06-08 13:33:24 -07:00
TravCav
b57830f7f9
enforcing curly braces ( #16315 )
2017-06-07 11:58:25 -07:00
Andrew Casey
747d01c59a
Merge pull request #16311 from amcasey/mtime
...
Reuse already-computed modification time
2017-06-07 10:09:25 -07:00
Andrew Casey
e3c4a7031d
Reuse already-computed modification time
2017-06-06 16:35:11 -07:00
Ryan Cavanaugh
f739f68231
Tidy up
2017-06-06 16:08:24 -07:00
Ryan Cavanaugh
f395bc1d83
Handle missing body case
2017-06-06 16:01:53 -07:00
Ryan Cavanaugh
1f3ef7df7a
Refactor refactor
2017-06-06 14:58:18 -07:00
Andy
70564110c0
Make use of array helper functions ( #16226 )
...
* Make use of array helper functions
* Remove unnecessary 'ts.'
2017-06-05 14:11:43 -07:00
Ryan Cavanaugh
6f42f9ae3f
Merge pull request #15308 from chuckjaz/external-files
...
Allow plugins to provide a list of external files.
2017-06-05 13:14:25 -07:00
Andrew Casey
856c0fd3a8
Merge pull request #16182 from amcasey/MissingNullCheck
...
Add missing null check
2017-06-02 10:37:56 -07:00
William Orr
b62e1b5745
Use unix cache location on the major BSDs ( #16187 )
2017-06-01 18:27:20 -07:00
Andrew Casey
95b5a691d4
Guess 1: null check is missing; Guess 2: ternary does the appropriate check
2017-05-31 16:30:27 -07:00
Bill Ticehurst
2e0eb26543
Fix equals
2017-05-30 10:39:03 -07:00
Bill Ticehurst
05d3ff1823
Wrap npmLocation if needed
2017-05-30 10:38:55 -07:00
Andy
2412f8c6cf
Allow configurable npmLocation for typingsInstaller ( #16084 )
...
* Allow configurable npmLocation for typingsInstaller
* Undo "export class" changes
* Add log for npmLocation
* Log whether '--npmLocation' was provided
2017-05-26 07:06:11 -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
Andy Hanson
34bb955655
Use orderedRemoveItem instead of remove helper
2017-05-24 08:42:02 -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
c6e69dd64b
Fix missing initializers
2017-05-22 11:05:30 -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-ms
b162097c3c
Make ScriptElementKind and HighlightSpanKind string enums
2017-05-20 07:56:24 -07:00
Ryan Cavanaugh
f6fbe61718
Refactoring support (squash)
2017-05-19 10:45:49 -07:00
Ryan Cavanaugh
ab3ffa22da
Add flag to allow local plugin loading
2017-05-17 19:52:57 -07:00
Mohamed Hegazy
ca748d6c02
Add insertSpaceAfterTypeAssertion to the server protocol
2017-05-12 14:48:13 -07:00
Andy
0b0a2d070b
Merge pull request #15039 from Microsoft/resolveJavaScriptModule
...
Refactor how we (internally) expose JS module resolution
2017-05-08 10:52:17 -07:00
Matt Bierner
e44d419c90
Add Log for When Typings Installer Finishes Updating the Types Registry
...
**Bug**
While investigating #15301 , I was confused by the typing installer's log `Updating types-registry npm package...`. This was often the last line of the log file, leading me to believe that the types-registry update was still ongoing
**Fix**
Add an extra log for when the type-registry update completes successfully
2017-05-04 20:04:46 -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
Chuck Jazdzewski
785c281fd6
Allow plugins to provide a list of external files.
...
The list of the plugin's external files and request made to
a file in the list will be routed to an instance of the plugin.
2017-04-25 10:11:05 -07:00
Arthur Ozga
0ea1b82a85
test module reuse
2017-04-20 18:55:15 -07:00
Mohamed Hegazy
8534b430be
Add missing compiler options
2017-04-20 15:11:40 -07:00
Mohamed Hegazy
0736d8e3d0
Merge pull request #15283 from Microsoft/Fix15237
...
Return Diagnostic.category from the server
2017-04-20 14:20:13 -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
Mohamed Hegazy
5d7c75d88d
Add a source property on Diagnostic
2017-04-20 13:22:55 -07:00
Mohamed Hegazy
420908eb63
Change function name and clarify comment
2017-04-19 17:47:51 -07:00
Mohamed Hegazy
75cdb47cfa
Return Diagnostic.category from the server
2017-04-19 17:12:20 -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
92d592c23d
Update logic for shouldSkipSemanticCheck to allow for quering semantic errors for JS files with @ts-check
2017-04-18 16:19:28 -07:00
Arthur Ozga
cbbf6f8847
Merge branch 'master' into tripleEquals
2017-04-17 15:57:51 -07:00
Matt Bierner
6fd8653847
Fix globalPlugins TSServer Flag
...
**Bug**
globalPlugins flag not being threaded through IOSession object properly
**Fix**
Pass these flags to superclass in IOSession
2017-04-17 14:05:49 -07:00
Andy Hanson
c0d26e81f1
Merge branch 'master' into resolveJavaScriptModule
2017-04-14 10:15:30 -07:00
Ryan Cavanaugh
d31364c09c
Load global plugins even if no local ones exist
2017-04-13 16:17:35 -07:00
Ryan Cavanaugh
19ddc1e94a
Avoid loading duplicate local+global plugins
2017-04-13 16:17:34 -07:00
Ryan Cavanaugh
3cc379c3c0
Fix merge
2017-04-13 16:16:57 -07:00
Zhengbo Li
11ac006d60
Fix issue that randomly closes configured projects ( #15080 )
...
* Fix issue that randomly closes configured projects
* Correct the default project selection
2017-04-11 14:25:32 -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