contains emphasized items что это
Comments
Legends commented Jul 24, 2018
What does this mean?
The text was updated successfully, but these errors were encountered:
kieferrm commented Jul 25, 2018
I’m guessing you’re talking about
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 commented Jul 25, 2018
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 commented Jul 25, 2018
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. :-/
This comment was marked as spam.
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 commented Jul 26, 2018
alexmcmillan commented Aug 16, 2018
nbjgi1 commented Aug 16, 2018
also keen on a fix
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 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:
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?
jrieken commented Aug 17, 2018
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.
VS code containes emphasized items but no error
I’m writing a React project in VS code. I met this problem in VS code. In my project, this folder shows Contains emphasized items and I know it means there is a error in my files. But in the picture
,
I have checked all files but no error found. So this makes me feel confused.
I have search this problem in google and found a similiar github issue. https://github.com/Microsoft/vscode/issues/54960
Hope someone can help me. Thanks
14 Answers 14
Committing once with git can be resolved.
Use the command, CTRL+SHIFT+P on windows or COMMAND+SHIFT+P on mac, then search «Developer: reload window», click on it, your vs will reload and enjoy your stress-free coding.
I saw this message after moving a file from one folder to another, renaming and committing everything to git.
The Visual Studio «Problems» window showed an issue with the «deleted» file. Somehow VS had left a window open for the original location of the file and in it’s tab the file was labeled as «deleted». Closing that tab in VS got rid of the «Contains emphasized items»
Had the same issue.
Committing multiple times from within the VS Code did not help.
However, once I added the files and committed from the shell, everything fell in place.
In my case, the already deleted files were opened in the VS code. Closing those files resolved my issue.
I had the same issue, pushing to git didn’t solve the problem. I simply closed all files, cancelled my dev server and restarted VS Code. The emphasizing was gone.
This error occurs because there are pending changes to be saved in git, so to solve this problem, open a command terminal and go to the folder where your project is located, execute the following commands
In my case it works with this.
I noticed this when I working on a Rails application using Visual Studio Code editor.
However, committing the code change using the below commands fixed it:
I hope this helps
VSCode using React. Changed a folder name in the src folder. Would not pass compilation after changing names of components. Committed to git. Restarted the app with npm start. All is well.
This is an edge case but I am putting it here just in case it helps someone in the future.
This is the procedure I went thru to clean up my staged files:
Apparently adding, reverting, then adding a subset of my directories confused vs code and it just needed to reload the window.