Commit graph

14559 commits

Author SHA1 Message Date
Matt Bierner 35579c0b57
De-prioritize markdown link paste in code blocks (#202109) 2024-01-09 14:27:28 -08:00
Henning Dieterichs 05dfba857a
Adopts #199291 for SCM view changes. (#202077) 2024-01-09 22:28:08 +01:00
Ronak Jain c1bc5415f8
Fix tsserver crashing when using custom node path (#201966)
* use quotes in spawned process name

* Use JSON stringify to handle quotes as well
2024-01-09 11:02:53 -08:00
dependabot[bot] 9c2e81f9f6
Bump follow-redirects from 1.15.3 to 1.15.4 in /extensions/github-authentication (#202055)
Bump follow-redirects in /extensions/github-authentication

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 08:53:01 -08:00
Alex Ross 6d9541fff6
Try out a new Go grammar (#202070) 2024-01-09 14:11:19 +01:00
Ladislau Szomoru 9808d4e655
SCM - rename incoming/outgoing menu contribution (#202068) 2024-01-09 17:04:27 +05:30
Ladislau Szomoru b87ba01926
Git - swap file sides when previewing a stash (#202063) 2024-01-09 11:55:16 +01:00
Robo fb76955440
chore: update electron@27.2.1 (#202053)
* chore: bump electron@27.2.1

* chore: enable code cache support for custom standard schemes

Refs 267cbc841e

* chore: remove --ms-enable-electron-run-as-node

Removed in favor of f842ead6bc

* chore: update distro
2024-01-09 08:33:34 +01:00
RedCMD 0a71ec927c
Change lowercase l to uppercase L. asp-vb-net.tmLanguage.json (#201981)
* Change lowercase `l` to uppercase `L`. `asp-vb-net.tmLanguage.json`

`.tmLanguage.json` is the common file extension for JSON TextMate
while `vb` is currently using `.tmlanguage.json`

* Rename file.

* Remove EOF newline >:(

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2024-01-08 22:10:59 +00:00
Martin Aeschlimann 851b39876e
[json] don't use md5 (#201971) 2024-01-08 21:50:59 +01:00
Ladislau Szomoru 891a17ab57
Git - move "Open Commit" command from core to the git extension (#202042)
* Initial implementation

* Move the command to the git extension

* Add missing enablement property
2024-01-08 13:39:07 -07:00
Ladislau Szomoru 66023e11e6
Git - 💄 clean-up summary generation (#202036) 2024-01-08 11:50:42 -08:00
Ladislau Szomoru 322931b0fc
Git - Only show "All Changes" node if there is more than one incoming/outgoing commit (#202021) 2024-01-08 17:45:44 +01:00
Matt Bierner 1a7ec6aea2
Fix code block in notebook markdown rendering (#201748)
Fixes #201731
2024-01-08 08:33:55 -08:00
Ladislau Szomoru 51e490e8a2
Git - 💄 add historyItemParentId to provideHistoryItemChanges (#201991) 2024-01-08 14:00:57 +01:00
Ladislau Szomoru 03e191825d
Git - fix context menu order (#201986) 2024-01-08 13:02:13 +01:00
Ladislau Szomoru f8616b9a2b
Git - rename "Open Stash" to "Preview Stash" (#201973)
* Git - rename "Open Stash" to "Preview Stash"

* Add Preview Stash command to the "..." menu
2024-01-08 10:59:49 +01:00
Ladislau Szomoru cfebdd863a
Git - add open stash command (#201970)
* Initial implementation

* Add button to quick pick

* Improve stash picker

* Remove quick pick buttons
2024-01-08 09:48:51 +01:00
Ladislau Szomoru bff3ef7651
Git - improve code that gets commit count (#201907) 2024-01-05 12:55:05 -08:00
Matt Bierner 14b09484ff
Change how placeholders in parsed markdown links are created (#201851)
Fixes #186284

See https://github.com/microsoft/vscode/issues/186284#issuecomment-1877968127 for details

Also fixes the tab order to always start from the top most range in the document
2024-01-04 17:21:09 -08:00
Matt Bierner 26ef59c6a7
Rework markdown paste resource (#201838)
Fixes #184980

This refactors much of the logic around markdown paste/drop. PR got a little large but the main highlights are:

- Allow using a custom snippet for inserted audio/video
- Merge the drop/paste resource provider classes since these are so similar
- Enable smart pasting of url text by default
- Refactor url paste logic
- For now, disable the behavior where url paste could paste a combination of markdown and plain uris. In practice this is confusing, especially because our labels for this were wrong. We can always reintroduce this later if multicursor users find it useful
2024-01-04 15:59:14 -08:00
Matt Bierner ee91ce84bb
Show TS Server commands in diff editors and notebook cells (#201847)
Fixes #201734

Switches to use tabs so that we can enable TS commands if you're in a JS/TS editor in a diff editor or notebook cell
2024-01-04 15:54:50 -08:00
João Moreno e2eb6c042b
use sha256 in git (#201781) 2024-01-04 12:02:02 +01:00
Johnson Chu 40c0f939e5
Fix optionalReplacementSpan not being applied to completion entries (#200945)
* Fix optionalReplacementSpan not being applied to completion entries

* Format completions.ts
2024-01-03 14:40:11 -08:00
Andrew Branch a1cfe91f9c
Fix preferTypeOnlyAutoImports preference getter (#201376) 2024-01-03 18:55:21 +00:00
Ladislau Szomoru 860d67064a
Git - refactor ref pickers (#201411)
* Refactored quick picks

* Another set of refactoring

* Moved over the remaining classes

* git.checkoutType setting should only be used by the Checkout quick pick

* Introduce RefProcessor and cleanup code

* Introduced multiple processor types

* Another round of refactoring
2023-12-22 22:59:54 +01:00
Ladislau Szomoru b21537c2ef
Git - enable commit signing using SSH key (#201298) 2023-12-20 14:14:39 +01:00
Matt Bierner 9621add460
Fix undefined getting printed (#201250)
Fixes #201244
2023-12-20 00:22:43 +01:00
Megan Rogge 8ee37dc19a
Merge pull request #201082 from susiwen8/fix-201081
fix: `install` in `npm script` shouldn't be opened
2023-12-19 13:12:54 -06:00
susiwen8 f78d488f80 fix: task name end with space 2023-12-19 20:33:30 +08:00
Ladislau Szomoru 9098f756e8
Git - add missing error handler (#201160) 2023-12-18 14:43:44 -08:00
Megan Rogge 2535c6ca13
Merge branch 'main' into fix-201081 2023-12-18 11:05:49 -06:00
Ladislau Szomoru 536dcced4e
Git - disable wrapping for git-commit language (#201135) 2023-12-18 17:11:08 +01:00
Martin Aeschlimann cbd417525b
xml: remove the CDATA autoClosingPairs. Fixes #200671 (#201109) 2023-12-18 14:29:50 +01:00
Ladislau Szomoru 4061a9a5e7
Git - log branch name in case the branch cannot be found (#201117) 2023-12-18 13:15:48 +01:00
Ladislau Szomoru 279872bd96
Git - improve git-commit language settings (#201091) 2023-12-17 23:43:05 +01:00
susiwen8 d022a7b517 fix: install in npm script shouldn't be opened 2023-12-17 22:09:59 +08:00
Ladislau Szomoru 6115f6c319
Git - add autoClosingPairs to git language definitions (#201060) 2023-12-16 16:55:16 +01:00
Ladislau Szomoru baab9bde4d
Git - timeline provider should handle repository with no commits (#200962) 2023-12-15 15:17:38 +01:00
Ladislau Szomoru e8e04769ec
Git - explicitly open repository after initialized (#200957) 2023-12-15 14:53:18 +01:00
Ladislau Szomoru 81546fb355
Git - only add --diff-merges if flag is supported (#200954) 2023-12-15 14:39:46 +01:00
Ladislau Szomoru 371a1579f2
Git - make close other repositories command available in the command palette (#200925) 2023-12-15 08:34:24 +01:00
Matt Bierner 9b8f216b8c
Support escapes in markdown destination settings (#200911)
Support escaping `$` to prevent use as variable and escaping `/` inside of transforms
2023-12-15 02:02:27 +01:00
Ladislau Szomoru 81207cddf5
Git - add command to close other repositories (#200893) 2023-12-14 23:36:20 +01:00
Matt Bierner 955ad8630b
Add support for documentRelativeDirName and documentRelativeFilePath (#200883)
Fixes #193752
2023-12-14 13:03:23 -08:00
Malix 31f8f0dd17
Remove unused import in extensions/git/src/api/git.d.ts (#200797)
Remove unused import
2023-12-14 09:01:39 +00:00
Joyce Er 2ef9d1c99f
fix: don't reshow remote source picker after it's been cancelled (#200775)
* fix: don't reshow remote source picker after it's been cancelled

* fix: dispose more listeners
2023-12-13 20:21:21 +01:00
Alex Ross 86504b9c9c
Add ${/} as a shorter alias for ${pathSeparator} predefined variable (#200750)
Fixes #180827
2023-12-13 17:04:54 +01:00
Alex Ross 3c86ede5f5
Update grammars (#200730) 2023-12-13 13:08:01 +01:00
Jacob Bandes-Storch b7fcbef3e2
Update Swift.tmLanguage (#200698) 2023-12-13 11:56:00 +00:00
Isabel Duan 948f6a1aaf
fix typescript/54492: check if file rename changes extension (#200220)
check if file extension has been changed
2023-12-13 01:23:10 +00:00
Aaron Munger 298b07637a
remove console log message (#200684) 2023-12-12 22:13:54 +01:00
Aaron Munger d5d1424296
Allow disabling filepath links (#200577)
* add setting to enable/disable linkifying filepaths

* implement linkify setting

* update setting without reload

* switch casing style
2023-12-11 15:47:06 -08:00
Matt Bierner 4c5336dae1
Skip encoding of markdown links (#200588)
Fixes #200213

This encoding should no longer be needed now that we can smartly insert angle bracket links
2023-12-12 08:52:25 +11:00
Ladislau Szomoru b0b6913211
Git - gif config should not throw if key does not exist (#200358) 2023-12-08 15:10:52 +01:00
Francis Chartrand bef295a70b
timeline: use follow option so timeline follow file beyond renames (#187174)
feat(git): use follow option so timeline follow file beyond renames

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-12-08 13:03:59 +00:00
Roberto Huertas 62a957135b
feat(stash): return the stash result (#177732)
re #177726
2023-12-08 12:29:19 +01:00
Ladislau Szomoru fe055af0a4
Git - improve branch picker when merging (#200331)
* Git - improve branch picker when merging

* 💄
2023-12-08 12:26:40 +01:00
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
Andrew Branch 82ece597ee
Add setting for preferring type-only imports (#196123) 2023-10-30 18:14:58 +00:00
Noritada Kobayashi c9b23f1fb0
Fix an issue that \xN8 and \xN9 in Rust strings are incorrectly colored (#196198)
* Update Rust grammar

* Add a test for #166781

* Make color themes in the test data for #166781 up-to-date

---------

Co-authored-by: Alex Ross <alros@microsoft.com>
2023-10-30 11:30:48 +00:00
Alex Ross fa22e9ac36
Update grammars (#196839)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-10-27 09:35:46 -07:00
Ladislau Szomoru 56088b01d9
Git - fix issue related to opening parent repositories (#196822) 2023-10-27 06:42:08 -07:00
Ladislau Szomoru 9d2ff86b00
Git - Track attempt count in the test commit message provider (#196348) 2023-10-25 10:15:45 +02:00
Martin Aeschlimann 8f0f284b0f
[html] update service (#196318) 2023-10-23 14:21:46 -07:00
Tatsunori Uchino 2683aa01ac
Add support for --force-if-includes to force push more safely (#187932)
* Add support for `--force-if-includes` to force push

* Change force push failed error message

* Separate force push (no with lease) failed error message

* Switch to `"markdownDescription"`

* Add Git version requirement for config description

* Improve error message when safer force push is rejected

* Eliminate the option's effect if Git is too old

* Minor improvements to community contribution

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-10-23 17:47:46 +02:00
Ladislau Szomoru 4cd1f6ce84
Git - automatically wrap generated commit message (#196268)
* Git - automatically wrap generated commit messages

* Handle edge cases when wrapping the commit message
2023-10-23 15:22:45 +02:00
Ulugbek Abdullaev c6dcdc753b git: print more info when relative path not found 2023-10-23 13:57:39 +02:00
Ulugbek Abdullaev d4586b43cd git: GitError captures stacktrace 2023-10-23 13:57:39 +02:00
Ladislau Szomoru 67df0670ba
Git - set action button command argument (#196216) 2023-10-23 08:19:52 +02:00
Ladislau Szomoru b8c3c75f5d
Git - Update CommitMessageProvider git extension API (#196170)
Update CommitMessageProvider git extension API
2023-10-21 09:15:39 -07:00
Damjan Cvetko 183434d0d0 fix invalid endCharacter value in php validation 2023-10-21 15:57:25 +02:00
Ladislau Szomoru c05b49710b
SCM - Add proposal for inputBox action button (#196121)
* SCM - Add proposal for inputBox action button

* More reliable fix for overlapping
2023-10-21 09:51:24 +02:00
Martin Aeschlimann b5e4f89462
json.schemas improve setting description (#196071)
json.schemas improve setting description. For #196049)
2023-10-20 10:00:32 +02:00
aamunger 2b721ec298 use named capture groups 2023-10-19 08:55:50 -07:00
aamunger 4c2c49d5b0 added line link 2023-10-19 08:55:50 -07:00
aamunger 55794b6c76 handle new URI format from webview 2023-10-19 08:55:50 -07:00
aamunger a9ee16c135 handle new URI format from webview 2023-10-19 08:55:50 -07:00
aamunger 3b6848c4e6 pass test 2023-10-19 08:55:50 -07:00
Aaron Munger 4540b9ba1f older Ipython, failing test 2023-10-19 08:55:50 -07:00
Aaron Munger fe8ac3f89e linkify stack lines for cell references 2023-10-19 08:55:50 -07:00
Aaron Munger 2123a011bf linkify stack lines for file references 2023-10-19 08:55:50 -07:00
Aaron Munger 315f158d20 link test 2023-10-19 08:55:50 -07:00
Aaron Munger 8e8811a5c1 clean raw jupyter error stack traces 2023-10-19 08:55:50 -07:00
Joyce Er dedfcf65d3
feat: add enum descriptions for TS locale setting (#195947) 2023-10-19 01:52:49 +02:00
Connor Peet 9979a72abf
debug: fix serverReadyAction.killOnServerStop not working (#195944)
Fixes #195942
2023-10-18 23:14:06 +02:00
David Dossett b206bc2c51
Merge pull request #195853 from microsoft/ddossett/wicked-narwhal
Increase link contrast in dark modern
2023-10-17 18:30:11 -07:00
David Dossett 49671031d1
Increase link contrast in dark modern 2023-10-17 18:15:34 -07:00
David Dossett 8e17fcac92
Update input placeholder color in dark modern 2023-10-17 17:40:58 -07:00
Yuto Liyosa 672033e151
Resolve absolute file target links in tsconfig (#195514) (#195759)
fix #195514 again
2023-10-18 00:23:59 +00:00
David Dossett 243e6cec50
Tweak text preformat foreground and background (#195821) 2023-10-17 22:18:28 +02:00
Rob Lourens b678edbd64
Merge pull request #195562 from vuittont60/main
fix typos
2023-10-16 15:37:20 -07:00
Tyler James Leonhardt 482d5ba393
Add some integration tests for github-auth (#195729) 2023-10-16 13:58:44 -07:00
Connor Peet d2b1eb8a36
testing: finalize TestMessage.contextValue (#195706)
Closes #190277
2023-10-16 20:37:37 +02:00
vuittont60 ab1c7b42ef
fix typos 2023-10-13 20:28:15 +08:00
Rob Lourens 6c02f61149
Fix variables in chatAgents2 API requests, add tests (#195529)
* Fix variables in chatAgents2 API requests

* Enable file references and the 'used references' section by default in Insiders

* Add integration tests for chat

* Fix equality

* fix test
2023-10-13 06:27:30 +02:00
Martin Aeschlimann e1b62b9b9e
[html/css/json] update language servers (#195157)
* [html/css/json] update language servers

* extension webpack: add conditionNames to prefer import over require
2023-10-11 09:41:12 +02:00
Ladislau Szomoru fdb4d48ff1
Git - cleanup OperationKind enum (#195327) 2023-10-10 22:49:10 -07:00
Benjamin Pasero 29b69437ab
watcher - correlate events to their requesting source (#194776)
* watcher - emit `URI` instead of `string` for faster `fsPath` compute  (for #194341)

* wip

* more

* adopt

* some cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* implement correlation

* cleanup

* add correlation

* undo, leave for later

* tests

* tests

* tests

* tests

* tests

* log cId

* simpler correlation id

* 💄

* tests

* runs

* skip normalization

* fix tests

* tests

* fix tests

* add `createWatcher` API

* partition events in ext host

* allow custom excludes

* remove disk file change

* 💄

* 💄

* 💄

* wire in

* wire in
2023-10-10 10:27:18 +02:00
Johannes Rieken a383c1601d
add proposed API for short and long variant of LanguageStatusItem#text (#195141)
* add proposed API for short and long variant of `LanguageStatusItem#text`

https://github.com/microsoft/vscode/issues/192880

* add new proposal to allow list
2023-10-09 16:22:49 +02:00
Alex Ross 50b3c04d0a
Revert C# grammar to last-known-good commit (#195144)
* Revert C# grammar back to last-known-good commit
Part of #195098

* Also add missing test_cshtml.json test result

* Add new test for issue
2023-10-09 12:33:40 +02:00