Commit Graph
124157 Commits
Author SHA1 Message Date
Johannes 8d4d37c08c Merge branch 'main' into joh/chatWidget 2024-03-18 09:48:12 +01:00
Benjamin PaseroandGitHub 5412743dcb working copy - allow to shutdown even with dirty changes and no backup (#207974) 2024-03-18 08:00:51 +01:00
Don JayamanneandGitHub 9ccb0fa738 Remove dead code (type IOutputRequestDto) (#207971) 2024-03-17 21:16:10 -07:00
Don JayamanneandGitHub 9f25e63114 Re-order Cut/Copy/Paste in the Cell context menu (#207963) 2024-03-18 04:14:04 +01:00
Don JayamanneandGitHub b216b43c2f Shift+PageUp/Down to select NB output contents (#207962) 2024-03-18 00:37:02 +01:00
Don JayamanneandGitHub 8c7cf6a7ad Support Ctrl+A in notebook outputs (#207548)
* Support Ctrl+A in notebook outputs

* Better handling of outputs

* oops

* Better determination of outputId
2024-03-18 00:31:17 +01:00
Daniel ImmsandGitHub aefe7e830c Merge pull request #207952 from microsoft/tyriar/instance_cleanup
Reuse write code in _onProcessData
2024-03-17 13:03:11 -07:00
Daniel Imms 08159ae502 Reuse write code in _onProcessData 2024-03-17 09:55:35 -07:00
BABA 647f4749bc Better highlight color for test explorer retired icon 2024-03-17 22:42:51 +08:00
BABA 0d7f35cf5b Add missing css variable in vscode-known-variables.json 2024-03-17 22:42:41 +08:00
Benjamin PaseroandGitHub ca90b8ec28 aux window - drop buggy AuxWindowUnsupported capability
This needs a different approach, likely on the level of custom editors itself. Given custom editors are to implement backups, moving between windows should actually not result in data loss in most cases.

For custom editors that ignore backups, a better approach would be to throw an error or force to save right before a `webview` is about to get disposed because it moved to another window.
2024-03-16 09:44:48 +01:00
997212d6c0 Use indentSize instead of tabSize for LineCommentCommand (#193811)
Tab size and indent size were separated in #155450, but for deciding
where to put "//" or "#" when toggling a line comment tab size was still
used.

Fixes #170393.

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-03-16 01:52:14 +01:00
c7578a3366 Do not trim whitespace when part of strings or regexes (#198164)
* Do not trim whitespace when part of strings or regexes

Fixes https://github.com/microsoft/vscode/issues/195010. If the token to be removed is part of a string or a regex, then we do not want to remove the character, as it is very likely semantically important.

* Address initial feedback:

1. Add a new setting to control whether to trim whitespace in multiline strings/regexes. This setting is then piped through to everywhere that is calling trim whitespace, which is file save editing, the trim whitespace command, and notebooks.
2. Force line tokenization to complete when the setting is enabled so that trim is accurate.

* Don't force tokenization; instead, check to see if there are tokens for a given line and do not format if there are none.

* Look for syntactical tokens

* Fix compilation errors

* Add a test

---------

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2024-03-16 00:43:15 +00:00
7caab31bf4 editor paste event result return ClipboardEvent (#192732)
* editor paste event result return ClipboardEvent

* Remove commented out code

* Cleanup `applyDefaultPasteHandler`

---------

Co-authored-by: Matt Bierner <matb@microsoft.com>
2024-03-16 00:42:52 +00:00
e1acb1bbb5 feat: add ipcLogger and timeoutDelay for IPCServer (#193896)
* feat: add ipcLogger and timeoutDelay for IPCServer

* 💄

---------

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-03-15 23:56:59 +00:00
b7bfbefe35 Update extensionPaths when web extension host started (#193849)
* Invalidate and update extensionPaths on load

* Also update the `ExtensionPaths` search tree after startup because it applies an extension delta

* Cache realpath calls

---------

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-03-16 00:56:36 +01:00
Daniel ImmsandGitHub 32b939e4d8 Merge pull request #207892 from microsoft/tyriar/cleanup
Remove unwanted comment, improve name
2024-03-15 15:29:49 -07:00
Daniel Imms 7583d9899d Remove unwanted comment, improve name 2024-03-15 15:14:37 -07:00
Daniel ImmsandGitHub 2f4d129163 Merge pull request #207891 from microsoft/tyriar/207372
Move TerminalMainContribution back to block startup
2024-03-15 15:12:41 -07:00
Daniel ImmsandGitHub ca3acd1090 Merge pull request #207888 from microsoft/tyriar/207488
Simplify terminal chat layout, fix width of content
2024-03-15 15:02:01 -07:00
Daniel Imms 3292991f20 Register disposables 2024-03-15 14:57:55 -07:00
Daniel Imms 1b760ca082 Move TerminalMainContribution back to block startup
Fixes #207372
2024-03-15 14:56:38 -07:00
Daniel Imms af87eacc15 Remove unused import 2024-03-15 14:47:35 -07:00
Peng LyuandGitHub a737ec76d4 Avoid kb conflicts with inline chat (#207890) 2024-03-15 22:47:05 +01:00
Daniel ImmsandGitHub e8fd06fba1 Merge pull request #207889 from microsoft/limitSplit
Limit splits of `=` for environment variables.
2024-03-15 14:44:36 -07:00
Daniel Imms b2b2dc1e68 Handle resizing off screen 2024-03-15 14:38:03 -07:00
Peng LyuandGitHub 5ac16f437f Merge pull request #207887 from microsoft/rebornix/diplomatic-crab
Adopt InlineChatWidget in notebook and fix UI glitches.
2024-03-15 14:35:15 -07:00
Tyler James LeonhardtandGitHub ce0b797bdb Temporary solution to enable an "All Files" option in the #file variable (#207886) 2024-03-15 22:34:23 +01:00
Daniel Imms c2be0c1f7f Remove hardcoded 400px
Fixes #207488
2024-03-15 14:31:36 -07:00
Daniel Rosenwasser 250211e505 Limit splits of '=' for environment variables. 2024-03-15 21:25:03 +00:00
Peng Lyu 61af42e8c0 Adopt InlineChatWidget in notebook 2024-03-15 14:18:22 -07:00
Peng Lyu cf5ebe5a55 Update inline chat input width when toolbar width change. 2024-03-15 14:17:47 -07:00
Rob LourensandGitHub b58f46da6f Add API warning to defaultImplicitVariables (#207883)
Add proposed API warning to defaultImplicitVariables
2024-03-15 21:45:51 +01:00
Tyler James LeonhardtandGitHub c99ae85c1e Fix a couple style issues (#207873)
* no more pointy bottom corners of quick pick
* quick pick items have some padding again
* inherit radius instead of hard coding pixels
2024-03-15 12:30:59 -07:00
Benjamin PaseroandGitHub 2fed6fa574 aux window - pick the right editor part (#207874) 2024-03-15 12:30:35 -07:00
Benjamin PaseroandGitHub fedccb4ec1 aux window - override user-agent styles for tables for extensions editor (#207876) 2024-03-15 20:30:13 +01:00
Daniel Imms ad28dbfbc9 Simplify terminal chat layout
Part of #207488
2024-03-15 12:24:00 -07:00
Benjamin PaseroandGitHub 070af85e73 commands - log error when history is invalid (#207706) (#207871) 2024-03-15 12:13:22 -07:00
Connor PeetandGitHub ebfab45007 testing: colorize ansi codes in plain text test messages (#207852)
* testing: colorize ansi codes in plain text test messages

Closes #207750

* remove ansi removal
2024-03-15 11:58:41 -07:00
Tyler James LeonhardtandGitHub d5217d288f shorter array syntax (#207866)
follow up https://github.com/microsoft/vscode/pull/207863#discussion_r1526629856
2024-03-15 11:15:16 -07:00
Daniel ImmsandGitHub 9ba967fb5b Merge pull request #207865 from microsoft/tyriar/207371
Only show pid if it's valid
2024-03-15 11:07:54 -07:00
Daniel Imms f680d02147 Only show pid if it's valid
Fixes #207371
2024-03-15 10:52:37 -07:00
Tyler James LeonhardtandGitHub cf824b2b63 Ensure ItemActivation.NONE fires an onDidChange event (#207863)
* Ensure `ItemActivation.NONE` fires an onDidChange event

Fixes https://github.com/microsoft/vscode/issues/207832

* Add a test

* yay tests!
2024-03-15 18:51:21 +01:00
d2d370fc86 Sort lines: sort all lines if nothing selected. (#200325)
* Sort lines: sort all lines if nothing selected.

Previously, 'sort lines' did nothing if nothing was selected.

Likewise 'delete duplicate lines' should apply to all lines if nothing is selected.

* 💄

---------

Co-authored-by: Matthew Hickford <matthew.hickford@cloud.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-03-15 17:41:34 +00:00
Aiday Marlen Kyzy 039be97cb0 look at the registry of the tokenization, why is there an error 2024-03-15 18:35:01 +01:00
9f1264d9ca Dispatch GestureEvent in node depth order (#200612)
Dispatching `GestureEvent` in node depth order

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-03-15 17:57:03 +01:00
c0df105700 Fix broken description of editor.cursorSurroundingLinesStyle setting (#201482)
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-03-15 17:53:26 +01:00
87d494bbc1 Add support for recognizing word locales in word operations (#50045) (#203605)
* Add support for recognizing word locales in word operations (#50045)

* Move intlSegmenterLocales in the WordCharacterClassifier class

* Rerun compiler

* Renames

* Avoid duplicating code

---------

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2024-03-15 17:43:23 +01:00
Henning DieterichsandHenning Dieterichs b7d35c8bdd Implements #206808 2024-03-15 17:08:36 +01:00
Aiday Marlen Kyzy 668e8aa1ba separating suites by language 2024-03-15 17:04:30 +01:00