Commit graph

14859 commits

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