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
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
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
Ryan Cavanaugh
2ca90b7eb6
Merge pull request #14999 from RyanCavanaugh/typesMap
...
Add advanced safelist for exclusions
2017-04-10 10:20:50 -07:00
Ryan Cavanaugh
a874567d46
Remove tsserver command for loading different map
2017-04-07 16:58:32 -07:00
Ryan Cavanaugh
2b09e54baa
Remove bad merge + unused cmd name
2017-04-07 16:58:21 -07:00
Ryan Cavanaugh
fc988a16ee
Pass correct regex flag
2017-04-07 16:58:13 -07:00
Andy Hanson
7320891933
boolean-trivia lint rule: Lint for null/undefined too
2017-04-07 13:13:39 -07:00
Ryan Cavanaugh
47cf7caf6e
Fix path escaping and slash normalization
2017-04-07 12:49:46 -07:00
Ryan Cavanaugh
439f1c77bd
Fix regex for real this time
2017-04-06 13:19:22 -07:00
Ryan Cavanaugh
857b762edd
Fixes
2017-04-06 12:50:22 -07:00
Ryan Cavanaugh
c164730a01
Add Kendo; fix Office
2017-04-06 12:39:25 -07:00
Andy Hanson
4a3b38b274
Refactor how we (internally) expose JS module resolution
...
Also, provide a useful error if resolution fails.
2017-04-05 15:33:01 -07:00
Ryan Cavanaugh
376cea648e
Allow resetting so tests pass
2017-04-05 13:14:17 -07:00
Ryan Cavanaugh
f3c5029def
Add tests and fix bugs
2017-04-05 13:14:16 -07:00
Ryan Cavanaugh
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
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
9c9b659f44
Merge pull request #14960 from minestarks/master
...
Expose JSDoc tags through the language service
2017-04-03 11:29:38 -07:00
Andy Hanson
130a24015a
Fix options for typedef-whitespace lint rule
2017-04-03 09:38:37 -07:00