Skip to content

highlight files in the file explorer that have errors #782

Closed

Description

Visual studio does it really well. I find it very helpful when working with TypeScript. I bet it would be as helpful with any strongly typed language.

Activity

  1. added
    feature-request
    on Nov 30, 2015
  2. alexdima commented on Nov 30, 2015

    @alexdima
    Member
  3. xogeny commented on May 2, 2016

    @xogeny

    👍

  4. devdoomari commented on Mar 18, 2017

    @devdoomari

    any work on this?

  5. DarrylD commented on Mar 20, 2017

    @DarrylD

    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.

  6. sachinnair90 commented on Aug 19, 2017

    @sachinnair90

    👍

  7. fabionogueira commented on Sep 4, 2017

    @fabionogueira

    +1

  8. ibox4real commented on Sep 30, 2017

    @ibox4real

    +1

  9. 25 remaining items

  10. jrieken commented on Jan 30, 2018

    @jrieken
    Contributor

    We will continue and finalise this in February

  11. reyalpsirc commented on Feb 9, 2018

    @reyalpsirc

    Johannes Rieken (@jrieken) Is there any way to enable only errors on the explorer?

  12. PhotoAtomic commented on Feb 12, 2018

    @PhotoAtomic

    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

  13. valleybay commented on Feb 13, 2018

    @valleybay

    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.

  14. fiznool commented on Feb 16, 2018

    @fiznool

    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.

  15. DmitryEfimenko commented on Feb 16, 2018

    @DmitryEfimenko
    Author

    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:

    "files.exclude": {
      "node_modules/": true
    },
    
  16. jrieken commented on Mar 8, 2018

    @jrieken
    Contributor

    Closing this issue because we have shipped the feature in January. Follow-up work is tracked with the file-decorations-label

  17. added
    verification-needed
    on Mar 26, 2018
  18. locked and limited conversation to collaborators on Apr 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestfile-decorationsfile-explorerrelease-notesverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions