Commit graph

115877 commits

Author SHA1 Message Date
Sandeep Somavarapu 3c03022835
fix #194427 (#198046) 2023-11-12 20:11:50 +01:00
Daniel Imms 927255318f
Remove special behavior of initial select to previous mark 2023-11-12 08:11:56 -08:00
Daniel Imms cdad2f9fa5
Scroll to command prompt start in command nav
Fixes #155543
Part of #198041
2023-11-12 06:01:57 -08:00
Daniel Imms f73c21bf38
Only filter empty commands when arg is provided 2023-11-12 05:52:35 -08:00
Daniel Imms 321f9101d4
Properly result skipEmptyCommands for command detection capability
Part of #155543
2023-11-12 05:24:12 -08:00
Marvin A. Ruder 78dd5447ce
Merge branch 'main' into npm-extension-bun-package-manager 2023-11-12 13:14:08 +01:00
Ladislau Szomoru 901d3e5c5f
Engineering - re-enable incoming/outgoing (#198039) 2023-11-12 12:45:08 +01:00
Benjamin Pasero 500a726e8c
aux window - support closeEmptyGroups setting (#198037)
* aux window - support `closeEmptyGroups` setting

* also support `closeEmptyWindow` setting
2023-11-12 12:35:32 +01:00
Marvin A. Ruder 4fd54f93f7
Merge branch 'main' into npm-extension-bun-package-manager 2023-11-12 11:54:50 +01:00
Benjamin Pasero 0d140d70e1
aux window - require targetWindow for standard mouse event (#198031)
* aux window - require `targetWindow` for standard mouse event

* .
2023-11-12 10:41:47 +01:00
Rob Lourens 7cbff1919e
Chat code cleanup (#198022)
* Clean up some obsolete chat API
Start deleting the interactive session provider, use agents only

* Delete old chat agents API

* Remove providerRequestId

* Remove unused stuff from interactive.d.ts

* Get rid of chat session state saving

* Fix test

* I guess this type was in use
2023-11-12 06:44:14 +01:00
Rob Lourens bdc113ffe1
Fix slash commands / followups mixup (#198003) 2023-11-11 23:42:41 +01:00
Rob Lourens ca8981c284
Make vscode own /help, add API for agents to customize it (#197964)
* Make vscode own /help, add API for agents to customize it
Towards #197081

* Fix build error
2023-11-11 14:28:30 -08:00
Daniel Imms 6b3ce2bacf
Don't resize to 1 row on options sync
Fixes #198012
2023-11-11 10:30:42 -08:00
Daniel Imms 3918c47751
Ensure sticky scroll never overlaps another commands prompt
Fixes #198008
2023-11-11 10:08:51 -08:00
Daniel Imms 6cf191ad49
Don't obscure scroll bar
Fixes #198007
2023-11-11 09:09:23 -08:00
Marvin A. Ruder 4645305f14
Add Bun as package manager to npm extension
* Auto-detect Bun by looking for `bun.lockb` lockfile
* Extend `npm.packageManager` setting
* Update documentation

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
2023-11-11 16:37:29 +00:00
Benjamin Simmonds 55c1e8473c
Exclude Zen Mode from Editor Tab Actions and Menu Items (#197990)
Updated preconditions for editor tab actions and menu items to exclude
Zen Mode
2023-11-11 17:04:08 +01:00
Daniel Imms 69c7da819a
Trim trailing command lines 2023-11-11 05:57:09 -08:00
Daniel Imms bbe4470125
Fix sticky scroll hover with gpu enabled
Fixes #197841
2023-11-11 05:40:08 -08:00
Daniel Imms 7309a617de
Improve comments 2023-11-11 05:18:32 -08:00
Daniel Imms 0fa8f868a5
Correct setting name in smoke test 2023-11-11 05:15:09 -08:00
Daniel Imms ad15edaffd
Support sticky scroll on partial commands
Fixes #197831
2023-11-11 05:12:01 -08:00
Daniel Imms 9f73e42b97
Don't re-apply outline class
Fixes #197997
2023-11-11 04:46:42 -08:00
Daniel Imms 8b45fc0cfc
Highlight multi-line commands in command navigation
Fixes #197995
2023-11-11 04:42:18 -08:00
Daniel Imms 1dd9e57d26
Support multi-line commands
Fixes #197858
2023-11-11 04:31:23 -08:00
Daniel Imms d099550cdd
Adopt new setting name 2023-11-11 04:30:54 -08:00
Daniel Imms 00e462037a
Improve polling for adjusting command started
This simplifies and improves the polling by scanning _all lines_
downwards, up to a maximum of 5. This is instead of scanning only lines
the cursor lands on at a poll which was never guaranteed to be on the
actual command start line.

A scheduler is also used and the adjust task is now flushed
syncronously to ensure command executed should never be actioned before
the command started position is adjusted.

Part of #197736
2023-11-11 04:19:29 -08:00
Daniel Imms acdab657fa
Change sticky scroll setting, add max line count
Part of #197858
2023-11-11 01:55:53 -08:00
Tyler James Leonhardt c2abdd2738
Add workbench.action.quickchat.launchInlineChat (#197984)
1. Open quick chat
2. Click on "start inline chat session"

This does not get rid of quick chat... but it should... so this command can be used to do so.
2023-11-11 07:01:54 +01:00
Daniel Imms e77abcd8af
Merge pull request #197961 from microsoft/tyriar/197736__refactor
Refactor CommandDetectionCapability to split out most platform-specific code
2023-11-10 21:02:27 -08:00
Daniel Imms f8bac03df3
Merge branch 'main' into tyriar/197736__refactor 2023-11-10 19:47:58 -08:00
Daniel Imms 50e60d26d7
Tidy up 2023-11-10 15:43:03 -08:00
Daniel Imms fa8db2119e
Prevent possible npe 2023-11-10 14:37:54 -08:00
Megan Rogge 4d5652d9bb
Merge pull request #197957 from microsoft/merogge/tab-descr
add terminal editor tab description
2023-11-10 14:34:14 -08:00
Megan Rogge 3fb1091bf5
Merge pull request #197966 from microsoft/merogge/run-active
preserve focus when running selected text in terminal editor
2023-11-10 14:08:42 -08:00
Daniel Imms 40d8298ca1
Fix instanceof checks 2023-11-10 14:07:16 -08:00
meganrogge 791e0882c1
fix #179981 2023-11-10 13:27:22 -08:00
Daniel Imms 91838f7c99
Register disposable 2023-11-10 13:26:08 -08:00
Michael Lively 6f2f46ec25
Merge x-doc and occurrence setting, merge word based suggestion settings (#197690)
* change x-doc setting for readability

* Update editor configuration options for word-based
suggestions and occurrence highlighting + settings migration

* cleanup
2023-11-10 13:17:10 -08:00
Megan Rogge 5d0263b099
Merge pull request #197962 from microsoft/merogge/multi-select
allow setting icon/color of multiple tabs
2023-11-10 13:11:44 -08:00
meganrogge 5cc6dbf1ca
apply to correct command 2023-11-10 12:47:38 -08:00
meganrogge 2879523ba1
fix #196578 2023-11-10 12:39:23 -08:00
Ladislau Szomoru 92fd182bea
SCM - Add multi-diff editor to incoming/outgoing (#197960)
* Initial implementation - saving my work

* SCM - Add multi-diff editor to incoming/outgoing
2023-11-10 12:31:16 -08:00
Daniel Imms b7e25adfbf
Merge pull request #197858 from microsoft/tyriar/197736
Adjust command executed marker by scanning downwards for command line text
2023-11-10 12:30:54 -08:00
meganrogge fcbadbac71
allow setting icon/color of multiple tabs 2023-11-10 12:27:29 -08:00
Logan Ramos 4629bf7ea2
Add won't fix to autoclose (#197959) 2023-11-10 21:20:02 +01:00
Daniel Imms 31f22e8f11
Remove todo 2023-11-10 12:16:50 -08:00
Daniel Imms 449233c71b
Remove _isWindowsPty prop 2023-11-10 12:14:30 -08:00
Daniel Imms 5a5d25711b
Improve code sharing between pty heuristics 2023-11-10 12:08:12 -08:00