Where is the "Ignore This Error/Warning" stored?

4 posts, 1 answers
  1. Chris May
    Chris May avatar
    31 posts
    Member since:
    Nov 2009

    Posted 04 Jun 2012 Link to this post

    After ignoring a bunch of stuff from an existing solution I reviewed, I noticed that there were no new files created in my source controlled solution, so I'm assuming that if someone else were to check out the project that they would be presented with the same list of warnings that I already went through and ignored.  Is that correct? 

    I'm also thinking of a situation where I get a new computer, or I pull code into a different location on my computer, and wondering how Just Code would react.  How does it store the list of things I've told it to ignore?
  2. Answer
    Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 05 Jun 2012 Link to this post

    Hello,

    Thank you for your feedback. Since version 2012-04-19 of JustCode the ignored warnings and errors are stored inside a folder in your solution folder called .JustCode. It should not be picked by your source control system and thus will not be shared among all team members.
    Before that they were stored in %appdata%/JustCode/userConfiguration.xml and were again not picked by the source control system.
    At the moment the errors and warnings are stored with the full path of the file they are in. That means if you move the file to another location - they will be shown again.
    We will definitely consider a better way to do it(i.e. taking a path relative to the solution) so you can reuse the ignored warnings and errors on every machine you have. That is why we have moved them to another file.
    If you have any more questions or remarks, please do not hesitate to contact us again!

    All the best,
    Ivan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Steven
    Steven avatar
    4 posts
    Member since:
    May 2013

    Posted 29 May 2014 Link to this post

    Hi, have there been any further updates on this issue? I've seen it has been some time since this post was last dealt with.

    I can see that the ignored warnings/errors are being stored in the .JustCode folder where the solution file is. However, we are to understand not to store this file in source control. So when it comes to another guy in the team to pick up the project they will have to re-ignore all the warnings. If I happen to want to get a clean checkout then I will also have to re-ignore all warnings. Seems like a bit of a pain.

    We would like to see the ignored warnings stored in a file which can be source controlled.

    Thanks
  5. Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 31 May 2014 Link to this post

    Hi,

    You can add the generated file in the .JustCode folder to your repository. Then everyone who gets the repository locally should not see any of the ignored errors or warnings.
    A possible downside is that the generated file is a xml one and it is could be tricky to resolve conflicts when there are any.
    Please note that it is possible for an ignored error or warning to be shown again without explicitly unignoring it. JustCode remembers the type of the warning and the content of the line where it is stored. So if you change the content of the line without fixing the warning it will be shown again.
    If you have any questions or remarks, please do not hesitate to contact us again!

    Regards,
    Ivan
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top