Commit Graph

89088 Commits

Author SHA1 Message Date
Matt Bierner 2ae9352ae3 Try to avoid opening text documents just to process diagnostics
To handle JS/TS diagnostics, we currently use the language mode of an open text document. This should always be correct, but also causes us to open text documents that we don't need to

This change instead tries using the file extension first before falling back to use the text document. Using the file extension is not strictly correct since users can setup weird file associations, but should be ok for the vast majority of use cases

Investigated as part of #101885
2021-10-19 17:54:23 -07:00
Matt Bierner 8fc2a8d2ce Fix comment 2021-10-19 17:54:23 -07:00
Raymond Zhao f58cc47983 Remove redundant comment 2021-10-19 17:10:07 -07:00
Raymond Zhao d0d4a33707 Take out nowrap rule in Settings editor
Fixes #135427
2021-10-19 16:58:26 -07:00
rebornix 0047e02372 fix #131706. 2021-10-19 16:51:07 -07:00
rebornix f6de5208d8 fix #126475 2021-10-19 16:37:00 -07:00
rebornix 286370b347 fix #122563. 2021-10-19 16:16:03 -07:00
Raymond Zhao 7f8d465069 Fixes #134149
- Add more Emmet onCommand activation points
- Only let Emmet commands show up in files
2021-10-19 16:07:27 -07:00
rebornix aea6270bf8 fix #120680 2021-10-19 15:31:15 -07:00
rebornix f94ce8b384 fix #128329 2021-10-19 15:23:32 -07:00
rebornix 945b0fde6c re #127177 2021-10-19 15:10:13 -07:00
rebornix f37df8f507 fix #130239. 2021-10-19 15:08:47 -07:00
Logan Ramos 98f31a44ab Bump distro 2021-10-19 17:20:56 -04:00
rebornix 89c7f3b264 fix #135340 2021-10-19 14:12:37 -07:00
Matt Bierner 156a951b64 Dispose of language status items on dispose
Fixes #135262

Also moves `_status` to top of file to make it clearer that it needs to be part of the lifecycle
2021-10-19 13:54:28 -07:00
Megan Rogge c72b5c4ada intercept and improve terminal launch error message (#135420) 2021-10-19 13:53:50 -07:00
Megan Rogge a535b04e04 enable terminal actions for web and when a terminal has been created (#135423) 2021-10-19 13:42:55 -07:00
John Harrison 0db19c10d6 Updating the TerminalInstance to only reigster link providers once. (#135419)
When a task reuses a terminal, the TerminalProcessManager would fire the processReady event each time a task is run, resulting in multiple registrations of the link providers. Re-registering the terminal link providers would cause xterm to trigger multiple overlapping providers on the same line of output, which is not supported by xterm at the moment. The net result is that no external link providers would work for terminals that are reused by tasks.
2021-10-19 13:39:17 -07:00
Alexandru Dima 550ae45ded Fixes #121160: Tokenize only visible model lines 2021-10-19 22:04:37 +02:00
Raymond Zhao 242a6c3e10 Fix default value comparison function
Fixes #130718
2021-10-19 12:50:29 -07:00
Daniel Imms 8f1de4ef9a Add left/right quotes as terminal word separators
Fixes #133660
2021-10-19 12:04:36 -07:00
Alex Ross 6f385bee78 Don't try to hide untracked views in filter view 2021-10-19 20:38:12 +02:00
Jackson Kearl 985090f51c Fix #135379 2021-10-19 11:27:41 -07:00
Jackson Kearl 569e06a834 Fix #135381 2021-10-19 11:19:21 -07:00
Rich Chiodo d49212e2d6 Update commands.json (#135319) 2021-10-19 10:09:56 -07:00
Jackson Kearl 856e6a81ae Fix #135395 2021-10-19 10:01:05 -07:00
Henning Dieterichs 3a19a2f22c Refactors bracket pair colorization feature. 2021-10-19 18:57:29 +02:00
Raymond Zhao 049691cf79 Fix env passing with open cmd (#135039)
Pass process.env using env flags

Fixes #134696
2021-10-19 08:32:57 -07:00
Alexandru Dima b21fcd3aa4 Expose onDidChangeHiddenAreas event (for #121516) 2021-10-19 17:00:43 +02:00
Johannes Rieken 0e48dd9af2 send telemetry when keytar shim is handed out to extensions, https://github.com/microsoft/vscode/issues/115215 2021-10-19 16:23:18 +02:00
Logan Ramos 1b364332c4 Use null coalescing instead of || 2021-10-19 09:46:12 -04:00
Alexandru Dima cdfee23440 Rename KeyCode enum members to more closely resemble ScanCode enum members 2021-10-19 15:38:09 +02:00
Alexandru Dima 36e0bf5a99 Add more media keys (fixes #47115) 2021-10-19 15:38:08 +02:00
Alexandru Dima b032d98a9a Explicit values are no longer necessary with const enums 2021-10-19 15:38:08 +02:00
Miguel Solorio f1291d0456 Make parameter hint highlight themable (Fixes #92297) 2021-10-19 06:32:00 -07:00
Johannes Rieken 6a9bd76b69 fix https://github.com/microsoft/vscode/issues/135326 2021-10-19 15:19:44 +02:00
Logan Ramos d8e92cac36 Fix appHost being improperly defined 2021-10-19 09:11:28 -04:00
Johannes Rieken 4ae42ccd2e fix suggest widget details min width 2021-10-19 14:51:26 +02:00
Benjamin Pasero 2e62d3decb debt - deprecate direct use of product 2021-10-19 14:50:08 +02:00
Tabitha Larkin fba6ce545e Add colorized bracket highlighting colours (#132494) 2021-10-19 05:48:39 -07:00
Johannes Rieken 19dca64e38 pass the correct cancellation token to working copy participants, https://github.com/microsoft/vscode/issues/135036 2021-10-19 14:45:48 +02:00
Johannes Rieken 95fe3ec83d early exit when working copy handlers have empty results, https://github.com/microsoft/vscode/issues/135036 2021-10-19 14:43:43 +02:00
Martin Aeschlimann 8434e32b5c remove unnecessary dot from 'welcomePage.tileShadow 2021-10-19 14:14:04 +02:00
Benjamin Pasero 32666ede94 sandbox - first cut file service implemented by main process (#132282) 2021-10-19 13:59:09 +02:00
João Moreno 41f79ee0e9 fix distro build vmImage 2021-10-19 13:59:03 +02:00
Alexandru Dima 65f8454089 Merge pull request #135369 from microsoft/alex/extra-keybindings
Improve keybindings
2021-10-19 12:29:27 +02:00
Benjamin Pasero bd6e614cda shared process - use a different event to dispose worker when loading/reloading 2021-10-19 11:55:13 +02:00
Alexandru Dima 1ae2d2ce9f Group various key code related maps in one table 2021-10-19 11:15:21 +02:00
Alexandru Dima 7dfe2e33ea Fix test running around loading assertCleanState 2021-10-19 11:09:47 +02:00
Benjamin Pasero 4478ce868d shared process - use correct hash function for config 2021-10-19 11:09:01 +02:00