Commit Graph

14876 Commits

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