Commit graph

14400 commits

Author SHA1 Message Date
Benjamin Pasero d5307c5afa
Have workspace.save and workspace.saveAs methods that return the URI (fix #178713) (#200222) 2023-12-07 17:38:11 +01:00
Matt Bierner dabc3371fe
Add missing spaces after generic implements (#200182)
Keeps things more consistent. Should eventually be fixed on TS side https://github.com/microsoft/TypeScript/issues/56699
2023-12-06 12:29:05 -08:00
Matt Bierner a0d9408921
Use satisfies in a few more places (#200181)
Avoids casing issues
2023-12-06 12:27:47 -08:00
Matt Bierner cd9b560777
Lowercase separator title (#200184)
Matches our other labels
2023-12-06 21:13:13 +01:00
Megan Rogge e1a73f8f1e
Merge pull request #200163 from microsoft/merogge/npm-dependency
add `tree-views` to grooming notebook, add `npm` dependency of `vscode-uri`
2023-12-06 11:52:43 -06:00
meganrogge c6c21f1535
add to yarn.lock 2023-12-06 11:27:22 -06:00
Matt Bierner 673006e0e3
Fix copilot quick fix (#200162) 2023-12-06 18:15:48 +01:00
meganrogge 93b691ea01
fix #181598 2023-12-06 11:01:59 -06:00
Martin Aeschlimann 7231f840b4
update seti-font (#200041)
update seti
2023-12-06 17:38:03 +01:00
Alex Ross b0d60e8e2e
Add the new Less grammar back in (#200043)
This reverts commit 95c05bf57b.
2023-12-05 15:17:02 +01:00
Nathan Garside 1835eb7684
Add syntax highlighting for *.repo files (#199859)
Add syntax highlighting for *.repo files
2023-12-05 12:25:46 +01:00
Ladislau Szomoru 1466cbfcdf
SCM - delete scmInputBoxActionButton proposal (#200012) 2023-12-05 10:52:01 +01:00
Rob Lourens ada980d563
Merge interactiveUserActions proposal into chatAgents2Additions, and get rid of the old global event (#199916)
Towards #197687
2023-12-04 05:58:17 +01:00
Ladislau Szomoru c5874782c5
SCM - delete scmInputBoxValueProvider proposal (#199778) 2023-12-01 08:54:59 -08:00
Ladislau Szomoru 18b2c92451
Git - remove history provider action button (#199764)
* Git - remove history provider action button

* Remove debug messages
2023-12-01 16:10:44 +01:00
Ladislau Szomoru c6b48c364d
Git - remove references of scm.experimental.showSyncView from the Commit action button (#199616) 2023-11-30 01:21:33 +01:00
Henning Dieterichs 2ec8b37bf3
Adopts diff-multiple icon 2023-11-29 10:43:12 +01:00
Ladislau Szomoru 37425a6fbf
Git - do not show incoming/outgoing for tags, detached (#199476) 2023-11-28 17:46:31 -08:00
Ladislau Szomoru aebfa4798c
Git - Commit action button fix (#199475) 2023-11-29 02:16:59 +01:00
Aiday Marlen Kyzy 30ac9a452d
Making move to code action appear less often (#198864)
taking code from other pr
2023-11-29 02:00:19 +01:00
Ladislau Szomoru d689bb7950
SCM - handle empty commit in diff statistics badge (#199438)
* SCM - handle empty commit in diff statistics badge

* Undefined shortStat handled by the history provider
2023-11-28 15:41:20 -08:00
Tyler James Leonhardt 1501e97f52
preferred_username should be... preferred (#199445)
Apparently it's possible for preferred_username to be like `foo@mybiz.com` while `email` is set to `foo@mybizemail.com`... This is the more correct ordering.
2023-11-28 12:45:50 -08:00
Martin Aeschlimann bcf157a490
Update vscode-css-languageservice to version 6.2.11 (#199235) 2023-11-27 23:29:05 +01:00
Henning Dieterichs b5f1966e92
Merge pull request #199007 from microsoft/hediet/b/like-wolverine
Adopt config.multiDiffEditor.experimental.enabled
2023-11-27 12:31:58 +01:00
Ladislau Szomoru abd2f00bcc
SCM - implement scm/inputBox menu (#199147)
* SCM - fix regression related to the scm input box action button

* Single action working as expected

* Saving my work

* Fix enablement when there is only one action

* More polish when there are multiple actions

* WIP - Select default action

* Add proposal

* Another refactoring

* Update setting type

* Remove setting, store last executed command

* Revert code that was used for testing

* Fix compilation errors

* Remove test commands
2023-11-27 12:17:26 +01:00
Ladislau Szomoru 10e672c687
Revert "Git - deprecate registerCommitMessageProvider (#198953)" (#199022)
This reverts commit 93ab1bfe22.
2023-11-24 14:12:45 +01:00
Alex Ross 95c05bf57b
Revert new Less grammar in preparation for release (#199017)
* Revert "merge theme rules for css/less/scss variables (#197657)"

This reverts commit cc08867677.

* Revert "Adopt Better-Less grammar (#197557)"

This reverts commit ce40e7ce61.
2023-11-24 14:11:23 +01:00
Ladislau Szomoru 79f8189bb4
Git - update git.inputValidation default value (#199019) 2023-11-24 12:32:54 +01:00
Henning Dieterichs 95d76848a1
Adopt config.multiDiffEditor.experimental.enabled 2023-11-24 10:49:17 +01:00
Ladislau Szomoru ed6dc7b6b3
Git - fix command titles (#198996) 2023-11-24 09:41:44 +01:00
Ladislau Szomoru 93ab1bfe22
Git - deprecate registerCommitMessageProvider (#198953) 2023-11-23 17:42:17 +01:00
Ladislau Szomoru a776d5fe0a
SCM - input box value provider rendering (#198923)
* Initial implementation

* Remove debug messages

* Implementation using a custom ActionViewItem

* Switched to using a custom action along with the custom action view item

* Switch to using arrays

* Refactored code (single provider is working)

* Add ActionRunner to options

* WIP - saving my work

* Refactor things to support one provider

* Add setting to enable/disable input action button

* Add sourceControlId to the proposed API

* Fix issue related to enablement

* Remove code that is not in scope

* Have the old action bar work with the setting

* Remove code that was commented out

* Add extension API changes

* Update extensions/git/src/commitMessageProvider.ts

Co-authored-by: João Moreno <joao.moreno@microsoft.com>

* Fix compilation errors

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2023-11-23 16:39:53 +01:00
Andrew Wang 452b754c5e
Add support for running DebugConfigurations with serverReadyAction (#197597)
* Add support for running DebugConfigurations with serverReadyAction

This PR adds 'config' as an option for serverReadyAction. It runs
similar to 'name', but if a configuration is generated on the fly, its
easier to inject the debug configurations with the serverReadyAction.

* Merge into startDebugSession method

---------

Co-authored-by: Rob Lourens <roblourens@gmail.com>
2023-11-22 19:41:19 +00:00
Michael Lively e33219dde3
Add multi-document highlight provider feature (#198467)
* multi-doc api + text provider editor feature + extHost hookup + typescript semantic multi-doc

* fix disposable leak, wasn't setting providers to the disposableMap

* filter unnecessary models to fix errors with typescript provider

* fix nits (todo - doc filter)

* fix typo from merge conflict

* expose LanguageSelector in multi-doc provider, filter out 0 score models
2023-11-22 10:07:20 -08:00
Aiday Marlen Kyzy 9524207999
Reverting changes in TypeScript language features extension (#198858)
Revert "Merge pull request #198775 from microsoft/aiday/typeScriptChanges"

This reverts commit 5d9d06611b, reversing
changes made to 823d54f86e.
2023-11-22 14:55:04 +01:00
Aiday Marlen Kyzy 5d9d06611b
Merge pull request #198775 from microsoft/aiday/typeScriptChanges
Making TypeScript code actions `move to new file` and `move to` appear less often
2023-11-22 13:38:36 +01:00
Aiday Marlen Kyzy edf26e4bae
polishing the code with review 2023-11-22 11:08:47 +01:00
Matt Bierner aab5c69c79
Fix reference to worker session (#198820) 2023-11-21 16:06:33 -08:00
Matt Bierner fbbdb7912e
Reduce direct dependencies on ts in web server (#198809)
Reduce direct dependencies on ts in web server

This reduces the number of direct imports of `ts` in `webServer.ts`. This sets us up so that we can eventually swap out the TS versions at runtime instead of being limited to the TS version webServer is bundled against
2023-11-21 15:31:10 -08:00
Matt Bierner fbfabc523d
Split up webServer.ts (#198802)
Refactors webServer.ts to split it into multiple files and encapsulate some functionality in classes
2023-11-21 12:06:47 -08:00
Aiday Marlen Kyzy ddc7a1e51a
tweaking the recursion, so that we do not do the recursion for a long time 2023-11-21 17:40:06 +01:00
Megan Rogge 8af169e554
Merge pull request #197668 from microsoft/merogge/quick-fix-api
`addNewLine` -> `shouldExecute`, expose this in quick fix API
2023-11-21 10:23:27 -06:00
Aiday Marlen Kyzy 5e89263580
polishing the code after review 2023-11-21 15:42:14 +01:00
Henning Dieterichs 9e69692508 Improves editor title 2023-11-21 15:09:29 +01:00
Aiday Marlen Kyzy e46541edaf
removing export 2023-11-21 15:06:59 +01:00
Aiday Marlen Kyzy 5b297c488c
Squashed commit of the following:
commit bc4dc881ba
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Tue Nov 21 13:07:39 2023 +0100

    adding one more possibility which is lightbulb sparkle and auto-fix

commit a5dfa1f620
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Tue Nov 21 12:55:44 2023 +0100

    removing one because should be using zero based ranges

commit 78b29c0b56
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Tue Nov 21 12:49:50 2023 +0100

    using the navTree request instead

commit ba1b8fef77
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Tue Nov 21 12:20:38 2023 +0100

    polishing the code

commit 5ae767f43a
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Tue Nov 21 12:14:35 2023 +0100

    polishing the code

commit fd347bb0e2
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Tue Nov 21 11:03:04 2023 +0100

    remembering the class array that was previously set, so not removing the whole class array

commit fd5fd11bfc
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Tue Nov 21 10:54:18 2023 +0100

    using the appropriate icon

commit df29259136
Merge: 5285e1d97e 633efd8c55
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Tue Nov 21 10:47:18 2023 +0100

    Merge branch 'main' into aiday/differentLightBulbDependingOnCodeAction

commit 5285e1d97e
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Mon Nov 20 18:24:45 2023 +0100

    making the filtering function synchronous

commit a86c36c6b0
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Mon Nov 20 17:42:11 2023 +0100

    adding code in order to also include move to a new file only when on the range of interest

commit 2cedc2ffb4
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Mon Nov 20 17:11:13 2023 +0100

    not showing move to file all the time

commit 8f4ade1d3d
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Mon Nov 20 14:50:56 2023 +0100

    removing the code which does the selection check

commit 2e0e6c534e
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Mon Nov 20 14:31:55 2023 +0100

    adding code in order to execute the AI code action when it is unique

commit a037c7e8e9
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Mon Nov 20 14:05:32 2023 +0100

    adding code in order to be able to detect when different code actions partitions appear

commit abd005b78b
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Fri Nov 17 18:07:26 2023 +0100

    changing the heuristic of the move to code actions

commit e4886eab7a
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Fri Nov 17 17:25:57 2023 +0100

    removing model

commit 79102a983b
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Fri Nov 17 17:25:48 2023 +0100

    making lightbub icon appear on empty lines

commit ee8bb3475b
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Fri Nov 17 17:09:15 2023 +0100

    directly resolving the code action when it is an ai code action

commit 4d4bcb9b34
Author: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
Date:   Fri Nov 17 17:02:34 2023 +0100

    wip allow lightbulb menu to specify different icons depending on the code actions
2023-11-21 15:05:17 +01:00
Henning Dieterichs 4328415767 Improves open multi diff editor icon 2023-11-21 14:59:01 +01:00
Matt Bierner 620340c863
Bump hardcoded web TS version (#198713) 2023-11-21 00:25:20 +01:00
Matt Bierner 1d92f24bd8
Add telemetry for TS ai refactorings (#198708) 2023-11-20 15:01:33 -08:00
Matt Bierner 2d8e9cbb8f
Pick up TS 5.3 final (#198712) 2023-11-20 23:53:54 +01:00
Matt Bierner ff9fc384d3
Clean up and fix markdown url pasting (#198706)
Fixes #192568
2023-11-20 14:37:00 -08:00
Matt Bierner 032109e5a7
Don't show references on anon function (#198711)
Fixes #198389
2023-11-20 23:08:00 +01:00
Matt Bierner ad31b067ab
Fix markdown link inserting (#198702)
Fixes #190769
Fixes #195349

Also makes some small code cleanups
2023-11-20 21:10:43 +01:00
Matt Bierner 25ac184fe7
Fix notebook markdown list rendering (#198696)
Fixes #197097
2023-11-20 18:23:14 +01:00
Don Jayamanne 46cd720f83
Drop uuid pkg used to to generate notebook cell id (#198647) 2023-11-20 06:12:55 +01:00
Arvid Lunnemark 092bc7309b
Update condition names to allow node (#198274)
update condition names to allow node
2023-11-17 10:57:50 +00:00
Martin Aeschlimann cc08867677
merge theme rules for css/less/scss variables (#197657) 2023-11-17 11:40:21 +01:00
Matt Bierner 6805bb6d2b
Hook up mapped code edits experiment for TS (#198478)
For https://github.com/microsoft/TypeScript/pull/55406
2023-11-17 02:07:09 +00:00
John Murray 77dc8793db
Add typescript.implementationsCodeLens.showOnInterfaceMethods setting (#136282) (#198419)
* Add `typescript.implementationsCodeLens.showOnInterfaceMethods` setting (#136282)

* Update codelenses when `typescript.referencesCodeLens.showOnAllFunctions` changes

* Improve handling of disposables
2023-11-16 22:46:41 +00:00
Matt Bierner 4f866533b4
Add missing disposable registration (#198473) 2023-11-16 14:18:43 -08:00
Ladislau Szomoru 6aa249db00
Git - fix incorrect check (#198396) 2023-11-16 10:45:13 +01:00
Matt Bierner 4f303bb42c
Disable md paste file path in untitled notebooks (#198372)
Fixes #194809

Since the notebook does not exist on disk yet, there's no way to write a relative path in it. Just disable the feature since there's nothing else we can reasonably do here
2023-11-16 00:31:39 +01:00
Matt Bierner d98713bad1
Always send CodeActionTriggerKind (#198364)
Makes us always send this along instead of sometimes sending undefined
2023-11-15 14:02:55 -08:00
Matt Bierner 8943ea4790
Fix markdown code block styling (#198351)
Fixes #198183

Remove extra background and also removes the extra divs inside of the code blocks as these were causing issues with styling (extra padding)
2023-11-15 21:03:04 +01:00
David 2938e5d611
Add TMLanguage aliases to YAML (#198300) 2023-11-15 16:52:22 +00:00
Jacob Bandes-Storch 6855ba045b
Update Swift grammar and upstream repository (#197470)
* Update Swift grammar and upstream repository

* update grammar for bug fix

* Update Swift cgmanifest

---------

Co-authored-by: Alex Ross <alros@microsoft.com>
2023-11-15 15:59:29 +01:00
Ladislau Szomoru e0b70e58b3
SCM - add caching layer to incoming/outgoing tree nodes (#198306)
* Upstream commit + improve onDidChangeCurrentHistoryItemGroup

* Refactor expanding a history item group

* Wire up caching

* Invoking the git.refresh command invalidates the cache

* Clean up cache data structure
2023-11-15 15:09:18 +01:00
Raymond Zhao e1c8870cd2
chore: bump vscode-tas-client (#198257) 2023-11-15 00:12:17 +01:00
Ladislau Szomoru ed30010d3f
Git - better error handling for git merge-base (#198208) 2023-11-14 14:51:17 +01:00
Marvin A. Ruder dde91250f3
Merge branch 'main' into npm-extension-bun-package-manager 2023-11-13 18:20:49 +01:00
Ladislau Szomoru e447d54e1e
SCM - Add short state badge for history items (#198126)
* Git - Extract parsing of git diff short stat

* Add shortStat badge for commits

* Git - specify diff-merges for merge commits

* Add tests
2023-11-13 16:49:28 +01:00
Marvin A. Ruder fca65094bf
Merge branch 'main' into npm-extension-bun-package-manager 2023-11-13 09:45:20 +01:00
Ladislau Szomoru d5b3ed3f68
Git - update open commit command icon (#198084) 2023-11-13 09:37:46 +01:00
Marvin A. Ruder 4fd54f93f7
Merge branch 'main' into npm-extension-bun-package-manager 2023-11-12 11:54:50 +01:00
Rob Lourens 7cbff1919e
Chat code cleanup (#198022)
* Clean up some obsolete chat API
Start deleting the interactive session provider, use agents only

* Delete old chat agents API

* Remove providerRequestId

* Remove unused stuff from interactive.d.ts

* Get rid of chat session state saving

* Fix test

* I guess this type was in use
2023-11-12 06:44:14 +01:00
Marvin A. Ruder 4645305f14
Add Bun as package manager to npm extension
* Auto-detect Bun by looking for `bun.lockb` lockfile
* Extend `npm.packageManager` setting
* Update documentation

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
2023-11-11 16:37:29 +00:00
Megan Rogge 16b50a9be2
Merge branch 'main' into feat/fileWorkspaceFolderBasename 2023-11-10 11:42:22 -08:00
Ladislau Szomoru 2095b6f5a3
Git - fix readOnly for the Config operation (#197918) 2023-11-10 15:05:39 +01:00
Christof Marti 0bad0f615a Option to opt-out of extensions (microsoft/vscode-remote-release#9177) 2023-11-10 11:17:34 +01:00
Ladislau Szomoru 64783a4eb9
Git - incoming/outgoing polish (#197877)
* Git - refactor diffBetweenShortStat to return an object with files, insertions, and deletions

* Add statistics label tooltip
2023-11-10 02:40:58 +01:00
Ladislau Szomoru 8de9ba22b2
SCM - add statistics badge for incoming/outgoing (#197876)
* Initial implementation of the stats pill

* Parse git output and propagate the statistics
2023-11-09 18:05:34 -07:00
Don Jayamanne cb6c07d46d
Use JSON output object for json mimetype (#197871) 2023-11-10 01:13:42 +01:00
Ladislau Szomoru acff02431f
SCM - Add Incoming/Outgoing information into the Source Control view (#197771) 2023-11-09 20:18:09 +01:00
Henning Dieterichs f85a095fd2
Merge pull request #197652 from microsoft/hediet/b/pregnant-mink
Implements first iteration of multi diff editors.
2023-11-09 19:15:12 +01:00
Matt Bierner a9c390b236
Pick up TS 5.3 RC (#197778) 2023-11-08 23:19:03 +01:00
Henning Dieterichs 0f4505209d
Merge branch 'main' into hediet/b/pregnant-mink 2023-11-08 10:04:46 +01:00
meganrogge 97eccab2e0
update reference in npm 2023-11-07 11:16:22 -08:00
Connor Peet 2749de3808
testing: implement proposed active profiles api (#197664)
testing: implement proposed active profiles api

For https://github.com/microsoft/vscode/issues/193160
2023-11-07 10:37:37 -08:00
Alex Ross ce40e7ce61
Adopt Better-Less grammar (#197557)
Consider adopting a new Less grammar
Fixes #171239
2023-11-07 17:36:06 +01:00
Henning Dieterichs 090fd2c772
Implements first iteration of multi diff editors.
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-11-07 16:51:38 +01:00
Mohammad Reza Gharabaghi 93351c7436
Update theme-defaults (#197449)
* Update dark_vs.json

* Update light_modern.json

* Update light_vs.json

* Update hc_black.json
2023-11-07 16:49:05 +01:00
Ronak Jain d72005bfa7
Fix tsconfig resolution for navigation (#192851)
* Fix tsconfig resolution

* Resolve based on link type
2023-11-06 11:46:09 -08:00
Matt Bierner c57992a973
Always run code lens implementations on semantic server (#197578)
Fixes #197286

Already fixed this for references code lens. Just porting it to impl code lens now too
2023-11-06 20:05:00 +01:00
Aaron Munger 8ba75dfdc8 more strict on regex, fix special character 2023-11-06 10:59:40 -08:00
Aaron Munger 6afac1d3f7 fix stack trace linking 2023-11-06 10:59:40 -08:00
Andrew Branch 48f4a503f8
Add missing preference description for preferTypeOnlyAutoImports 2023-11-03 12:57:23 -07:00
Rob Lourens 53249fc26b
Merge pull request #196166 from zobo/fix-php-validation-range
fix: invalid endCharacter value in built in PHP validation provider
2023-11-01 14:33:22 -07:00
Logan Ramos 9bea1fc96a
Bump telemetry package (#197168) 2023-11-01 20:51:03 +01:00
Matt Bierner 8a450b31e3
Pull in latest markdown language server (#197105) 2023-10-31 16:25:27 -07:00
Matt Bierner 0279c52a02
Switch back to node as default for moduleResolution (#197031)
Fixes #196554

Looks like bundler breaks `require()` intellisense
2023-10-31 00:40:44 +01:00