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

Allow custom icons for reference/IntelliSense components #27764

Closed
Fconstant opened this issue May 31, 2017 · 20 comments
Closed

Allow custom icons for reference/IntelliSense components #27764

Fconstant opened this issue May 31, 2017 · 20 comments
Assignees
Labels
api *out-of-scope Posted issue is not in scope of VS Code under-discussion Issue is under discussion for relevance, priority, approach ux User experience issues

Comments

@Fconstant
Copy link

  • VSCode Version: 1.12.2
  • OS Version: Windows 10 x64 Pro

Allow customization of icons when you import a new module OR use the IntelliSense autocompletion.

Example with TypeScript:

export const Const = 2;
export class Class {}
export interface Interface {}
export let Let = '23';
export type Type = {}
export function Function() {}

... And then when you import:
VSCode import Demonstration

So, there are these default IntelliSense Icons
VSCode Default IntelliSense Icons

I wanted to use the class and interface icons more like Eclipse's icons for Java components.

Eclipse Class Icon

Another thing to notice: type and class have the same icon, and it can be really confusing sometimes.

PS: I don't know how it's supposed to be on other languages, I've only noticed this on TS (And JS).

@jrieken jrieken added under-discussion Issue is under discussion for relevance, priority, approach info-needed Issue requires more information from poster labels Jun 1, 2017
@jrieken
Copy link
Member

jrieken commented Jun 1, 2017

Do you want to customise it globally for all languages for just a single language? The latter would be really hard on users I believe because we try to streamline the editing experience for various programming languages

@Fconstant
Copy link
Author

Fconstant commented Jun 1, 2017

@jrieken Yeah, I thought about that too. I really don't know how VS Code treats that on other languages. But maybe that should be parametrized. If the user wants to be global or not, then he decides it. I think that would be nice to just start with JS/TS, as a experimental feature.

EDIT
Actually, It would be easier to be a global config for now

@jrieken
Copy link
Member

jrieken commented Jun 1, 2017

fyi @aeschli who master icon themes et al

@jrieken jrieken added api ux User experience issues and removed info-needed Issue requires more information from poster labels Jun 1, 2017
@mjbvz mjbvz marked this as a duplicate of #31383 Jul 26, 2017
@lukaszpolowczyk
Copy link

lukaszpolowczyk commented May 19, 2018

Definitely today's icons are completely unreadable. Why a box for variables? wireframe for functions? Where did it come from?

What do the icons look like in other editors?

@Kroc
Copy link

Kroc commented May 19, 2018

As a general suggestion, Microsoft could include a number of additional icons spare in the program that extension developers can make use of without having to provide their own for some slight better consistency.

@vscodebot
Copy link

vscodebot bot commented Sep 10, 2018

This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding and happy coding!

@vscodebot vscodebot bot closed this as completed Sep 10, 2018
@gryphon2411
Copy link

gryphon2411 commented Dec 17, 2018

@jrieken why this issue was marked as *out-of-scope?

This issue seems to be useful for many users, which are not into remembering icons, but rather use easy letter hints.

@ghost
Copy link

ghost commented Mar 1, 2019

I think this should be reopened. Letters would be a lot nicer for this, as we can see that Microsoft don't know what they're doing when it comes to icons lol.

@Fconstant
Copy link
Author

Icons should be easily distinguable and self-explanatory.
Current icons are so hard to understand and associate with.
Please reopen this issue.

@DeltaRazero
Copy link

I've been wanting to replace the IntelliSense icons with custom ones as well for in an icon theme.

Please reopen this issue.

@kingkong404
Copy link

+1 Reopen, Icons are terrible

@wyuenho
Copy link

wyuenho commented Oct 24, 2019

please reopen

@sss-ng
Copy link

sss-ng commented Sep 3, 2020

Reopen, please. There needs to be a difference between the icons of Interface and Class in java.
Angular does a great job of changing the icon depending on whether it is a module, component, service, etc. Though I suspect that is because of the naming conventions, ie. navigation.component.ts

@DeltaRazero
Copy link

@arid-mangos It's possible to have custom intellisense icons with product themes (still in development)
#92791 (comment)

Only problem is that icons are (a) a single color only, as they are imported as glyphs from an icon-font (so no SVGs) and (b) have their colors defined in a color theme (or you need to set/paste them into your user config file). It's funny as the intellisense icons are rarely ever changed from their default values in color themes

@ghost
Copy link

ghost commented Dec 28, 2020

I love the intellisense icon in WebStorm. Can you something similar?

@DeltaRazero
Copy link

DeltaRazero commented Dec 28, 2020

@lifeoflikhon I have been working on an extension providing file icons and product icons. I still need to do add some icons, but I will publish it once product icons API is finalized.
Bear in mind there are some limitations for colouring product icons, since VSCode's only allows glyphs for those icons and thus only are icons are only a single colour.
image

Is this something you would be happy with?

@pedzed
Copy link

pedzed commented May 18, 2023

Very frustrating. Using PHP, every single time I mix up class properties and class methods.

image

@DeltaRazero Any update on this?

@DeltaRazero
Copy link

DeltaRazero commented Jun 24, 2023

@pedzed Sorry for the late reply. I hadn't really continued much but am planning to revisit this. I'm still kinda angry how multi-colored icons still aren't possible (I have tried with COLR fonts too to cheat it but it doesn't appear Electron/VSCode supports it). So for icons that rely on transparency parts or multiple colors, I have to edit them manually. Apparently COLRv1 through woff2 is supported. Trying out some things at this point but I might be in luck.
Besides, it appears JetBrains have introduced a new style of icons so I will need to add that too.

If it is of any value to you, I can post a link to the older work in progress extension VSIX to install locally

@DeltaRazero
Copy link

DeltaRazero commented Jul 7, 2023

So I have rewritten my icon theme generator for the most part, and while I need to iron out some parts still, I can testify with COLRv1 woff2 fonts you can have (multi-)colored product icons
image

Can't give a precise ETA but I'll be working on completing that IntelliJ theme in the coming time.

@Number-3434
Copy link

@DeltaRazero Is this extension out yet?

I've already seen a screenshot of someone using this.

P.S. Is it possible to use the extension for your own custom icons?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api *out-of-scope Posted issue is not in scope of VS Code under-discussion Issue is under discussion for relevance, priority, approach ux User experience issues
Projects
None yet
Development

No branches or pull requests