796 Commits

Author SHA1 Message Date
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
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
Ryan Cavanaugh
e3bb5d3f28 Update linting to avoid typechecking for booleanTriviaRule 2017-04-04 22:34:51 -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 8a67b6ddd43bdb33c89c1877d2755b738cb4c4c1)
2017-03-24 11:58:49 -07:00
Ryan Cavanaugh
eef0505f55 Store diabled projects as 0
(cherry picked from commit e9e7271fc3ab50654cb234c813e46fc90d70a736)
(cherry picked from commit 35e77171e98d134c64ae1000d94b1be317879a05)
2017-03-24 11:58:48 -07:00
Ryan Cavanaugh
e5313bda21 Don't add in size of disabled projects
(cherry picked from commit 2721a8c8b4fcacc551e68594964ea581b713f83c)
(cherry picked from commit 1696df6c9eca388b72b73a1e1897ab9b85080a7e)
2017-03-24 11:58:48 -07:00
Ryan Cavanaugh
5b7a099aa6 Math
(cherry picked from commit 7b17f6affecd6fb5e478607bf43e4cc29edf3f45)
(cherry picked from commit 63aeacb83f2c00eef903bb6d2f39d3aa6b72254d)
2017-03-24 11:58:46 -07:00
Ryan Cavanaugh
d69a18d9d9 Store the size of the project properly
(cherry picked from commit 16c7bcfebbeb8490a86dd994167283414d9d43a0)
(cherry picked from commit 8b3c54dbfb04c084061c287a342e7e6ffa0f0612)
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 456614f7e0d8ac0f5d420a6caf42f57cf5dda313)
(cherry picked from commit be30adc77f450a4871045c48d7d614c196fe37a5)
2017-03-24 11:58:20 -07:00
Ryan Cavanaugh
71e296042a Apply the 20 MB non-TS source limit across all projects
(cherry picked from commit cc8ce5975cbda492834d43ec1b743126a3334df4)
(cherry picked from commit de8fb9e8335d9bf34d0bbd5e61fee4df40cb5222)
2017-03-24 11:58:20 -07:00
Bill Ticehurst
25d8367aaf Suppress semantic errors in JS only configured projects
(cherry picked from commit 4ee8bdb762f870351da9be51d13dae6c9328e72f)
2017-03-24 11:58:14 -07:00
Mine Starks
0c1642a8b7 Allow specifying location of typingSafeList.json 2017-03-20 16:16:38 -07:00
Andy
d5c1b71429 Merge pull request #14710 from Microsoft/lint
Fix lint errors
2017-03-20 14:50:36 -07:00
Mohamed Hegazy
a710e9433b Do not report semantic diagnostics for infered and external projects with only .js files 2017-03-17 17:20:43 -07:00
Andy Hanson
2305c10a65 Fix lint errors 2017-03-17 13:54:18 -07:00
Vladimir Matveev
595342615b abstract code in FindReferences from concrete way of creating result reference entry to seamlessly reuse the same code for gotoImplementation (#14637) 2017-03-16 15:53:05 -07:00
Zhengbo Li
5040e1d279 Mark occurence item in string with a special property (#14677)
* mark occurence item in string with a special property

* Adding trailing commas
2017-03-16 11:01:48 -07:00
Vladimir Matveev
2b10611fbf initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer (#14441)
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
2017-03-15 11:44:36 -07:00
Mohamed Hegazy
4f04794d00 Merge remote-tracking branch 'origin/mjbvz-fix-per-request-cancellation' 2017-03-13 10:34:32 -07:00
Matt Bierner
205f63891e Fix Per Request Cancellation Tokens
While working on https://github.com/Microsoft/vscode/pull/22437, I believe there is a bug in the per request cancellation in the  `setRequest` function on the line `currentRequestId = currentRequestId ;` This causes `currentRequestId` to always be undefined

Fix is to assign the `currentRequestId` to `requestId`
2017-03-10 22:13:58 -08:00
Vladimir Matveev
17cb68cbbf send error if obtaining of types-registry package failed (#14573) 2017-03-10 10:34:01 -08:00
Vladimir Matveev
77c2a1d20d allow passing --logFile and --logVerbosity parameter to tsserver (#14566) 2017-03-09 15:25:44 -08:00
Mohamed Hegazy
81c0bd50ab Add --lib es6 to @types/node dependent targets 2017-03-08 23:03:30 -08:00
Andy Hanson
d58cfa238b Merge branch 'master' into lint_better 2017-03-06 06:20:48 -08:00
Andy Hanson
3bc125463b Add more missing semicolons 2017-03-03 07:00:52 -08:00
Andy Hanson
5f52549047 Merge branch 'master' into semicolon 2017-03-03 06:56:05 -08:00
Andy Hanson
8371eb6401 Update tslint to latest (next is still on 4.3) and lint for BOM 2017-03-01 10:37:13 -08:00
Magnus Hiie
9ac2ea722d Add insert...Braces Option to Server Protocol
Closes #13275
2017-03-01 18:48:08 +02:00
Andy Hanson
5ea43c8ba3 Merge branch 'master' into semicolon 2017-03-01 08:09:59 -08:00
Jason Ramsay
21ef9078ad Wrapping LSHost's cancellationtoken with a throttle 2017-02-24 17:14:04 -08:00