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

Suggestion: Separate Style for Symbols from the Current Project #168

Open
fitdev opened this issue Jul 8, 2021 · 3 comments
Open

Suggestion: Separate Style for Symbols from the Current Project #168

fitdev opened this issue Jul 8, 2021 · 3 comments
Labels
Milestone

Comments

@fitdev
Copy link

fitdev commented Jul 8, 2021

In addition to having an incredibly useful feature that lets you distinguish between user and non-user code, it would be nice to have additional "levels" of such distinction by having additional highlight classes:

  • All user code (symbols) that are defined in the same project as the file being edited. (Style should inherit from User Code style)
  • If possible distinguish between Framework vs 3rd-party library code.
@wmjordan
Copy link
Owner

wmjordan commented Jul 8, 2021

Currently it can take quite a lot of efforts to determine whether a symbol belongs to the same project of the editing document.

Nowadays, user symbols have no special style and the imported symbols are displayed in bold.
What kind of style do you suggest if this feature is implemented?

@fitdev
Copy link
Author

fitdev commented Jul 8, 2021

Nowadays, user symbols have no special style and the imported symbols are displayed in bold.

I have it set up the other way around on my end (just my preference).

What kind of style do you suggest if this feature is implemented?

Ideally it would just use a different font. That's how I made it work with user vs non-user code. They use slightly different fonts (one is regular the other is bolded version). So I was thinking perhaps a 3rd font could be selected by the user for this new style class. The way I would have it set up for instance would be:

  • Bold: current project code
  • Semibold / regular: user code
  • Regular / Thin: 3rd party and framework code

@wmjordan wmjordan added this to the Backlog milestone Jul 9, 2021
@wmjordan
Copy link
Owner

wmjordan commented Jul 9, 2021

Since this requires a lot of work, I have backlogged this. I will try to find a way which requires less CPU resources later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants