Commit graph

60679 commits

Author SHA1 Message Date
Benjamin Pasero bb3edc40e6 smoke - exclude a few more tests for web 2020-02-07 07:10:59 +01:00
Benjamin Pasero ec7968776b Instructions for files.defaultLanguage new option is confusing (fix #90187) 2020-02-07 06:58:35 +01:00
Rob Lourens beaf391bc5 Use Action2 instead of editor Command
#89348
2020-02-06 18:13:00 -08: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
Jackson Kearl 7cb5172397 Remove unused 2020-02-06 15:56:25 -08:00
Rachel Macfarlane cf96b11223 Auth providers - show dialog on token access, closes #89754 2020-02-06 15:30:53 -08:00
Connor Peet a4c2d6337d
debug: update js-debug-nightly to "2020.2.408" @ 2020-02-06T01:05:43.207Z 2020-02-06 15:20:20 -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
Matt Bierner 9a74df8b7c Converting remaining webview commands to use Action2
For #89348
2020-02-06 15:15:32 -08:00
Jackson Kearl 8847219dd7 Fix #89482. Fix #90179. 2020-02-06 14:44:10 -08:00
Rachel Macfarlane b0601cfd46 Add retries to token refresh for network errors of account extension 2020-02-06 14:26:35 -08:00
Alexandru Dima d92d732bfc
Merge pull request #90111 from nrayburn-tech/master
Use MutationObserver for Monaco Editor AutomaticLayout
2020-02-06 23:03:45 +01:00
Alex Dima 1bce32d603
Improve types & avoid callbacks when rendering the editor 2020-02-06 23:01:43 +01:00
Alex Dima a13c32dd72
Fixes #90171 2020-02-06 22:39:38 +01:00
Martin Aeschlimann 7a036679a0 semantic theming: add TokenSelector 2020-02-06 22:33:55 +01:00
Alex Dima 5d1c4a9b10
Fixes microsoft/monaco-editor#1812 2020-02-06 22:19:20 +01:00
nrayburn 18c10b1573 Replace timeout interval with MutationObserver for monaco editor AutoLayout 2020-02-06 15:15:56 -06:00
Christof Marti 7fab6bf603 Move QuickInput to base layer (#69955) 2020-02-06 22:02:21 +01:00
Christof Marti db7795ff2b Move QuickInput to base layer (#69955) 2020-02-06 21:57:10 +01:00
Sandeep Somavarapu 42d92b3ca8 💄 2020-02-06 20:09:23 +01:00
Sandeep Somavarapu 7150d73a8f
Merge pull request #89842 from bepvte/bepvte/contributions-rename
Rename "Contributions" to "Feature Contributions"
2020-02-06 20:08:00 +01:00
Sandeep Somavarapu 0531e588d9
Merge branch 'master' into bepvte/contributions-rename 2020-02-06 20:07:49 +01:00
Sandeep Somavarapu 37645e6f34 Fix #86853 2020-02-06 19:43:46 +01: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 e3b19d2071 debug: automatically focus a child session if parent session is focused
fixes #89669
2020-02-06 18:25:48 +01:00
Benjamin Pasero 17893e5e51 fix #90116 for search editor too 2020-02-06 17:29:29 +01:00
Martin Aeschlimann a94e5d915c resource.relativePath fix for windows (for #90063) 2020-02-06 17:04:56 +01:00
Sandeep Somavarapu f9a544f48a #90150 Handle server errors gracefully and do not turn off sync aggressively. 2020-02-06 17:01:53 +01:00
Johannes Rieken 21b671d921 browser-test: exit(1) when test failed 2020-02-06 16:39:45 +01:00
isidor feba899d30 find widget aria labels: add commas
#89111
2020-02-06 16:19:09 +01:00
Alexandru Dima 519e5bb14c
Merge pull request #77762 from LadyCailin/master
Move indent right one when the highlighted line is a scope start/end
2020-02-06 16:17:00 +01:00
Alex Dima 06c034b92e
Use first lines with content to do special cases 2020-02-06 16:14:28 +01:00
Benjamin Pasero a82789a243 Untitled - run mode detection to detect modes from first line upon paste (fix #90147) 2020-02-06 15:57:44 +01:00
Johannes Rieken b4eb9933a4 add asExtensionUri-api proposal 2020-02-06 15:48:32 +01:00
Daniel Imms 675b553d16 Fix build 2020-02-06 06:40:06 -08:00
Benjamin Pasero a7dd8ee084 pfs - delete writeFileStreamAndFlush code which is not used anymore 2020-02-06 15:37:38 +01:00
Daniel Imms 96071429ba Typo Unauthroized 2020-02-06 06:33:18 -08:00
Alex Dima 2bee07a136
Use outer loop to goDown in special case 2020-02-06 15:29:29 +01:00
Alex Dima cef5c5a728
Have the tests green 2020-02-06 15:17:59 +01:00
Alex Dima fef9498fb3
Merge remote-tracking branch 'origin/master' into pr/LadyCailin/77762 2020-02-06 15:00:41 +01:00
Alex Dima 82838194fd
Use assertIndentGuides for new tests 2020-02-06 15:00:00 +01:00
Alex Dima eec46fcfc4
Tweak tests to use a tabSize that makes sense 2020-02-06 14:59:17 +01:00
Benjamin Pasero 64d55c50dc Simple file dialog missing drive letter on windows local (fix #90116) 2020-02-06 13:59:53 +01:00
Alex Dima 47378319a3
Merge remote-tracking branch 'origin/master' into pr/LadyCailin/77762 2020-02-06 13:03:27 +01:00
Alex Dima ea8d1b7e54
Change tests to assert active indent guides explicitly 2020-02-06 13:02:37 +01:00
isidor 5835d42bdf debug intregration tests: use debug.startDebugging 2020-02-06 12:50:33 +01:00