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

Popup info: Folder contains emphasized items ? #54960

Closed
Legends opened this issue Jul 24, 2018 · 13 comments
Closed

Popup info: Folder contains emphasized items ? #54960

Legends opened this issue Jul 24, 2018 · 13 comments
Labels
*as-designed Described behavior is as designed

Comments

@Legends
Copy link

Legends commented Jul 24, 2018

What does this mean?

@kieferrm
Copy link
Member

I'm guessing you're talking about

emphasized

This hover tells you that there are files and folder below that have decorations of various kinds. In this case 'menus.ts' has git and typescript error decorations.

@kieferrm
Copy link
Member

@jrieken FYI

@kieferrm kieferrm added the *as-designed Described behavior is as designed label Jul 25, 2018
@Legends
Copy link
Author

Legends commented Jul 25, 2018

Yeah, that's what I thought of too.
I had green dot on the right side and the folder was green too, only the emphasized items were missing.
Perhaps, my brain played a trick on me or it is something with the IDE. I will come back if it should happen again.
Thanks for the quick response!

@vphantom
Copy link

I can reproduce this indefinitely right now with 1.25.1: one main folder has this, in my case orange dot "Contains emphasized items" however nothing in that folder is emphasized, so I have no idea how to get rid of that. :-/

@ali-habibzadeh

This comment has been minimized.

@jrieken
Copy link
Member

jrieken commented Jul 26, 2018

however nothing in that folder is emphasized, so I have no idea how to get rid of that. :-/

@vphantom Do you have any file/folder excludes configured? What does the SCM viewlet show?

@vphantom
Copy link

@jrieken That folder has no pending changes in source control, but it does indeed have a .gitignore file which causes several files and folders to be grayed out in the explorer tree.

@alexmcmillan
Copy link

I also have a folder claiming "Contains emphasized items", but all of its descendant files are green. Reloading the window doesn't fix this. Is there any way to determine which items are "emphasized" ?

@nbjgi1
Copy link

nbjgi1 commented Aug 16, 2018

also keen on a fix

@jrieken
Copy link
Member

jrieken commented Aug 17, 2018

"Contains emphasized items", but all of its descendant files are green. Reloading the window doesn't fix this. Is there any way to determine which items are "emphasized"

All of the descendant files are meant. The message 'contains emphasized items' is just there to explain the dot, which means there are any kind decorations in the descendants

@alexmcmillan
Copy link

alexmcmillan commented Aug 17, 2018

@jrieken If I understand you correctly, you are saying that files in green trigger their parent folder to become red with the "Contains Emphasized Items" message?

If so, there seems to be some kind of inconsistency; most of the time I see:

  • green: new, untracked files
  • orange: files with uncommitted modifications
  • red: files with errors

where the folder takes the "highest priority" colouring from the files inside it and shows a dot, while each file takes the appropriate colour and shows either "U" (untracked), "M" (modified), or a number indicating the count of syntax errors...

Have I misunderstood you?

Edit: I see that a folder in orange or green also has the message "Contains Emphasized Items". I guess this issue is about the red coloring more than the message - it really appears the folder is indicating it contains files with errors, but it doesn't.

@jrieken
Copy link
Member

jrieken commented Aug 17, 2018

Have I misunderstood you?

Yes. The message "Contains Emphasized Items" means that there is any kind of decoration in any of the children. The color of the dot is the one with the highest priority, usually errors or warnings. You can check the problems view for the errors and warnings current known to the editor - it should contain a problem that lives inside that subtree. Iff not check your explorer exclude settings and file a separate issue with steps to reproduce.

@alexmcmillan
Copy link

alexmcmillan commented Aug 17, 2018

Thank you for your help.

There was nothing in the Problems window, but committing all files "reset" the folder structure to all-white (as expected) and the problem appears resolved. If I come across this again I will open a new issue as you suggest.

@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed
Projects
None yet
Development

No branches or pull requests

7 participants