This is a migrated thread and some comments may be shown as answers.

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

3 Answers 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marius
Top achievements
Rank 1
Marius asked on 03 Oct 2012, 09:32 AM
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

3 Answers, 1 is accepted

Sort by
0
Stuart Hemming
Top achievements
Rank 2
answered on 03 Oct 2012, 11:34 AM
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
0
Marius
Top achievements
Rank 1
answered on 03 Oct 2012, 11:51 AM
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.
0
Ivan
Telerik team
answered on 08 Oct 2012, 11:21 AM
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.

Tags
General Discussions
Asked by
Marius
Top achievements
Rank 1
Answers by
Stuart Hemming
Top achievements
Rank 2
Marius
Top achievements
Rank 1
Ivan
Telerik team
Share this question
or