You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
highlight files in the file explorer that have errors #782
Renamig folders may cause many file to become "red" in error
looks like that at least the c# (OmniSharp - out of the box installed) extension should be active to trigger this error
to trigger the issue open a C# project (i've an asp.net core project)
it is supposed that the project have some nested folder and different c# file in each folder which make use of classes defined on other files
in general files in less nested folder hierarchy make use of classes defined in files in most nested folders.
i've a workspace file where i've added several of these folder to this workspace so to have them more handy accessible
take one of the nested folder and rename it, this obviously makes all the files in that folder hierarchy to change path
9 time out of 10 (to me at least) the files below the renamed folder become "red" in the explorer view, and may displays random errors (even if no actual error are present)
closing VS Code while the files are red (no modification applied) and re-opening it causes the file to return the correct color (no error are displayed as should be)
if compiling when the files are red, the compilation succeed but the files stays red
in fact no error are present but the folder renaming action very often appears to confuse the explorer view
I could not understand what had happened when suddenly my explorer had been polluted with red text and red dots. I hope there is a way to disable this? I couldn't find it nested under explorer.disableThisSomehow
Edit: without disabling the feature in its entirety. Currently there's only problems.decorations.enabled, I'd love an option to disable it in the explorer, and keep it in the gutter.
Reacted by Kamil Figiela, Jack Guy, Aman, Steve Lathrop and Trevor Schmidt
It would be nice if certain folders could be ignored when displaying errors in the sidebar. Currently my node_modules folder is constantly red because of some package inside which has 'errors' in it.
Tom Spencer (@fiznool): I prefer to completely hide node_modules folder from my explorer. It's not a proper fix for that issue, but might work for people like me:
Activity
alexdima commentedon Nov 30, 2015
Erich Gamma (@egamma) Benjamin Pasero (@bpasero) Would be great to have this.
xogeny commentedon May 2, 2016
👍
devdoomari commentedon Mar 18, 2017
any work on this?
DarrylD commentedon Mar 20, 2017
this concept should also apply to git integration similar to Atom. Is it an api to handle this? Would be nice to start a PR.
sachinnair90 commentedon Aug 19, 2017
👍
fabionogueira commentedon Sep 4, 2017
+1
ibox4real commentedon Sep 30, 2017
+1
25 remaining items
jrieken commentedon Jan 30, 2018
We will continue and finalise this in February
reyalpsirc commentedon Feb 9, 2018
Johannes Rieken (@jrieken) Is there any way to enable only errors on the explorer?
PhotoAtomic commentedon Feb 12, 2018
Renamig folders may cause many file to become "red" in error
looks like that at least the c# (OmniSharp - out of the box installed) extension should be active to trigger this error
to trigger the issue open a C# project (i've an asp.net core project)
it is supposed that the project have some nested folder and different c# file in each folder which make use of classes defined on other files
in general files in less nested folder hierarchy make use of classes defined in files in most nested folders.
i've a workspace file where i've added several of these folder to this workspace so to have them more handy accessible
take one of the nested folder and rename it, this obviously makes all the files in that folder hierarchy to change path
9 time out of 10 (to me at least) the files below the renamed folder become "red" in the explorer view, and may displays random errors (even if no actual error are present)
closing VS Code while the files are red (no modification applied) and re-opening it causes the file to return the correct color (no error are displayed as should be)
if compiling when the files are red, the compilation succeed but the files stays red
in fact no error are present but the folder renaming action very often appears to confuse the explorer view
valleybay commentedon Feb 13, 2018
I could not understand what had happened when suddenly my explorer had been polluted with red text and red dots. I hope there is a way to disable this? I couldn't find it nested under explorer.disableThisSomehow
Edit: without disabling the feature in its entirety. Currently there's only problems.decorations.enabled, I'd love an option to disable it in the explorer, and keep it in the gutter.
fiznool commentedon Feb 16, 2018
It would be nice if certain folders could be ignored when displaying errors in the sidebar. Currently my
node_modulesfolder is constantly red because of some package inside which has 'errors' in it.DmitryEfimenko commentedon Feb 16, 2018
Tom Spencer (@fiznool): I prefer to completely hide
node_modulesfolder from my explorer. It's not a proper fix for that issue, but might work for people like me:jrieken commentedon Mar 8, 2018
Closing this issue because we have shipped the feature in January. Follow-up work is tracked with the
file-decorations-label