Commit Graph

148279 Commits

Author SHA1 Message Date
Sandeep Somavarapu
2ea417c9ab fix repository for isolation mode (#298498) 2026-02-28 23:45:25 +01:00
Alex Dima
a97e4c6735 editor: fix foldedLine count movement at fold boundaries 2026-02-28 23:24:06 +01:00
Alexandru Dima
baa352b9ea Merge branch 'main' into cursor-move-foldedline-unit 2026-02-28 23:18:33 +01:00
Rob Lourens
ff740b1cef Plumb 'isBuiltin' for chat modes into request (#298486)
* Plumb 'isBuiltin' for chat modes into request
https://github.com/microsoft/vscode-internalbacklog/issues/6884

* Fix test
2026-02-28 22:28:32 +01:00
Alexandru Dima
c3e06383df Add editor.hover.showLongLineWarning setting to suppress long line hovers (#298484)
Add a new setting `editor.hover.showLongLineWarning` (default: true) that
controls whether the "Tokenization is skipped..." and "Rendering paused..."
hover messages are shown on long lines.

When these hovers are shown, they now include a "Don'\''t Show Again" link
that sets the setting to false, letting users dismiss them permanently
while keeping all other hover functionality intact.

Fixes #172713
2026-02-28 20:18:17 +00:00
Neruthes 0x5200DF38
c7d2d62aa8 fix editor punctuation width (#297741)
Inserting `text-spacing-trim: space-all;` for `.monaco-editor`
2026-02-28 20:09:32 +00:00
Aiday Marlen Kyzy
a6967f7452 Updating the edit context on content change not on lines inserted, deleted and changed (#298272)
* updating the edit context on content change not on lines inserted, deleted and changed

* saving the previous edit context text
2026-02-28 19:38:24 +01:00
Justin Chen
39b8df7f24 fix jump in terminal headers (#298473) 2026-02-28 19:36:15 +01:00
Alexandru Dima
a837f16fbe Report Event.Buffer leaks when running from source (#298468)
* Report Event.Buffer leaks when running from source

* Address feedback
2026-02-28 18:14:13 +00:00
David Dossett
c60fe51134 Minor chat input refinements (#298462)
* Chat input refinements: increase height and update placeholder text

* Extract shared constants for input editor line height and padding
2026-02-28 17:46:16 +00:00
David Dossett
aa70284f9c Clean up model picker input styles (#298460)
* Clean up model picker input styles: remove background, add filter spacing

* Use CSS :has() instead of imperative class for filter container
2026-02-28 17:30:37 +00:00
Ladislau Szomoru
f06f86226b Git - file-system provider should open the repository if not already opened (#297783)
* Git - file-system provider should open the repository if not already opened

* Git - only open the repository in the empty/session window

* Add logging
2026-02-28 17:49:43 +01:00
Alexandru Dima
479f1b02bc Update Kusto instructions (#298447) 2026-02-28 16:11:45 +01:00
Benjamin Pasero
cefe82ccc6 sessions - tweaks to chat input to make it larger (#298416)
* sessions - tweaks to chat input to make it larger

* Update src/vs/sessions/browser/media/style.css

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-28 12:35:13 +01:00
Benjamin Pasero
b41db22d76 sessions - show command in toast and show it more often (#298409)
* sessions - show command in toast and show it more often

* Update src/vs/workbench/contrib/chat/browser/chatWindowNotifier.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-28 12:34:58 +01:00
Benjamin Pasero
dbf3354aab sessions - disable implicit context (#298407)
As no editor can open non-modal, this is not helping much.
2026-02-28 08:22:23 +01:00
Sandeep Somavarapu
652b31df44 set repository for cloud sessions (#298395) 2026-02-28 08:21:09 +01:00
Osvaldo Ortega
358b8cdc2f fix: ensure Add Run Action button remains disabled when switching back to Local target 2026-02-27 16:52:27 -08:00
Sandeep Somavarapu
90127b75e1 fix setting repo (#298387)
* set remote repo uri

* fix setting repo

* fix setting repo uri
2026-02-28 00:51:14 +00:00
Osvaldo Ortega
e26795c4d8 fix: correct verification step for Add Run Action button state when switching to Local target 2026-02-27 16:50:01 -08:00
Osvaldo Ortega
4ce9702340 refactor: update scenario steps for Cloud target to improve clarity and flow 2026-02-27 16:49:21 -08:00
Osvaldo Ortega
cffc73d389 Remove obsolete end-to-end test files for session scenarios and session application 2026-02-27 16:46:50 -08:00
dileepyavan
3612f8842e Terminal sandboxing errors out when trusted domains are urls instead of domains. (#298372)
* fixing when trusted domains are url's instead of just domains

* changes

* changes
2026-02-27 16:41:27 -08:00
Osvaldo Ortega
c7e9df6a62 feat: add scenario for disabling Add Run Action button when switching to Cloud target 2026-02-27 16:35:07 -08:00
Osvaldo Ortega
c73f7cd133 docs: update README.md to enhance architecture overview and test run instructions 2026-02-27 16:32:53 -08:00
Osvaldo Ortega
9a92c7794c Refactor code structure for improved readability and maintainability 2026-02-27 16:16:35 -08:00
Osvaldo Ortega
c1dedd580d feat: add .gitignore to exclude output and PNG files from e2e tests 2026-02-27 16:05:32 -08:00
Osvaldo Ortega
3f07cc1693 Refactor code structure for improved readability and maintainability 2026-02-27 15:59:39 -08:00
Osvaldo Ortega
72a950d243 feat: enhance sessionApp to launch VS Code as a child process with CDP support
- Added child_process module to spawn VS Code instead of using playwright._electron.launch.
- Implemented a random port selection for the Chrome DevTools Protocol (CDP) to avoid collisions during parallel runs.
- Introduced waitForCDP function to poll the CDP endpoint until it's ready.
- Added findSessionsPage function to locate the sessions workbench page among multiple browser contexts.
- Updated the launchSessionsWindow function to handle the new process management and page finding logic.
2026-02-27 15:56:58 -08:00
Osvaldo Ortega
c54a29bef3 refactor: streamline session window handling in e2e tests
- Replace manual window collection with firstWindow() for improved reliability.
- Consolidate window tracking logic to handle additional windows more effectively.
- Simplify logic for determining the sessions workbench window.
- Enhance logging for better visibility during window management.
- Update wait logic for the sessions workbench to ensure visibility before proceeding.
2026-02-27 15:54:02 -08:00
Osvaldo Ortega
e9f1a0b54f Enhance logging in launchSessionsWindow for better debugging
- Added timestamp to log messages for Electron process launch, window openings, and other key events.
- Improved visibility of window count at launch and during waiting periods for the sessions window.
- Included DOM inspection logs to capture the state of the page and existence of the sessions workbench.
- Updated console error logging to provide more context during failures.
2026-02-27 15:50:56 -08:00
Osvaldo Ortega
f1b8affc3d feat(e2e): update session window launch logic to improve rendering timing and selector state 2026-02-27 15:48:01 -08:00
Osvaldo Ortega
f69e72454f feat(e2e): improve window handling and logging in session launch process 2026-02-27 15:46:18 -08:00
Osvaldo Ortega
75c49fc0de feat(e2e): increase timeout for window loading and enhance window selection logic 2026-02-27 15:42:02 -08:00
Osvaldo Ortega
cbb10cd0ce feat(e2e): enhance error handling with screenshot capture on failure
- Added functionality to capture a screenshot when a test step fails in both scenarios.spec.ts and scenarios.spec.js.
- Updated the error logging to include the path of the saved screenshot for easier debugging.
- Modified the scenario steps in 01-repo-picker-on-submit.scenario.md to include an initial button click before typing in the chat input.
2026-02-27 15:37:39 -08:00
Osvaldo Ortega
4284973de8 Remove outdated E2E scenario files for empty state, active workspace, workspace instruction creation, user instruction creation, and hook creation; add new scenario for repository picker on submit. 2026-02-27 15:35:13 -08:00
Tyler James Leonhardt
536950ddf3 Fix session resource aliasing in chat sessions (#298374)
first fix
2026-02-27 15:24:39 -08:00
Osvaldo Ortega
c568741ffa feat: add 'skip-sessions-welcome' option to bypass welcome overlay during automated tests 2026-02-27 15:23:59 -08:00
Osvaldo Ortega
cf97138243 feat: implement mock Copilot API routes to simulate valid sessions during tests 2026-02-27 15:17:37 -08:00
Megan Rogge
d59ed46834 improve question carousel submit button flow (#298360) 2026-02-27 22:54:10 +00:00
Osvaldo Ortega
0a9a00532d feat: refactor welcome overlay handling to use SQLite storage and improve initialization process 2026-02-27 14:51:25 -08:00
Connor Peet
278880aeb3 mcp: surface task statusMessage notifications in chat progress (#298369)
- When a tool call returns a CreateTaskResult, the MCP server now forwards
  task statusMessage from notifications/tasks/status into the chat progress
  stream via the ToolProgress callback
- Adds onStatusMessage optional callback to McpTask constructor to report
  status messages as they come in from server notifications
- Updates callTool method signature to accept onStatusMessage callback,
  passed from _callWithProgress in mcpServer.ts
- This allows task-mode MCP tools to communicate progress through the
  established progress channel without requiring duplicate progress
  notifications

Fixes #298013

(Commit message generated by Copilot)
2026-02-27 22:47:41 +00:00
Osvaldo Ortega
ab566bf85a feat: update mock chat provider and session app to enhance authentication handling and disable built-in GitHub extensions 2026-02-27 14:45:54 -08:00
Connor Peet
3cfe8830f9 Merge pull request #298365 from microsoft/connor4312/297559
chat: fix dropdown action order to match default
2026-02-27 14:40:33 -08:00
Osvaldo Ortega
43f67f5832 feat: update mock chat provider and session app to specify VS Code engine version and disable GitHub extensions 2026-02-27 14:38:42 -08:00
Connor Peet
3bc832a220 plugins: store installed plugins in storage rather than paths (#298352)
* plugins: store installed plugins in storage rather than paths

This simplifies some things and sets the groundwork for more special
things (like updating and disk cleanup) that we'll do with marketplace
plugins.

* fix
2026-02-27 14:37:21 -08:00
Martin Aeschlimann
4be5209b80 Enhance PromptFileParser to ignore links and variables inside inline code and fenced code blocks (#298344) 2026-02-27 14:36:23 -08:00
Osvaldo Ortega
d90e6b76d9 feat: enhance launchSessionsWindow with detailed logging for window events and console messages 2026-02-27 14:35:42 -08:00
Megan Rogge
6eee7730a5 fix chat question carousel with title row and styling (#298366) 2026-02-27 22:35:20 +00:00
Osvaldo Ortega
d373331a40 feat: add mock GitHub authentication provider and update activation events for mock chat provider 2026-02-27 14:34:59 -08:00