Commit Graph

108477 Commits

Author SHA1 Message Date
Benjamin Pasero
3f7bc08865 tests - do not break codeAutomationExit API (refs microsoft/vscode-test-web#82) (#181682) 2023-05-08 12:36:55 +02:00
Rob Lourens
60fe2d5970 💄 (#181647)
Clean up from hacking session
2023-05-05 18:35:11 +02:00
Rob Lourens
aebaec6caf Add API for custom slash command providers (#181604)
Likely temporary API for experimentation
2023-05-05 10:00:21 +02:00
Benjamin Pasero
1894181c08 logs - make sure to attach all logs in browser tests (#181578)
* logs - make sure to attach all logs in browser tests

* separate server logs into `server` folder
2023-05-05 07:02:40 +02:00
Matt Bierner
17c9f969c9 Move code action UI into controller (#181593)
This merges the codeActionUi class into `CodeActionController` to reduce the number of abstractions
2023-05-05 07:59:00 +10:00
Matt Bierner
1a29d4c064 Add better fall backs to standard pasting logic (#181585)
Fixes #181489

This tries to avoid having copy paste provider mess up normal text copy and paste by doing the following:

- When copy paste providers are used but non end up handling the paste,  compute the `PastePayload` more correctly

- If only a single provider is used and it's the default text provider, fall back to the editor's paste handler instead or using it

- Be more aggressive about avoiding invoking providers. Before deciding to override paste, we now check a list of possible mime types on the clipboard. We can then use this list to filter out providers which we know will not handle any of these types
2023-05-05 07:58:45 +10:00
Connor Peet
c8718e7290 cli: shut down service on windows more reliably (#181584)
* cli: shut down service on windows more reliably

Use the singleton kill logic.

Fixes #175268

* fix lint
2023-05-04 14:56:09 -07:00
Megan Rogge
87eb936172 Merge pull request #181568 from microsoft/merogge/then
`.then -> await` in `AbstractTaskService` & other cleanup
2023-05-04 14:55:24 -07:00
Daniel Imms
2c73d2651c Merge pull request #181564 from microsoft/tyriar/181559_2
Move type ahead into a terminalContrib
2023-05-04 13:52:32 -07:00
Daniel Imms
ca342a640c Merge pull request #181579 from microsoft/tyriar/correct_returns
Correct return types on process manager
2023-05-04 13:52:18 -07:00
meganrogge
460ecd3237 fix issue 2023-05-04 13:48:04 -07:00
meganrogge
3ffadb687b Revert "try something else"
This reverts commit ac65011e6b.
2023-05-04 13:25:20 -07:00
meganrogge
ac65011e6b try something else 2023-05-04 13:20:39 -07:00
meganrogge
d5a99e98b1 Revert "try something else for test fix"
This reverts commit 4d076a73de.
2023-05-04 13:11:40 -07:00
meganrogge
4d076a73de try something else for test fix 2023-05-04 13:05:35 -07:00
meganrogge
cf51fb8276 Revert "try to fix test"
This reverts commit 009a044fd6.
2023-05-04 13:03:21 -07:00
meganrogge
009a044fd6 try to fix test 2023-05-04 12:54:33 -07:00
Rob Lourens
cc7cbe433d Fix event handling in nested lists (#181572)
Fix #97820
2023-05-04 12:50:32 -07:00
Connor Peet
8b28c834bb cli: do not set tunnel mutex when running from service only (#181574)
Fixes #181525
2023-05-04 21:11:33 +02:00
Daniel Imms
711ac10ee7 Correct return types on process manager 2023-05-04 12:09:02 -07:00
meganrogge
59d385fe87 slight tweak 2023-05-04 12:02:31 -07:00
Tyler James Leonhardt
f9b4b4c6a3 Pass session down so we can avoid a network call (#181570)
We don't need to fetch the user details when the Auth Session already has the info we need. This PR removes that extraneous web request.

I've also changed the `User-Agent` that we pass to be more specific so we can narrow down any future issues with spamming web requests.

Fixes #173645
2023-05-04 11:59:25 -07:00
meganrogge
341f89f64a simplify further 2023-05-04 11:51:56 -07:00
meganrogge
49bc68f9e3 greatly simplify run task arg handling 2023-05-04 11:46:20 -07:00
Ulugbek Abdullaev
e4bb8fa827 fix: letter-based navigation in file explorer
Fixes #179528
2023-05-04 20:42:11 +02:00
Peng Lyu
87de3d6dcb Insert response into active notebook (#181378)
* Insert response into active notebook

* Remove unncessary parsing
2023-05-04 11:12:40 -07:00
Matt Bierner
bddaaabe14 Disable paste actions in readonly editors (#181562) 2023-05-04 20:06:08 +02:00
Daniel Imms
41cc3a4e5d Merge pull request #181559 from microsoft/tyriar/181538
Clean up of terminal interfaces part 1
2023-05-04 11:05:59 -07:00
Rob Lourens
27f30a3a5d Remove items from vscode-known-variables (#181561)
Remove items from vscode
2023-05-04 20:02:21 +02:00
meganrogge
5fe80eaa76 rm .thens from AbstractTaskService 2023-05-04 11:00:30 -07:00
Daniel Imms
c3d7532193 Fix tests usage of config service 2023-05-04 10:57:10 -07:00
Daniel Imms
613a494304 Move to config service over terminal config helper 2023-05-04 10:55:29 -07:00
Daniel Imms
b58c8ed4e6 Move type ahead into a terminalContrib
Part of #181538
2023-05-04 10:47:06 -07:00
Matt Bierner
d592c3c93d Paste should insert text at all selection locations (#181558)
Fixes #181486
2023-05-04 19:42:02 +02:00
Connor Peet
32dee77a1a fix: issues with platform-specific properties in launch configurations (#181552)
Fixes #181529
2023-05-04 10:33:56 -07:00
Raymond Zhao
9cdac561fb Mention opening and saving in simpleDialog setting (#181554) 2023-05-04 19:30:18 +02:00
Daniel Imms
66a45c0089 Move key listener cwd refreshing into a single place 2023-05-04 10:25:59 -07:00
Megan Rogge
79a7b5cf55 Merge pull request #180546 from markw65/in-progress-tasks-fix
Fix a task startup race
2023-05-04 10:18:30 -07:00
Daniel Imms
fcec1b7a7d Make TerminalInstance._processManager private 2023-05-04 10:05:23 -07:00
Rob Lourens
2f14a7f8c2 Remove debug actions from editor context menu when not in debug session (#181546)
Fix #180752
2023-05-04 19:01:15 +02:00
Daniel Imms
5ad749ed01 Inline disableShellIntegrationReporting
This wasn't used on ITerminalInstance.disableShellIntegrationReporting so it was
just cluttering the public interface
2023-05-04 10:00:55 -07:00
Daniel Imms
93d2fa6e63 Merge pull request #181539 from microsoft/tyriar/remote_clean
Simplify RemoteTerminalBackend
2023-05-04 09:57:06 -07:00
Daniel Imms
86fa8f4292 ISerializedCommand -> ISerializedTerminalCommand 2023-05-04 09:56:55 -07:00
Daniel Imms
e2d998628a Merge pull request #181544 from microsoft/tyriar/181537
Allow si decoration interaction with scroll highlight
2023-05-04 09:55:14 -07:00
Daniel Imms
1f66b4c2c4 Derive command/serializable command from a base interface 2023-05-04 09:54:25 -07:00
Rob Lourens
2b470d47ee Fix chat list styles (#181543) 2023-05-04 18:51:57 +02:00
Johannes Rieken
3cc6d24f9a Merge pull request #181542 from microsoft/joh/corporate-whale
joh/corporate whale
2023-05-04 18:49:10 +02:00
Daniel Imms
bd9f8dac07 Consolidate ITerminalCommand interface
Part of #181538
2023-05-04 09:42:43 -07:00
Daniel Imms
2764ab5534 Merge branch 'main' into tyriar/remote_clean 2023-05-04 09:36:01 -07:00
Daniel Imms
43b07bf40d Merge pull request #181523 from microsoft/tyriar/181522
Use a nonce to verify si commands
2023-05-04 09:35:31 -07:00