Is it possible to force JustCode to analyse only open files?

4 posts, 0 answers
  1. Marius
    Marius avatar
    2 posts
    Member since:
    Jul 2012

    Posted 03 Oct 2012 Link to this post

    I am working on a solution with lots of projects and also a lot of files and analysis of all the files in the solution takes some and results in poor performance of the workstation and even random crashes while building.

    Is there a way to force JustCode to analyze only open files
    or at least to exclude certain projects from being analyzed? (eg. I only want 10 projects to be analyzed out of 40)

    Thanks,
    Marius Bughiu
  2. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 03 Oct 2012 Link to this post

    Marius.

    if you think it through, you'll see that can't work.

    what happens if you change some thing in one file, a class say, that breaks the use of the class in another file that isn't open? How can it know?

    I imagine that things like 'Find Usages' functionality would just stop working too.

    As I understand it, analysis has to work on the entire solution to work at all. I have no inside knowledge, so I can't say whether or not that this is something that Telerik plan to change, but I can say with certainty that this is not something you can do now.

    -- 
    Stuart
  3. DevCraft banner
  4. Marius
    Marius avatar
    2 posts
    Member since:
    Jul 2012

    Posted 03 Oct 2012 Link to this post

    I understand your point.
    But as I code I don't really care how that affects another file that I don't have open. For that I could run a solution-wide analysis.
    I only care about the open file. Usages in this file and refactoring in this file.

    Or at least the option to choose which projects to analyze or an option to analyze the current project only.
    After all project are build independently.

    In my case for example, there is a project which is for now broken and another colleagues is working on it and it generates tons of errors (about 900) which JustCode analyses. I don't care about that project. I don't want it to be analyzed.
  5. Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 08 Oct 2012 Link to this post

    Hi,

    Thank you for your feedback. Currently, you cannot set JustCode to analyze only the open files. However, there is a functionality in JustCode that will let you ignore errors/warnings coming from specific projects. You can add the project name to the "Exclude project filters" and JustCode will not report any errors from it. You can find this filter in JustCode->Options->Code Analysis".
    If you have any more questions or remarks, please do not hesitate to contact us again!

    Regards,
    Ivan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top