121903 Commits

Author SHA1 Message Date
Benjamin Christopher Simmonds
73497ea692
Fix copyright statement (#213543) 2024-05-27 14:05:14 +02:00
Alex Ross
c8f684fd3b
Fix comments memory leak (#213542)
Fixes #213535
2024-05-27 13:52:40 +02:00
Benjamin Pasero
2f0b7c280e
watcher - more dispose and remove E15 workaround (#213540) 2024-05-27 13:49:49 +02:00
Martin Aeschlimann
4ed3738da5
Color theme preview not working with "window.systemColorTheme": "auto" (#213539) 2024-05-27 13:36:56 +02:00
Benjamin Pasero
b4a2c27b61
watcher - add the utility process worker to disposables (#213538) 2024-05-27 13:18:20 +02:00
Benjamin Christopher Simmonds
0d64037060
Add license for deviceid (#213536) 2024-05-27 12:13:10 +02:00
Sandeep Somavarapu
09e9d305a2
report new windo profile setting (#213531) 2024-05-27 11:26:21 +02:00
Aiday Marlen Kyzy
d309e11579
Remove brackets from comments, strings and regexes before evaluating the indentation (#210641)
* wip

* polishing the code

* adding code

* adding the language

* reshuffling the code to avoid cyclic dependency

* polihsing code

* uncommenting tests

* also adopting the indentation rules within the reindentation operation

* using instead the sliced line tokens instead of the scoped line tokens

* polishing the code

* using start indices instead

* using value everywhere

* using the token data to type the tokens

* setting to number instead of standard token type

* using token data from autoindenttest.ts

* using same code in both test files

* placing instantiation service into the registerLanguage method

* copying object into the node js autoindent.ts
2024-05-27 11:18:00 +02:00
Johannes Rieken
e3b7a27662
fix https://github.com/microsoft/vscode/issues/181407 (#213530) 2024-05-27 11:16:22 +02:00
Johannes Rieken
f80875f681
fix https://github.com/microsoft/vscode/issues/213526 (#213527) 2024-05-27 09:51:09 +02:00
Rob Lourens
fd11ed87fd
Add "Open in Editor" button for chat history (#213518)
Fix #213517
2024-05-27 05:07:13 +02:00
Ladislau Szomoru
bbb3b1c06b
Working sets - add preserveFocus (#213397)
* Working sets - preserve focus when applying the working set was initiated by an action that was taken in the panel part (ex: switching branches from the terminal)

* Pull request feedback

* renames and cleanup

* renames and cleanup

* renames and cleanup

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2024-05-26 15:19:25 +02:00
Robo
56db61ec8a
chore: update remote node.js (#213439)
* chore: update remote node.js to v20.11.1

* chore: remove io_uring workaround

* chore: update checksums

* temp: update distro

* ci: rebuild cache

* chore: bump distro
2024-05-26 07:12:14 +02:00
Rob Lourens
6749a5a0bb
Don't show chat agent hover on empty space in header (#213486)
Fix microsoft/vscode-copilot#5271
2024-05-26 09:00:37 +09:00
Rob Lourens
f5056736f9
Sort @workspace /explain above @terminal /explain (#213482)
Fix microsoft/vscode-copilot-release#1245

This is a bit of a hack but has some advantanges over adding an 'order' field to the chat participant or something like that. We can keep the order the same in other cases except for when the user is typing to filter the / list, then @terminal slash commands will be pushed down.
2024-05-26 09:00:10 +09:00
Rob Lourens
cb2759ec70
Fix "new chat" before focusing chat panel (#213478)
Fix #213353
2024-05-26 08:59:00 +09:00
Ladislau Szomoru
91b99e1445
Debt - dispose child instantiation service (#213471) 2024-05-25 18:25:24 +02:00
Benjamin Christopher Simmonds
d8c3723818
Add focus indication for compact menu (#213463)
indicate when compact menu is focused
2024-05-25 17:58:08 +02:00
Benjamin Christopher Simmonds
28b07b843a
Fix menu computation when compact on right side (#213459)
fix menu computation when compact on right side
2024-05-25 14:23:54 +02:00
Benjamin Pasero
2188b46e88
ts - enable use code watcher by default (#213450) 2024-05-25 12:48:33 +02:00
Joyce Er
3e8b60f276
feat: easier keyboard flow for removing chat attachments (#213436) 2024-05-24 17:36:06 -07:00
Joyce Er
7fe48ce74b
feat: add top level Symbol... to Attach Context picker (#213435)
* feat: enable attaching symbols to chat via `#`

* feat: add `Symbol...` to Attach Context picker
2024-05-24 17:34:59 -07:00
Rob Lourens
937aa312c9
Change proposal for chat participant "when" clause (#213427)
* Change proposal for chat participant "when" clause

* This
2024-05-24 23:41:08 +02:00
Rob Lourens
4f03e9261f
Add "when" clause to chat participants (#213425)
* Add "when" clause to chat participants
Fix #212447

* Change _agents to a Map and write some tests

* Fix import
2024-05-24 14:03:24 -07:00
Sandeep Somavarapu
2a96819e62
add item label (#213422)
* add item label

* update active window label
2024-05-24 14:02:59 -07:00
Megan Rogge
788d0e0d88
provide default settings (#213419)
fix #213411
2024-05-24 13:47:47 -07:00
Justin Chen
42f3eac3ea
issue reporter re-open save state (#213418)
if anything is typed and we call open reporter again, saves issue title and data
2024-05-24 22:10:34 +02:00
Matt Bierner
934af755c4
Hook up prototype paste with imports for JS/TS (#204665)
* Hook up prototype paste with imports for JS/TS

For https://github.com/microsoft/TypeScript/pull/57262 but with proposed changes to ts protocol

* Support new api

* Update
2024-05-24 21:57:30 +02:00
Matt Bierner
fb7f5a9a83
Disable web TS type acquisition (#213412)
We're waiting on some perf improvement for upstream types installer before turning this on everywhere
2024-05-24 21:51:41 +02:00
Justin Chen
d05d280364
web reporter refactor and issueFormService (#212951)
* web version working

* change to mainWindow

* PROPER MOVEMENT

* working for web as well

* move issueFormService to workbench/contrib/issue

* cleaning up{

* more cleanup, added setting

* styling

* use mainwindow to open and closee

* css fixes

* fix css again

* fix CSS and wonky applyCSS rules

* change gulpfile

* add and update system info

* address some of the comments

* move files! small changes

* move JS and non window specific back to electron sandbox

* fix on issueReporter.js

* fix build file

* fix gulp file too....

* move everything into contrib

* fix workbench import

* move everything else into contrib, fix import

* change name to web

* applying more feedback fixes :D

* fix command and remove unused import:

* add back issueTroubleshoot

* fix gulpile outputs

* fix out exclusion:
2024-05-24 11:36:46 -07:00
Benjamin Christopher Simmonds
0d350085d6
Add tests for editor group model (#213405)
* Add test for editor group model

* user helper function
2024-05-24 10:10:36 -07:00
Sandeep Somavarapu
e971e4ee51
fix #194105 (#213403) 2024-05-24 18:40:36 +02:00
Rob Lourens
b9fa819edd
Fix broken codeblocks (#213399)
* Fix broken codeblocks
Fix #213382

* Fix tests
2024-05-24 18:30:57 +02:00
Benjamin Christopher Simmonds
1e1afd0dd7
Scope custom editor and webview context keys to editor groups and global context (#213398)
Properly scope custom editor and webview context keys
2024-05-24 08:47:54 -07:00
Johannes Rieken
b6c1b52bac
Remove configure inline chat command from menu because it isn't popular at all and takes space (#213396)
also fixes https://github.com/microsoft/vscode-copilot/issues/5662
2024-05-24 16:50:41 +02:00
Benjamin Christopher Simmonds
edf68345d1
Fix issue #212877: Use Action context for Multi Diff Editor Actions (#213293)
fix #212877
2024-05-24 15:55:46 +02:00
Johannes Rieken
9910fc2a26
check uri when combining edits from different groups (#213390) 2024-05-24 15:42:01 +02:00
Johannes Rieken
df2881f432
show filename for compare code blocks (#213389) 2024-05-24 15:36:31 +02:00
Johannes Rieken
a5e41db5c7
inline chat for notebook cell uses the Notebook chat location (#213385)
* inline chat for notebook cell uses the `Notebook` chat location

* fix tests
2024-05-24 14:10:49 +02:00
Johannes Rieken
e67cdb56b1
clean up dead context keys and other dead code (#213387) 2024-05-24 14:07:41 +02:00
Johannes Rieken
de1410c53f
don't always consume mouse wheel (#213383)
for chat widget (list) and for chat input editor (actually all simple editor cases)
2024-05-24 13:22:56 +02:00
Johannes Rieken
2e98100d22
Joh/homely-damselfly (#213376)
* chore - `ReplyResponse` cleanup

* associate hunk data with response id

* Associate hunk data with response state so that accepting hunks updates the text edit group

* first cut of moving N-edits conversion from inline chat to panel
2024-05-24 11:14:49 +02:00
Ladislau Szomoru
6bd20f68f8
SCM - add commands to focus previous/next resource group (#213377)
* Initial implementation

* 💄

* Fixed issue with focusing outside the tree
2024-05-24 10:51:32 +02:00
Joyce Er
7bb6755241
feat: enable attaching symbols to chat via @ (#213347)
* feat: enable attaching symbols to chat via `@`

* Oop
2024-05-24 10:24:21 +02:00
Benjamin Pasero
c1ebab91fb
refactor: replace direct process.pid usage with getProcessId method (#213352)
* refactor: replace direct process.pid usage with getProcessId method

* remove console.log
2024-05-24 09:29:19 +02:00
Ladislau Szomoru
36d917472f
SCM - getParent() should handle resource groups (#213350) 2024-05-24 09:09:47 +02:00
Ladislau Szomoru
994893cbba
SCM - add commands to focus next/previous input (#213337)
* SCM - refactor commands to focus input

* Ensure that the input node is expanded in the tree

* getParent() should handle expanding the repository node

* Use ArrayNavigator instead

* Add support for looping in the array navigator

* 💄

* use rot instead of array navigator

* 💄

* more 💄

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2024-05-24 08:15:12 +02:00
Logan Ramos
e82e806f17
Part of #211878 (#212902) 2024-05-23 18:14:35 -07:00
Rob Lourens
a0986b0f65
Bump distro (#213340) 2024-05-23 23:49:39 +02:00
Justin Chen
38a6ee6d39
code action and lightbulb telemetry updates (#212929)
* added additional telemetry and remove unused telemetry event

* removed unused imports
2024-05-23 13:49:13 -07:00