Commit graph

14977 commits

Author SHA1 Message Date
Matt Bierner 2baacda638 Remove presets keys
Fixes #226031
2024-08-20 15:08:00 -07:00
Rob Lourens 36257be8ef
Add ChatTitleProvider, updates to Show Chats (#225997)
* Sort chat history entries by lastMessageDate

* Add date labels to chat history picker

* Remove unused dynamic 'isDefault'

* Add ChatTitleProvider

* Disallow deleting and moving active chats

* Add test for new data normalization

* Fix build and add test

* Fix new test
2024-08-19 15:40:38 -07:00
Tyler James Leonhardt b2d6860308
Improve refresh and scope handling (#225832)
* Moves the `setupRefresh` stuff into the CachedPublicClientApp simplifying things a bit
* Uses a ScopeData class to handle all scope operations fixing an issue where we were passing in the wrong array into the `acquireTokenInteractive`
2024-08-17 07:55:33 +02:00
Matt Bierner aeb66cd959
Merge pull request #209293 from iisaduan/organize-imports-settings
add settings for typescript's organizeImports to the settings interface
2024-08-16 14:38:53 -07:00
Peng Lyu 28e80d4036
Revert dirty notebooks after each test (#225820) 2024-08-16 23:14:47 +02:00
Matt Bierner ddbe321368 Remove presets for now
https://github.com/microsoft/typescript/issues/59579
2024-08-16 13:01:03 -07:00
Matt Bierner 2360f3d014 Merge branch 'main' into organize-imports-settings 2024-08-16 12:55:08 -07:00
Kat Marchán d751e4324d
stop AutoInstallerFs from thrashing forevermore and fix typings installer (#225648)
stop AutoInstallerFs from thrashing forevermore
2024-08-15 18:48:29 -07:00
Aaron Munger 1c5490e38a
Option in showNotebook to open as REPL (#225273)
* new API option and flag

* show the notebook as a repl

* handle any notebook type, dispose all model refs

* open notebook doc as scratchpad

* delay loading the model for untitled notebooks until shown

* add initial content consistently for untitled

* simplify utitled notebook creation

* recover open untitled notebook as dirty behavior
2024-08-14 14:21:22 -07:00
Matt Bierner c3fdd34df5 Fix commit character list
We were modifying the default commit character array, which ended up making it thousands of elements long
2024-08-13 14:36:56 -07:00
Matt Bierner 4a4c36209f
Remove old jsdoc link handling (#225529)
This code was used when TS Server didn't have support for `@link`. I think we can remove it now
2024-08-13 14:23:40 -07:00
Matt Bierner a116536a91 Remove TS 3.x feature gates
We see very, very low usage of these old TS versions. We also don't actively test them or fix bugs for them
2024-08-13 11:12:10 -07:00
Martin Aeschlimann 13b138216d
update seti theme (#225481) 2024-08-13 12:47:26 +02:00
Tyler James Leonhardt 9d49135f49
LoopbackClientAndOpener Tests (#225458)
(first tests in this extension!)
2024-08-12 18:42:44 -07:00
Tyler James Leonhardt 44464d7ccd
Fix reload modal logic when turning on/off MSAL (#225446)
This wasn't firing before. This fixes that.
2024-08-13 00:24:18 +02:00
Tyler James Leonhardt a8b2cef91c
Adopt error template and some minor tweaks to error rendering (#225426)
NOTE: For this to get lit up, this PR needs to go in in MSAL-node: https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/7247
2024-08-12 20:05:04 +02:00
Tyler James Leonhardt 70d27743ac
Ability to use MSAL in the Desktop (#225272)
* Ability to use MSAL in the Desktop

* add comment about MSAL workaround
2024-08-09 12:18:34 -07:00
Matt Bierner aefef1e336
Add more telemetry for global TS plugins (#225143)
* Add more telemetry for global TS plugins

Log the hashed name of the global TS plugins so we can correlate issues to them

* Remove trailing comma
2024-08-08 19:18:46 -07:00
Matt Bierner 2a045a1bc1 Merge branch 'main' into organize-imports-settings 2024-08-08 11:57:09 -07:00
Gabriela Araujo Britto 6cbbd1012a
[typescript-language-features] fix diagnostics telemetry property name (#225079)
fix diagnostics telemetry property name
2024-08-08 11:52:15 -07:00
Daniel Imms cf347edc08
Merge pull request #224744 from microsoft/tyriar/145234_2
Finalize shellIntegration API
2024-08-07 06:55:30 -07:00
Ladislau Szomoru 6b0fa93c81
Git - extension should only open repositories for resources with the file scheme (#225024) 2024-08-07 02:20:56 -07:00
Matt Bierner b7e421b734
Fix arguments for create tsconfig/jsconfig (#224990)
Fix arguments for create tsconfig/jsconfig

Fixes #224989

Adds typings too to prevent this again
2024-08-06 16:04:21 -07:00
Alex Ross 2075322aaf
Update yaml grammar (#224954)
Part of #224862
2024-08-06 08:26:38 -07:00
Matt Bierner 4a532e3376
Use trace logger for ATA file systems (#224892)
Makes enabling logging easier and more consistent
2024-08-05 15:59:10 -07:00
Tyler James Leonhardt 04bcb01ddf
Move 'incorrect account' handling into core (#224872)
So that all auth providers can take advantage of this logic. This basically will do a light enforcement that the account you signed in to matches the account that was requested (if it was specified).

This is needed for finalization.
2024-08-05 12:45:11 -07:00
Tyler James Leonhardt 02b638ae27
Finalize getAccounts API (#224877)
Fixes https://github.com/microsoft/vscode/issues/152399
2024-08-05 11:59:33 -07:00
Alex Ross a2c7f4e2e3
Fix unbalanced scopes in yaml (#224783)
Part of #180523
2024-08-05 01:53:43 -07:00
Alex Ross 789d5fe04e
Use shell: true only on Windows (#224597) 2024-08-05 01:46:45 -07:00
Ladislau Szomoru dad736b252
Git - handle files that contain [ in their name when adding to .gitignore (#224777) 2024-08-05 09:33:22 +02:00
Daniel Imms 929eba4808
Finalize shellIntegration API
Fixes #145234
2024-08-04 09:27:32 -07:00
Matt Bierner a1572d3b7a
Try to fix typings perf issues on web (#224640)
Try to fix ata perf issues on web

For #182791

With this change, we now make a single call to the package manager per root instead of per package. This simplifies the code and should be better for perf

Still seeing a bunch of errors in the console but TS typing is working ok. Needs more exploration for ATA
2024-08-02 14:21:22 -07:00
David Dossett daf1b14904
Fix contrast ratio for selected menu items in Dark VS theme 2024-08-02 14:02:25 -07:00
Alex Ross 331b772a5e
Add shell: true to execFile for npm hover (#224583)
Fixes #224510
2024-08-02 16:59:39 +02:00
Matt Bierner fd5f15a2b3
Don't watch in-memory resources (#224535)
Fixes #221583
2024-08-01 17:22:31 -07:00
Ladislau Szomoru 151e03b633
Git - add support for reftable storage format (#224395) 2024-07-31 08:49:46 -07:00
Matt Bierner 84607a2fe2
Fix some always true/false errors in codebase (#223359)
* Fix some always true/false errors in codebase

Testing out latest TS nightly that can identify when an expression is always true/false. This caught a few likely coding mistakes in our codebase

Unsure about the intent in some of these cases but I've tried my best to understand them. Pinging relevant code owners for the confusing cases

* Bump TS version

* Fix unreachable in build scripts

* Bump versions

* restore intent

* Revert package.json change

* Fixing a few new layer checker errors

These are global in node now

* Skip lib check in integration project

* One more skiplibcheck

* More skip lib

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2024-07-30 15:37:27 -07:00
Anees Ahee 7d0a6b8a0a
Fix missing "Restart TS Server" command in Command Palette (#223433)
Update TypeScript context keys when tab groups changed

Co-authored-by: Matt Bierner <matb@microsoft.com>
2024-07-30 14:33:33 -07:00
Alex Ross 252f22a4ed
Consider renaming the SQL built in language to MS SQL (#224283)
Fixes #221648
2024-07-30 04:02:08 -07:00
Gabriela Araujo Britto 6a33b7a382
[typescript-language-features] Use commit characters from tsserver when available (#223541)
use commit characters from tsserver when available
2024-07-29 13:57:03 -07:00
Matt Bierner 6568162d26
Fix relative path for inserted url() (#224193)
For #224190
2024-07-29 13:25:09 -07:00
Ladislau Szomoru 887cdf05ee
Git - add more git sub-commands that would result in refreshing the SCM viewlet (#224185) 2024-07-29 06:58:00 -07:00
Alex Ross 9473445f7d
Update grammars (#224167) 2024-07-29 02:33:03 -07:00
Ladislau Szomoru 9c9ef6614b
Git - improve handling of first commit (#224165) 2024-07-29 11:01:34 +02:00
Matt Bierner caa558b764
Pick up latest Markdown language server (#224020) 2024-07-26 16:55:33 -07:00
Matt Bierner 059d46b7ed
Document markdown debug server build path (#223812)
For debugging, we may want to load the non-bundled path. Only useful when using `yarn link` for local development so just adding as comment
2024-07-25 22:36:59 -07:00
Matt Bierner b6702cdcec
Improve markdown setting description (#223814)
For #209318
2024-07-25 22:36:28 -07:00
Matt Bierner a105ce80a3
Bump web TS version (#223552) 2024-07-24 15:21:17 -07:00
Matt Bierner 7d59bab235
Add telemetry on how often server crashes are potentially due to TS service plugins (#223551)
Add telemetry on how often server crashes are potentially due to TS server plugins

Simple flag which tracks if plugins are enabled/disabled
2024-07-24 15:20:38 -07:00
Matt Bierner 3202fa61ce
Handle bad directory watch on web (#223542)
Fix #221299

toResource throws here because we're tyring to watch directories outside of the workspace root. Should be fixed on TS side. Until them, adding a `catch`
2024-07-24 14:16:29 -07:00
Tyler James Leonhardt 3873c58c47
If the setting value is the same, do nothing (#223518)
It seems like this event fires in Codespaces... my _guess_ is that Codespaces basically overwrites all the settings from settings sync which causes this event to fire.

It's surprising to me that this event fires even though the value hasn't changed.

I can't repro this with the test resolver, and I also cant have Codespaces use Code - OSS, so we'll just have to see how this goes.

This _should_ do the trick though.

Fixes https://github.com/microsoft/vscode/issues/223508
2024-07-24 10:11:27 -07:00
Ladislau Szomoru 78d09a85c7
SCM - improve history graph filtering (#223497) 2024-07-24 16:39:57 +02:00
Ladislau Szomoru 03f4cbc915
Git - fix condition for setting the base branch (#223493) 2024-07-24 06:23:37 -07:00
Ladislau Szomoru 2293c3d73c
SCM - Move "View Changes" action into core (#223485)
Some checks are pending
Monaco Editor checks / Monaco Editor checks (push) Waiting to run
* Move "View Changes" action into core

* Verify that the first/last history item group are on the same branch
2024-07-24 03:59:27 -07:00
Ladislau Szomoru 9219bf5f1f
Git - use first commit as common ancestor if the repository has not been published to a remote (#223476) 2024-07-24 01:38:31 -07:00
Matt Bierner ea0d7033cf
Properly gate type acquisition on web (#223403)
For #221299

Make sure we don't register the file system at all in these cases
2024-07-23 15:12:34 -07:00
Caleb Brose d4d2ee31db
Add customizations.codespaces.disableAutomaticConfiguration to the devcontainer schema (#223083) 2024-07-23 17:02:53 +02:00
Matt Bierner 60e020f007
Pick up TS 5.5.4 recovery (#223155) 2024-07-22 17:07:45 -07:00
Ron Buckton 74a977b209
Update to support strictBuiltinIteratorReturn (#222009) 2024-07-22 12:25:52 -07:00
Matt Bierner b832b859e8
Finalize markdown update links on paste setting (#221760)
Fixes #209318

Enables this new feature by default (but as an option, not the default way to paste)
2024-07-22 09:52:01 -07:00
Ladislau Szomoru b97d0a2cb5
Git - include changes from both commits in the range (#223050) 2024-07-22 14:03:38 +02:00
Ladislau Szomoru cba3b82197
Git - get short stats for the common ancestor commit (#222937) 2024-07-22 10:47:07 +02:00
Lee Zee 6d186d4c33
shellscript: Register .eclass extension as shell-like (#219631)
Gentoo provides a framework to define modular code that can be reused between ebuilds and packages; the file extension for Gentoo eclasses should be registered as shell-like syntax in addition to ebuilds.

https://wiki.gentoo.org/wiki/Eclass
2024-07-20 13:14:18 +02:00
Tyler James Leonhardt ba98397575
Experimental GitHub Multi-account support (#222131)
* Have select account picker include accounts that don't match requested scopes (this will run `createSession` for that chosen account)
* Implement multi-account GitHub support behind a setting
2024-07-19 14:48:40 -07:00
Ladislau Szomoru 08c88cee36
SCM - better handle empty commits (#222194) 2024-07-19 07:59:30 -07:00
Ladislau Szomoru 0c0837460f
SCM - add support for multi-select in the history graph (#222186) 2024-07-19 07:23:01 -07:00
Ladislau Szomoru 129edfe9cd
SCM - add basic context menu to history graph (#222162) 2024-07-19 03:20:53 -07:00
Ladislau Szomoru f674ef206c
Git - only set base if it's different than remote (#222163) 2024-07-19 03:05:52 -07:00
Ladislau Szomoru 466bb876a6
Git - update terminal shell integration (#222155) 2024-07-19 09:26:50 +02:00
Matt Bierner febad5e489
Handle empty edits for TS paste (#222109)
Some checks are pending
Monaco Editor checks / Monaco Editor checks (push) Waiting to run
Should use default paste in this case. Talking with TS if this should be handled differently from the server but worth adding the workaround for now
2024-07-18 12:34:03 -07:00
Matt Bierner 6eb023ca6f
Fix version for web TS (#221992) 2024-07-17 14:41:02 -07:00
Ladislau Szomoru b17732f43c
Git - add terminal shell execution listener (#221895)
Some checks are pending
Monaco Editor checks / Monaco Editor checks (push) Waiting to run
2024-07-17 14:28:09 +05:30
Matt Bierner f4dabd7898
Fix path mapping call on web (#221859)
Fixes #221299

Seems like a TS bug that realpath is called here. This is a workaround for that
2024-07-16 16:30:05 -07:00
Matt Bierner 8d40a80726
Add drop/paste resource for css (#221612)
* New drop and paste providers that create a url function snippet

* added url pasting feature

* added url pasting feature

* added url pasting feature

* Target just dropping/pasting resources for now

* Move files

* Remove unused strings

* Removing more unused logic for now

* Remove tsconfig change

* Remove doc file

* Capitalize

* Remove old proposal names

---------

Co-authored-by: Meghan Kulkarni <kulkarni.meg@gmail.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2024-07-16 09:56:23 +02:00
Matt Bierner 0cba3e61b8
Align rendered header id generation with markdown language service (#221742)
Fixes #220064
2024-07-15 12:17:10 -07:00
Tyler James Leonhardt 86495e947b
Use global fetch and crypto (#221736)
Some checks are pending
Monaco Editor checks / Monaco Editor checks (push) Waiting to run
Now that we're on Node 20, we can just use the global fetch and crypto which work the same in node and in the browser.
2024-07-15 10:58:31 -07:00
Matt Bierner 7174171947
Move MD server into own package (#212387)
* Move MD server into own package

* Remove a few more refs

* Try glob

* Move glob

* More glob

* Add logging

* Tweak glob again

* Use webpack to copy over files

* Remove a few more refs to server

* Fix debug check
2024-07-12 14:04:42 -07:00
Gabriela Araujo Britto 14cf5001ec
[typescript-language-features] Add diagnostics performance telemetry (#220127)
* WIP

* invalidate diagnostics in range

* check whether should use region based diagnostics

* add ts-expect-errors

* make region opt off by default

* bump to expected 5.6

* update comments to refer to 5.6

* make region diagnostics on by default for insiders

* add telemetry for diagnostics performance

* add file line count

* remove comment

* use block on case

* add ts-expect-error

* declare interface earlier in file

* address review comments
2024-07-12 17:03:45 +00:00
aaronchucarroll a35380d6f0
Adds support for Github-style fenced math blocks in markdown editor and preview (#213750)
* added support for markdown fenced math blocks

* original markdownEngine.ts

* Add fenced math block rendering to markdown-math

* Update dependencies

* custom parser for fenced math blocks

* custom parser for fenced math blocks

* reverted changes to extension.ts

* reverted all changes from prior implementations

* proper fence grammar implementation for math

---------

Co-authored-by: Matt Bierner <matb@microsoft.com>
2024-07-12 04:51:37 +00:00
Daniel Imms 6d7dc0072b
Merge pull request #221500 from microsoft/tyriar/scrollbar
Update xterm and integrate new scroll bars
2024-07-11 16:30:00 -07:00
Daniel Imms 957cc73060
Disable whole suite 2024-07-11 16:04:59 -07:00
Daniel Imms f46e27c6f7
Disable executeCommand test
Looking into this exact thing later in #221399 anyway
2024-07-11 15:55:57 -07:00
Tyler James Leonhardt 649bcae6d3
Plumb error through to auth page (#221511)
plumb error through to auth page
2024-07-11 14:50:49 -07:00
Matt Bierner cef334b38c
Enable rendering of math fenced code blocks (#219820)
Fixes #174731
2024-07-11 11:53:56 -07:00
Ladislau Szomoru 31f831310c
SCM - 💄 history provider observables cleanup (#221474) 2024-07-11 08:21:53 -07:00
Martin Aeschlimann 8d13b31708
Remove package.json schema descriptions (#221454) 2024-07-11 02:40:45 -07:00
Ladislau Szomoru 3b37bcdc19
SCM - add revision to history item group (#221408)
* SCM - add revision to history item group

* 💄 Cleaned things up
2024-07-10 12:53:20 -07:00
Tyler James Leonhardt b07596a8aa
Polish QuickInputButtonLocation (#221403)
* Fix a bug where the buttons would show up when they shouldn't by clearing them on show like the other ActionBars
* Introduce Proposed API (changed the core shape to reflect)
* Adopted in Git extension

ref https://github.com/microsoft/vscode/issues/221397
2024-07-10 11:39:24 -07:00
Ladislau Szomoru 233ccb7df9
SCM - refactoring to enable filtering of history item groups (#221395) 2024-07-10 11:00:19 -07:00
Ladislau Szomoru 7ed4861b96
Git - do not use commit^.. to get the list of commits (#221287) 2024-07-09 17:15:07 +02:00
Ladislau Szomoru c4e1a5aabc
Git - fix fetchRef, pullRef, pushRef commands (#221273) 2024-07-09 15:12:19 +02:00
Martin Aeschlimann 3be49eccc5
Use fs provider for loading schemas (#221136)
* use file system provider for schemas

* fix getSchemaContent

* update

* update

* polish

* feedback

---------

Co-authored-by: Sandeep Somavarapu <sasomava@microsoft.com>
2024-07-09 14:56:04 +02:00
Ladislau Szomoru fc8ade92b0
Git - add exception handling to handle edge cases (#221254) 2024-07-09 12:16:19 +02:00
Alex Ross c2df206074
Update YAML grammar (#221244) 2024-07-09 10:20:26 +02:00
Johannes Rieken 729b03d8d0
update esbuild (#221241) 2024-07-09 09:43:21 +02:00
Robo 2fe0527205
chore: update to electron 30 (#215406)
* chore: update electron@30.0.9

* chore: update rpm deps

* chore: bump electron@30.1.2

* fix: update kerberos for Node.js 20.x

Refs c1f7acafb2

* fix: use shell when spawning .bat or .cmd files

Refs https://github.com/nodejs/node/commit/6627222409

* fix: update @vscode/test-electron@2.4.0

Refs 3f7a3cc5c5

* fixup! use shell when spawning .bat or .cmd files

* chore: bump nodejs@20.14.0 internal build

* ci: skip nodejsMirror for 20.14.0 due to missing builds

* fixup! use shell when spawning .bat or .cmd files

* chore: update debian deps

* fixup! skip nodejsMirror for 20.14.0 due to missing builds

* fix: universal build

- Updates vscode-universal-bundler to support x64ArchFiles option
- Kerberos starts building universal binaries which should now be
  skipped from lipo step via x64ArchFiles
- Skips bundling *.mk files

* chore: bump distro
2024-07-09 14:33:22 +09:00
Tyler James Leonhardt 1b24381b5c
Adopt getAccounts API in GitHub Authentication (#221224)
This allows the GitHub Auth provider to take in a account per this proposal:

417dddb83f/src/vscode-dts/vscode.proposed.authGetSessions.d.ts (L35-L69)

Additionally, this makes an additional small change that allows `clearSessionPreference` to work in single-account auth providers.
2024-07-09 00:19:40 +02:00
Ladislau Szomoru 33abd96b99
Git - add actions to incoming/outgoing header (#221221) 2024-07-08 22:08:24 +02:00
Ladislau Szomoru f3930566bd
Git - 💄 fix log message format (#221218) 2024-07-08 20:51:52 +02:00
Matt Bierner 1cd7cf5dec
Update MD grammar (#221204) 2024-07-08 20:33:21 +02:00
Christof Marti 125c83df26
Test basic auth for proxy (#220034) 2024-07-08 16:39:26 +02:00
Alex Ross 2b9ebd6897
Update less grammar (#221128) 2024-07-08 15:04:25 +02:00
Ladislau Szomoru cf8fdae691
SCM - update history graph hover (#221039) 2024-07-08 13:21:05 +02:00
Ladislau Szomoru d0f0de52df
Git - fix commit flow regression (#220991) 2024-07-08 09:14:50 +02:00
Benjamin Pasero 3a0cc239a9
🆙 jschardet@3.1.3 (#220089) 2024-07-05 16:30:50 +02:00
Ladislau Szomoru c040699c44
Git - standardize logging in the git extension (#220043)
* Git - more logging

* Git - more logging changes
2024-07-05 11:26:48 +02:00
Ladislau Szomoru 83c722d9a1
Git - 💄 better error handling and clean-up logging (#219975) 2024-07-04 17:12:06 +02:00
Ladislau Szomoru f94698b3dd
Git - do not show progress while running Config and GetBranch operations (#219940) 2024-07-04 12:56:55 +02:00
Matt Bierner d69a8fb36d
Align JS and TS snippets (#219917)
Mostly should be the same with a few small differences
2024-07-04 09:12:15 +02:00
Matt Bierner ee8937a604
Rename snippet placeholder (#219904)
Fixes #214760
2024-07-03 17:02:21 -07:00
Matt Bierner 9469c82f9f
Don't allow insiders users to report issues with TS plugins enabled (#219902)
Seeing far too many users not reading the warning/issue text before reporting issues. These reports are rarely actionable
2024-07-04 01:12:04 +02:00
Ladislau Szomoru a238e15485
Git - fix timing issue with branch picker (#219864) 2024-07-03 16:11:57 +02:00
Alex Ross 9255a27d88
Try out new YAML grammar (#219833)
* Try out new YAML grammar
Part of #180523

* Pull in other/plain update
2024-07-03 12:13:46 +02:00
Ladislau Szomoru 3c7cbd264e
Git - include unstaged changes when amending a commit and smart commit is enabled (#219675) 2024-07-02 14:50:50 +02:00
Alex Ross ed4e6eda59
Update grammars (#219070) 2024-06-28 11:56:38 +02:00
Ladislau Szomoru 64c1b1cc60
Revert "Git - do not show smart commit dialog when using Commit (Amend) (#214595)" (#218377)
This reverts commit 5422f5f940.
2024-06-26 15:04:40 +02:00
Martin Aeschlimann a28cbc207a
css/json/html web: adopt LanguageClient API change (#218060) 2024-06-25 16:26:48 +02:00
dependabot[bot] 1b27e602ed
Bump ws from 8.13.0 to 8.17.1 in /extensions/notebook-renderers (#216556)
Bumps [ws](https://github.com/websockets/ws) from 8.13.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.13.0...8.17.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 13:45:49 +02:00
its-meny 36dc1957f1
fix: Quotes with headings on markdown not rendering properly (#205227) 2024-06-24 23:32:45 +02:00
Martin Aeschlimann 45be8b8f75
[css/json/html] update services (#217364) 2024-06-24 11:47:01 -07:00
Christof Marti 298c72219b Module not shared on Windows? 2024-06-24 19:37:11 +02:00
Christof Marti 3cdb165262 Update to @vscode/proxy-agent 0.21.0 2024-06-24 19:37:11 +02:00
Peng Lyu 1b883b238e
Fix #209158. Add Copy Output and Open Output in Text Editor to Scrollable text output context menu. (#216920)
* Fix #209158. Add Copy Output and Open Output in Text Editor to Scrollable text output context menu.

* Context menu should be triggered on container

* fix naming
2024-06-24 10:31:17 -07:00
Johannes Rieken feae5bf5d6
make sure errors are recreated when making LM requests (#216807)
* add integration tests for LanguageModelChat#sendRequest

* make sure errors are recreated when making LM requests

* disable test with a note for later

* fix remote integration tests
2024-06-24 09:50:48 +02:00
Matt Bierner 5256e0a9bf
Pick up TS 5.5 stable release (#216827) 2024-06-21 18:49:32 +02:00
Ladislau Szomoru 68ca9a7f4c
SCM - improve merge-base detection (#216823) 2024-06-21 17:53:13 +02:00
Christof Marti e0a7112fd5 Test custom root certificate (microsoft/vscode-copilot-release#1294) 2024-06-21 10:39:28 +02:00
Rob Lourens ee173b0e65
Tools API tweaks, merge into lmTools (#216750)
* Tools API tweaks, merge into lmTools

* Rename more id -> name

* Fix

* Add lmTools API version
2024-06-20 18:54:00 -07:00
Ladislau Szomoru eb4092a6de
Git - more cleanup of the history item labels (#216648)
* Git - 💄 history provider cleanup

* Git - more cleanup of the history item labels
2024-06-20 01:23:05 +02:00
Ladislau Szomoru f280d9980f
Git - 💄 history provider cleanup (#216647) 2024-06-19 16:01:02 -07:00
Gabriela Araujo Britto 878af0771b
[typescript-language-features] Region-based semantic diagnostics for TypeScript (#208713)
* WIP

* invalidate diagnostics in range

* check whether should use region based diagnostics

* add ts-expect-errors

* make region opt off by default

* bump to expected 5.6

* update comments to refer to 5.6

* make region diagnostics on by default for insiders
2024-06-19 15:12:57 -07:00
Ladislau Szomoru 856fba0b67
SCM - more work related to history (#216641)
* Rename base to remote

* introduce base

* Remove resolveHistoryItemGroupBase

* 💄

* More 💄

* Remove file that is out of scope
2024-06-19 22:05:10 +02:00
Ladislau Szomoru 484cd68eff
SCM - history view (#216629)
* Hacked up the starting point

* More progress

* More progress

* Simplified algo, basic support for colors

* Add the concept of secondary colors for merge commits

* Further optimizations of the algo

* Bug fixes to clean-up algo

* Add support for curved branches

* Keep track of nodes that are moved so that the second parent for the merge commit is rendered in the correct swimlane

* Account for offset when drawing a base commit

* Algo rework completed

* Revert some of the hacks that were put in place to quickly get going

* Add caching to the history items used in the graph
Remove more hacks that were in place

* Added initial tests

* More work so that incoming/outgoing works along history

* Uncomment more code

* Bug fixes to edge cases

* Experiment with a new rendering for curved branches

* Handle repository with a single commit

* Maintain swimlanes

* Fix condition

* Saving my changes

* More polish and clean-up

* Remove code that is not needed

* Revert change

* Revert more changes

* More fixes

* Rename interface

* One last minor change

* Pull request feedback

* More refactoring

* More pull request feedback

* Fix layering issues
2024-06-19 19:45:06 +02:00
y0sh1ne 0a8e930a73
Update language-configuration.json(fix #215999) (#216394)
Update language-configuration.json

add "~" in surroundingPairs
2024-06-19 17:24:44 +00:00
Matt Bierner d662a014f4
Make pasting canceling ongoing geterr requests (#216089)
Should speed up pasting
2024-06-19 10:22:00 -07:00
Sandeep Somavarapu a764c2ac80
Support version for proposed APIs (#216608)
Support version for proposed APIs
2024-06-19 18:01:46 +02:00
Ladislau Szomoru a8e00a00dd
Git - expose untracked changes group (#216414) 2024-06-18 10:59:53 +02:00
Matt Bierner 61eba45dc4
Don't register js/ts paste provider if setting is off (#216168) 2024-06-17 15:14:59 -07:00
Tyler James Leonhardt 5d7157cb03
Implement getAccounts API over getSessions (#215874)
And plumb that through to the Microsoft auth provider
2024-06-16 18:12:37 -07:00
Aaron Munger 608fe4f38c
REPL/IW editor only using a notebook text model (#214356)
* registered editor with notebook model

* migrated some stuff from Interactive Editor

* display notebook and input box

* dont always filter kernels by view

* fix restore

* implement some commands

* working copy recovery/discarding

* fix tear down

* do not show last cell

* simplify notebookOptions creation

* reset text model on execute

* fix run button

* set tab name

* use differentiated notebooktype to determine kernel

* allow registering notebooks as other priorities

* conditionally register actions

* move registerAction back to top level

* fix input box message

* naming

* dont register extra repl commands for now

* use jupyter-notebook notebook type

* set scratchpad on backup recovery

* remove unused method
2024-06-14 15:12:29 -07:00
dependabot[bot] 8fdbb81a9f
Bump braces from 3.0.2 to 3.0.3 in /extensions/npm (#215481)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-14 16:52:23 +02:00
Matt Bierner 94274c47b8
Skip interrupting geterr in automatic cases (#215389)
Quick fixes already don't interrupt `geterr` requests so this likely won't slow down the automatic lightbulb
2024-06-12 14:29:41 -07:00
Matt Bierner b7e5750fa9
Restrict copy/paste with imports to TS 5.6+ (#215386)
Also skips when the copied file is the same as the paste file
2024-06-12 22:20:46 +02:00
Aaron Munger d7ade261f8
remove giant unused context key (#214504) 2024-06-12 08:34:29 -07:00
dependabot[bot] e46527908d
Bump braces from 3.0.2 to 3.0.3 in /extensions (#214866)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 11:47:34 -07:00
powersagitar fc8e4df4cd
Add file extensions for C++20 module interface units (#214800)
Add file extensions: C++20 module interface units
2024-06-11 10:38:21 +00:00
Rob Lourens d40dff9ef9
Activate configuration-editing extension when jsonc files are opened (#214659)
Fix #182700
2024-06-08 02:13:08 +02:00
Aaron Munger 76664e7ce6
max height buffer to prevent small scrollbar (#214654) 2024-06-07 16:40:42 -07:00
Ladislau Szomoru 5422f5f940
Git - do not show smart commit dialog when using Commit (Amend) (#214595) 2024-06-07 15:51:20 +02:00
Ladislau Szomoru 3d7e352d2d
Git - empty commit should not include unstaged changes (#214587) 2024-06-07 14:08:33 +02:00