Commit Graph

817 Commits

Author SHA1 Message Date
Ryan Cavanaugh 9ce6b3560f Add compat overload 2017-04-28 10:13:21 -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
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
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
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
Mine Starks 711f62f538 Merge pull request #14807 from minestarks/typingsafelist
Allow specifying the location of typingSafeList.json
2017-03-28 14:28:25 -07:00
Mohamed Hegazy 8ea961714b Merge remote-tracking branch 'origin/master' into checkJSFiles 2017-03-27 21:23:26 -07:00
Jason Ramsay d20cebf998 Merge branch 'master' into CancellationChecksForLowPriorityTasks 2017-03-27 14:49:41 -07:00
Mohamed Hegazy e630ab1a31 Report semantic errors for JS files if checkJs is enabled 2017-03-27 14:20:00 -07:00
Ryan Cavanaugh f1339ecb8e Remove trailing WS 2017-03-24 16:07:23 -07:00
Bill Ticehurst 21c954717c Changes for Map implementation
(cherry picked from commit 8a67b6ddd4)
2017-03-24 11:58:49 -07:00
Ryan Cavanaugh eef0505f55 Store diabled projects as 0
(cherry picked from commit e9e7271fc3)
(cherry picked from commit 35e77171e9)
2017-03-24 11:58:48 -07:00
Ryan Cavanaugh e5313bda21 Don't add in size of disabled projects
(cherry picked from commit 2721a8c8b4)
(cherry picked from commit 1696df6c9e)
2017-03-24 11:58:48 -07:00
Ryan Cavanaugh 5b7a099aa6 Math
(cherry picked from commit 7b17f6affe)
(cherry picked from commit 63aeacb83f)
2017-03-24 11:58:46 -07:00
Ryan Cavanaugh d69a18d9d9 Store the size of the project properly
(cherry picked from commit 16c7bcfebb)
(cherry picked from commit 8b3c54dbfb)
2017-03-24 11:58:46 -07:00
Ryan Cavanaugh afbe63ae99 Make compatible with 2.1 maps
# Conflicts:
#	src/server/editorServices.ts
#	src/server/project.ts

(cherry picked from commit 456614f7e0)
(cherry picked from commit be30adc77f)
2017-03-24 11:58:20 -07:00