Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate font feature settings from editor to suggest widget #87994

Closed
AlsoScratch opened this issue Jan 2, 2020 · 20 comments
Closed

Propagate font feature settings from editor to suggest widget #87994

AlsoScratch opened this issue Jan 2, 2020 · 20 comments
Assignees
Labels
feature-request Request for new features or functionality suggest IntelliSense, Auto Complete ux User experience issues verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@AlsoScratch
Copy link

  • VSCode Version: 1.41.1
  • OS Version: macOS 10.15.2

Steps to Reproduce:

  1. Open a file, such as the settings.json document
  2. Type something that will make the fill suggestions appear

Does this issue occur when all extensions are disabled?: Yes

Screenshot 2020-01-02 at 10 24 38 PM

The text in the editor is correct based on my OpenType settings, but the fill suggestions are still the default. (Note differences in i and l)

@jrieken jrieken added info-needed Issue requires more information from poster suggest IntelliSense, Auto Complete ux User experience issues labels Jan 2, 2020
@jrieken
Copy link
Member

jrieken commented Jan 2, 2020

Are you talking about the font?

@AlsoScratch
Copy link
Author

Of course, it is about the font.

@jrieken jrieken added feature-request Request for new features or functionality and removed info-needed Issue requires more information from poster labels Jan 3, 2020
@jrieken jrieken added this to the Backlog Candidates milestone Jan 3, 2020
@jrieken jrieken changed the title OpenType does not apply to fill suggestions Option to customise used for IntelliSense Jan 3, 2020
@AlsoScratch
Copy link
Author

Umm... I don't understand the new title. I just thought that when OpenType customization was implemented for the editor, the fill suggestions were overlooked.

@AlsoScratch
Copy link
Author

Notice the i in the editor does not match the i in the fill suggestion list.

@jrieken jrieken changed the title Option to customise used for IntelliSense Option to customise font used for IntelliSense Jan 3, 2020
@jrieken
Copy link
Member

jrieken commented Jan 3, 2020

Umm... I don't understand the new title. I just thought that when OpenType customization was implemented for the editor, the fill suggestions were overlooked.

Forgot a word, updates the title again

@AlsoScratch
Copy link
Author

Screenshot 2020-01-03 at 4 47 07 PM

@AlsoScratch
Copy link
Author

The IntelliSense just needs to automatically match the editor.

@jrieken
Copy link
Member

jrieken commented Jan 3, 2020

Well, turns out we actually do apply the editor font in the suggest widget. I guess this is a ligature issue. @AlsoScratch Please share your settings with me.

@AlsoScratch
Copy link
Author

It's a font called Iosevka and it uses what I may call custom OpenType tags to modify individual characters like g, i, l, y, etc.

@AlsoScratch
Copy link
Author

The settings.json file

{
    "editor.fontFamily": "'Iosevka Term', 'IBM Plex Mono', Menlo, Monaco, 'Courier New', monospace",
    "editor.fontLigatures": "'cv01', 'cv05', 'cv11', 'cv19', 'cv21', 'cv23', 'cv26', 'cv27', 'cv36', 'cv38', 'cv45', 'cv46', 'cv49', 'cv51', 'cv52', 'cv65'",
    "editor.lineHeight": 22
}

@jrieken jrieken changed the title Option to customise font used for IntelliSense Propagate font feature settlings from editor to suggest widget Jan 6, 2020
@jrieken
Copy link
Member

jrieken commented Jan 6, 2020

Ok, I am starting to understand now (sorry not a font expert). I have pushed a change that makes sure that we use the same font features in the suggest widget as we do in the editor. Tomorrow's insider build should contains this change, please report back if it then works for you.

@AlsoScratch
Copy link
Author

I don't use insider, I only trust official releases.

@jrieken
Copy link
Member

jrieken commented Jan 6, 2020

Insiders is an official release.

@AlsoScratch
Copy link
Author

Insiders is an official release.

Isn't it the one that always has the latest commit, something like that?

@jrieken
Copy link
Member

jrieken commented Jan 6, 2020

It's a daily build (usually from 8am CET) which contains the latest changes and allows you to see what will come in VS Code.

@AlsoScratch
Copy link
Author

Oh, I just realized that the word 'settings' in the title is misspelled.

@AlsoScratch AlsoScratch changed the title Propagate font feature settlings from editor to suggest widget Propagate font feature settings from editor to suggest widget Jan 7, 2020
octref added a commit that referenced this issue Jan 8, 2020
@octref
Copy link
Contributor

octref commented Jan 8, 2020

Screen Shot 2020-01-08 at 10 35 10 AM

@jrieken Your change is applied to the details widget, but I think the OP is asking for the suggest item list to share font feature setting.

I don't think we want to apply the font feature settings to the details widget, as it uses system's default sans-serif font (such as San Francisco on macOS), and font features that apply to monospace coding font (such as his choice, Ioveska) might cause weird rendering in details widget.

In short, I suggest taking 6f428b1 and removing bf2dbfc.

@octref octref closed this as completed in db9e4bc Jan 8, 2020
@octref
Copy link
Contributor

octref commented Jan 8, 2020

@jrieken Lemme know if I can remove bf2dbfc

@AlsoScratch
Copy link
Author

It also needs to be propagated to the Python terminal.

@octref
Copy link
Contributor

octref commented Jan 21, 2020

Please open new issue for terminal then. It is a completely different area.

@jrieken jrieken removed their assignment Jan 27, 2020
@sandy081 sandy081 added the verification-needed Verification of issue is requested label Jan 29, 2020
@connor4312 connor4312 added the verified Verification succeeded label Jan 29, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality suggest IntelliSense, Auto Complete ux User experience issues verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

5 participants