Commit Graph

8465 Commits

Author SHA1 Message Date
Pine Wu
88a1564e9c Fix duplicate code 2020-02-12 14:44:03 -08:00
Jackson Kearl
2ebc730d72 eslint code-no-unexternalized-strings 2020-02-12 14:32:43 -08:00
Jackson Kearl
d22fd6d8ae Add .pm as perl. Fixes #90550. 2020-02-12 11:56:47 -08:00
Benjamin Pasero
3388bf640e tests - shutdown gracefully to enable webview tests (#90508)
* tests - shutdown gracefully to enable webview tests

* use window.destroy() instead

* more tweaks

* better kill()

* proper fix
2020-02-12 13:06:35 +01:00
Matt Bierner
fb622a8b83 Move code action documentation contribution point to come from metadata
For #86788
2020-02-11 11:36:23 -08:00
Matt Bierner
efb781e5be Marking that documents/workspaces arrays cannot be mutated 2020-02-11 11:36:23 -08:00
Jackson Kearl
498deeb4bc Skip flakey debugging test 2020-02-11 10:02:45 -08:00
Benjamin Pasero
4978f52ec8 Flaky test: active editor not always correct... (#90470) 2020-02-11 18:29:18 +01:00
Benjamin Pasero
f88d71eebc disable test for web (#90359) 2020-02-11 16:50:22 +01:00
Benjamin Pasero
39370d9c98 tests - skip another flaky one for web 2020-02-11 15:51:45 +01:00
Benjamin Pasero
4d0e36d17f skip webview tests (#88415) 2020-02-11 11:17:05 +01:00
Benjamin Pasero
ae78db0414 skip terminal test (#90437) 2020-02-11 11:11:37 +01:00
isidor
2270536e85 debug: reanable integration tests (use new node debugger) 2020-02-11 11:06:24 +01:00
Sandeep Somavarapu
ff0de753f4 fix $90348 2020-02-11 09:13:03 +01:00
태재영
a03df2d635 update markdown-it-front-matter version (#90122) 2020-02-10 14:45:13 -08:00
Eric Amodio
5cb987119a Fixes #90229 2020-02-10 14:52:22 -05:00
Benjamin Pasero
c2444b42af tests - proper text fixtures dir 2020-02-10 15:33:04 +01:00
Benjamin Pasero
173cb094b4 test - skip only on windows 2020-02-10 11:58:03 +01:00
Benjamin Pasero
9d9d729655 Web: run integration tests as part of our product builds (fix #83923) 2020-02-10 11:23:00 +01:00
Benjamin Pasero
b49c688023 integration - disable debug tests 2020-02-10 08:03:25 +01:00
Martin Aeschlimann
985840db96 update typescript-language-features 2020-02-10 03:27:46 +01:00
Martin Aeschlimann
12509673e9 update typescript-vscode-sh-plugin 2020-02-10 02:25:47 +01:00
Matt Bierner
718331d6f3 Allow configuring TS Server watch options through VS Code
Fixes #89381

Given that these are advanced options, we require editing them in the json file instead of using our settings UI
2020-02-07 18:14:38 -08:00
Matt Bierner
ea54f48dda Update TS 3.8.1-rc
Updates to build VS Code using TS 3.8.1 (which require fixing a newly caught type error)

Also updates our shipped JS/TS version to 3.8.1-rc
2020-02-07 17:43:56 -08:00
Matt Bierner
b46d35c25c Don't import from node in extensions for URL and TextEncoder
Fixes #90162

Follow up on b1c5e2f19b
2020-02-07 15:51:13 -08:00
Rachel Macfarlane
b98f647ec9 Add polling for reconnect to auth extension 2020-02-07 11:42:43 -08:00
Rachel Macfarlane
6b7776741f Remove unneeded de-dup code from account extension 2020-02-07 11:29:57 -08:00
Rachel Macfarlane
03d1c79f55 Set authStatus to unavailable when unable to refresh token, #89200 2020-02-07 10:55:38 -08:00
isidor
20a53c62ed fix debug test 2020-02-07 16:36:03 +01:00
Benjamin Pasero
5e0189c8bf tests - browser tests to go through new log service 2020-02-07 16:22:10 +01:00
isidor
1f06066a9c debug integration tests reenable 2020-02-07 14:42:52 +01:00
isidor
73aeb31e20 disable start debugging integration test 2020-02-07 11:34:39 +01:00
Alex Dima
f9627fcdf9 Check in yarn.lock 2020-02-07 08:53:46 +01:00
João Moreno
1302e22b32 Merge pull request #90160 from eyeino/eyeino/clarify-new-branch-prompt
Clarify language when creating new git branch
2020-02-07 07:57:11 +01:00
Benjamin Pasero
df3764ab52 workaround #90162 2020-02-07 07:20:44 +01:00
Jackson Kearl
4e81d10222 Add result count line. Closes #89463.
And fixup grammar to correctly highlight it
2020-02-06 16:52:54 -08:00
Matt Bierner
4d35421462 Remove version gating on for now enableProjectDiagnostics
None of the apis being users for this experimental setting require the latest TS version
2020-02-06 16:33:05 -08:00
Rachel Macfarlane
cf96b11223 Auth providers - show dialog on token access, closes #89754 2020-02-06 15:30:53 -08:00
Matt Bierner
f0942786b4 Add experimental setting to use separate server to compute project level diagnostics
For #13953

**Problem**
We'd like to show project wide diagnostics, however at the moment TS server is single threaded. This means that computing all these diagnostics would interrupt other user operations such as completions.

Right now, our advice is to use tasks to get around this limitation (since tasks always run as separate process) however few people actually use tasks.

**Change**
This change adds an experimental `tsserver.experimental.enableProjectDiagnostics` setting (default false) that makes VS Code spawn a separate TS Server that is only used for computing diagnostics. This should help keep the primary syntax server responsive while letting the diagnostics server churn away at project level diagnostics

**Why experimental?**

- We are comporting too many diagnostics. This is bad for larger projects. I don't think TS provides the right APIs to know which files we actually need to request diagnostics on when a file changes.

- This hasn't been fully extensively tested to make sure it plays nicely with feature such as automatic type acquisition or in complex workspace with multiple projects
2020-02-06 15:15:33 -08:00
Matt Bierner
aca46ac4a5 Take server arguments object
Makes it more difficult to mistaktenly reverse which server is which
2020-02-06 15:15:33 -08:00
Matt Bierner
c8516dd7e8 Marking arrays as readonly 2020-02-06 15:15:33 -08:00
Matt Bierner
5d3c86ad99 Remove VS Code project file change watchers
Updating projects should be handled by the `projectsUpdatedInBackground events` now
2020-02-06 15:15:33 -08:00
Rachel Macfarlane
b0601cfd46 Add retries to token refresh for network errors of account extension 2020-02-06 14:26:35 -08:00
Ian MacFarlane
282732392f Clarify language when creating new git branch
When using the git extension, the intent is clear when clicking on "+ Create new branch..." and immediately being prompted "Please provide a branch name". But, when clicking on "+ Create a new branch from..." the intent is ambiguous, since the statement "Please provide a branch name" could refer to the branch from which you wish to base the new branch on or the name of the new branch, the latter being what actually happens.

By specifying "Please provide a *new* branch name...", the intent is clear: the prompt is asking for the name you wish to call the new branch.
2020-02-06 13:04:31 -05:00
Rachel Macfarlane
4801814872 Properly reference the vscode.proposed.d.ts typings from the account extension 2020-02-06 10:01:36 -08:00
isidor
5835d42bdf debug intregration tests: use debug.startDebugging 2020-02-06 12:50:33 +01:00
isidor
fd66f569f6 debug: reanable integration tests 2020-02-06 12:47:31 +01:00
Eric Amodio
eaf632c42a Adds uncommitted changes to timeline 2020-02-06 00:04:54 -05:00
Eric Amodio
9cd22d0dc1 Updates list of readonly git commands 2020-02-06 00:02:00 -05:00
Matt Bierner
ae758e681d Fix spelling in test name 2020-02-05 18:12:26 -08:00