Commit Graph

14851 Commits

Author SHA1 Message Date
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
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)
* 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)
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) 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