Skip to content

feature: support font family picker in settings#214572

Merged
rzhao271 merged 29 commits intomicrosoft:mainfrom
SimonSiefke:feature/font-picker
Mar 10, 2025
Merged

feature: support font family picker in settings#214572
rzhao271 merged 29 commits intomicrosoft:mainfrom
SimonSiefke:feature/font-picker

Conversation

@SimonSiefke
Copy link
Contributor

Helps with #128355.


This is based on the Pull Request by @Tyriar and adds defaultSnippets for editor.fontFamily and terminal.integrated.fontFamily.

font-options

Testing

For testing, open the settings.json file and verify that completions for editor.fontFamily are visible.

Additional information

The completions for the settings ui are not supported, only the settings json editor.

@rzhao271 rzhao271 requested a review from Tyriar June 7, 2024 15:42
@Tyriar
Copy link
Member

Tyriar commented Jun 7, 2024

Doesn't seem to work for me?

Screenshot 2024-06-07 at 9 00 32 AM

@SimonSiefke
Copy link
Contributor Author

Hm, it worked for me on Linux and Windows.

When running the vscode from source in this branch, does await window.queryLocalFonts() in Chrome Devtools return a list of fonts?

local-fonts

I'm not quite sure why it's not working for you, perhaps something might be different on Macos?

@Tyriar Tyriar removed their request for review October 3, 2024 11:21
@rzhao271 rzhao271 added this to the January 2025 milestone Dec 2, 2024
@rzhao271 rzhao271 modified the milestones: January 2025, February 2025 Jan 24, 2025
@rzhao271 rzhao271 modified the milestones: February 2025, March 2025 Feb 21, 2025
@rzhao271
Copy link
Collaborator

rzhao271 commented Mar 5, 2025

I finally had some time to take a look at this PR and can confirm that it works on Windows.
There are still some steps I'd like to take before approving this PR:

  • Update the PR with the latest changes from main
  • Test the PR on macOS
  • Test the PR on Linux

@rzhao271
Copy link
Collaborator

PR LGTM.
Adding @deepak1556 to review app.ts

@rzhao271 rzhao271 requested a review from deepak1556 March 10, 2025 15:05
@rzhao271 rzhao271 merged commit 7d57de4 into microsoft:main Mar 10, 2025
27 checks passed
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Apr 24, 2025
@SimonSiefke SimonSiefke deleted the feature/font-picker branch January 15, 2026 15:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants