Commit graph

104427 commits

Author SHA1 Message Date
Daniel Imms 6877e7d265
Support pwsh unix command not found error
Fixes #170484
2023-01-09 10:35:37 -08:00
Daniel Imms 04dc8ba26a
Support pwsh general error feedback provider
Part of #170484
2023-01-09 10:22:22 -08:00
Robo f807491a92
chore: update electron@19.1.9 (#170879) 2023-01-09 18:34:53 +01:00
Megan Rogge 408fc00570
check if bashrc exists before running it (#170870)
* fix #170868

* Update src/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2023-01-09 18:18:22 +01:00
Daniel Imms 9df499d09b
Merge pull request #170727 from microsoft/tyriar/hidden_by_default
Support hiding navigation menu items by default
2023-01-09 09:09:36 -08:00
David Dossett 5b043e8af4
Fix settings dropdown list border radius (#169343) 2023-01-09 08:22:57 -08:00
dependabot[bot] 2584c4b68b
Bump tokio from 1.21.2 to 1.23.1 in /cli (#170729)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.23.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 08:18:25 -08:00
Daniel Imms 0f96ecde92
Merge pull request #170730 from microsoft/tyriar/168804
Fix cwd unicode encoding in fish, bash and zsh si scripts
2023-01-09 07:50:57 -08:00
Daniel Imms 93beab93b6
Merge pull request #170733 from probablykasper/terminal-tabsize
Add `terminal.integrated.tabStopWidth` option
2023-01-09 07:43:45 -08:00
SteVen Batten be1f64e98e
use publisher in extension name for telemetry api (#170740)
use publisher in extension name
2023-01-09 07:39:59 -08:00
Daniel Imms 36c29d4aa1
tabSize -> tabStopWidth 2023-01-09 07:28:33 -08:00
Daniel Imms 124759bd2e
Update src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts 2023-01-09 07:24:47 -08:00
Alex Ross f7409f1ebf
An extension has contributed more than the allowable number of actions to a comments menu (#170867)
Fixes #170723
2023-01-09 16:07:43 +01:00
Johannes Rieken 67fd9d1051
joh/breadcrumb reveal (#170863)
* don't reveal negative indexes

* don't update breadcrumbs on each and every file system registration

fixes https://github.com/microsoft/vscode/issues/169875
2023-01-09 15:48:16 +01:00
Benjamin Pasero c1f4c0c2bc
[perf] consider to yield when creating workbench contributions (fix #169937) (#170687)
* [perf] consider to yield when creating workbench contributions (fix #169937)

* await contributions from previous phase

* 💄

* call `mark('code/didStartWorkbench')` earlier
2023-01-09 15:47:31 +01:00
Sandeep Somavarapu 5380f93537
perf additions (#170842)
* perf task
- add perf task
- support duration marks in args
- add didOpenRenderer mark

* fedback
- use different file
- remove unnecessary markers

* remove perf script
2023-01-09 15:39:21 +01:00
Benjamin Pasero fe436d3f13
sandbox - enable utility process by default also in stable (#170848) 2023-01-09 14:27:24 +01:00
Ladislau Szomoru 65962c405e
Git - cleanup getRemotes() (#169839)
* Git - cleanup getRemotes()

* Remove test for read-only remote as the code to determine that a remote is read-only has been moved out of the function that does the parsing
2023-01-09 14:24:35 +01:00
Benjamin Pasero ed8b63d8bf
perf - postpone WalkThroughSnippetContentProvider to later phase (#170833)
* perf - postpone `WalkThroughSnippetContentProvider` to later phase

* add comment
2023-01-09 12:19:30 +01:00
Peng Lyu eaa9b1b70e
Fix #170779. When clause for nb diff editor actions. (#170814) 2023-01-08 22:36:36 -08:00
Rob Lourens 04b15ff231
Don't throw when we failed to find a debug hover expression. (#170810)
This can happen because an extension returned a bad result.
Fix #170074
2023-01-08 14:32:01 -08:00
Joyce Er 27084dc253
Support Continue Working in X options in remote indicator (#170809) 2023-01-08 23:22:24 +01:00
Connor Peet 638db26797
testing: initial implementation of continuous run (#170770)
First pass of https://github.com/microsoft/vscode/issues/134941

The UI is pretty minimal so far, just a new icon (though I have a
proposal for some changes in the UX channel.)

If there's more that one profile that supports continuous test runs,
then we open a quickpick and ask the user which ones they want to use.

The data flow is then fairly simple. We call the `profile.runHandler`
with the appropriate request, but just doesn't "track" it like we do for
normal test runs. Then, any `createTestRun` calls are tracked as
ordinary extension-triggered test runs.

Currently we don't do anything to associate these new test runs with the
fact that they were from a specific auto-run request, but that could be
added if need to in the future.
2023-01-08 10:16:51 -08:00
Rob Lourens be54d2be91
Check notebook URIs in BulkCellEdits (#169669)
* Revert "Disallow cell URIs with NotebookEdit"

This reverts commit d7576eea81.

* Check notebook URIs in BulkCellEdits
Fix #146690
2023-01-07 17:35:25 -08:00
Kasper 95bec874d3
Merge branch 'main' into terminal-tabsize 2023-01-07 00:11:50 +01:00
Daniel Imms 70c45ba029
Merge pull request #170722 from microsoft/tyriar/170715
Create a new terminal when running active in task terminals
2023-01-06 14:33:49 -08:00
Daniel Imms eda98d350c
Fix cwd unicode encoding in fish, bash and zsh si scripts
Fixes #168804
2023-01-06 14:08:19 -08:00
Daniel Imms e3d7d52b98
Address feedback 2023-01-06 13:53:48 -08:00
Daniel Imms 86ab7982ea
Support hiding navigation menu items by default 2023-01-06 13:40:44 -08:00
Daniel Imms b78d35a1ac
Merge pull request #170718 from microsoft/tyriar/fix_var_resolver
Fix variable resolver on safe profile paths
2023-01-06 12:38:36 -08:00
Daniel Imms 5c92b1325e
Merge pull request #170720 from microsoft/tyriar/169694_2
Wait for shell type to be ready before preparing path for shell
2023-01-06 12:19:21 -08:00
Daniel Imms 305de596d2
Consolidate editor and group focus logic 2023-01-06 12:06:28 -08:00
Daniel Imms 6226913939
Create a new terminal when running active in task terminals
Fixes #170175
2023-01-06 11:59:54 -08:00
Daniel Imms 1bab7a5650
Wait for shell type to be available before preparing path for shell
Fixes #169694
2023-01-06 11:48:21 -08:00
Daniel Imms 1d344e8bd4
Remove | undefined from TerminalShellType
This goes against common style in the terminal and caused some confusion
2023-01-06 11:48:20 -08:00
Daniel Imms 51a7c99cfb
Fix variable resolver on safe profile paths
Command Prompt was not being detected properly because of this regression.
2023-01-06 11:35:30 -08:00
Connor Peet 32bb67bc16
debug: log progress in NamedPipeDebugAdapter tests (#170713)
This test has timed out rarely, but several times in CI. I have tried to review the code and hit the failure locally, but without success. This PR adds a progress log that might contain a hint....
2023-01-06 20:28:01 +01:00
Connor Peet 409b1d8423
Merge pull request #170711 from microsoft/connor4312/pr-170339
Connor4312/pr 170339
2023-01-06 10:41:44 -08:00
Peng Lyu 44caddbba3
Fix #170683. Only disable word wrap for traceback. (#170709) 2023-01-06 10:30:45 -08:00
Connor Peet 83b9c9a90c
add tests 2023-01-06 10:26:31 -08:00
Daniel Imms 8903d9f8a2
Merge pull request #170707 from microsoft/tyriar/170581
Fix terminal profile when falling back to default profile
2023-01-06 10:25:30 -08:00
Daniel Imms 16df0f26ca
Fix terminal profile when falling back to default profile
Fixes #170581
2023-01-06 09:53:37 -08:00
Connor Peet 612d2c8406
testing: review implicit public fields, cleanup unused exports (#168927)
* testing: review implicit public fields

For #166603

* debt: reduce unused exports

For #164935
2023-01-06 09:09:08 -08:00
Daniel Imms 282e2f1e3b
Merge pull request #170697 from microsoft/tyriar/170463
Return instead of throwing when the markers can't be found
2023-01-06 09:03:12 -08:00
Daniel Imms ae8b7e703f
Merge pull request #170691 from microsoft/tyriar/142639_2
Fix IME input in terminal find widget
2023-01-06 09:03:00 -08:00
Daniel Imms de629c1540
Merge pull request #170241 from microsoft/tyriar/unsafe_path__cmder
Support cmder profile detection
2023-01-06 09:01:38 -08:00
Alex Ross c12209af1e
Handle tree data provider error in getChildren (#170698)
* Try a fix for all interfaces

* Handle tree data provider error in getChildren

* Revert "Try a fix for all interfaces"

This reverts commit 2877ed1e26.

* Add error class
2023-01-06 17:58:00 +01:00
Daniel Imms cbc8c30de5
Merge pull request #170250 from microsoft/tyriar/170242
Add unit tests for preparePathForShell
2023-01-06 07:38:01 -08:00
Daniel Imms 6becf165c2
Merge pull request #170689 from microsoft/tyriar/148572
Fix local terminal launching when back and frontend OS differs
2023-01-06 07:37:10 -08:00
Daniel Imms a2a43d720d
Merge pull request #170696 from microsoft/tyriar/170643
Ctrl/cmd+shift+o to open detected link in the terminal
2023-01-06 07:34:14 -08:00