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

Code analysis off, but JC turns off 'Underline errors in the editor' setting without regard

3 Answers 65 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matthew
Top achievements
Rank 1
Matthew asked on 20 May 2010, 03:50 PM
Hello,

I'm using JustCode primarily for the navigation features and have turned off the code analysis. I know I can get back the C# native code analysis by going into Tools > Options > Text Editor > C# > Advanced, and checking "Underline errors in the editor" and "Show live semantic errors", but if I close out of Visual Studio and come back in, the JustCode code analysis is still turned off (which is to be expected), but the two C# settings listed above are now unchecked, which I wouldn't expect to happen.

Is there any workaround, or can this be put on the bug list? I  am using Visual Studio 2010 Ultimate with JustCode v2010.1.415.1.

Thanks, Matthew

3 Answers, 1 is accepted

Sort by
0
Svetlozar
Telerik team
answered on 24 May 2010, 09:19 AM
Hi Matthew,

Thank you for your feedback. We need a little more information about what you are doing.

Can you please clarify what do you mean by "have turned off the code analysis". We don't have such a feature. Other than that JustCode relies heavily on the code analysis and if it is turned off you can not use the navigation features (at least). It's the same story if you disable the add-in from visual studio options, you can not use the navigation features too. If you kill the process manually from the task manager it will start again, so that is not an option for "turn off the code analysis" too.    

About the text editor options, every time the JustCode add-in is started it disables "Underline errors in the editor" and "Show live semantic errors" just because it gets a mess if Visual Studio and JustCode do the same job. If you disable the Add-in from Tools - Add-in Manger and then check "Underline errors in the editor" and "Show live semantic errors" they would stay checked until the JustCode Add-in is launched again.      

Please, do not hesitate to ask any further questions.

Sorry for the inconvenience.

Sincerely yours,
Svetlozar Angelov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Matthew
Top achievements
Rank 1
answered on 24 May 2010, 01:12 PM
Hi Svetlozar,

By 'turned off' I mean all the languages in the Code Analysis settings. Please see attached.

Is there anyway to check and see, if JC has C# code analysis unchecked, it won't turn off the "Underline errors in the editor" and "Show live semantic errors" settings? You probably know more about how these settings interact with JustCode, but I used this configuration for the rest of Thursday, and I didn't encounter any problems.

Thanks for your help,

Matthew
0
Accepted
Svetlozar
Telerik team
answered on 24 May 2010, 04:01 PM
Hi Matthew,

Thank you for your response. It makes sense now.

When you perform the operation of unchecking languages from JustCode -> Options -> Code Analysis you don't actually stop the analysis for those languages (that is why you are able to use the navigation features and so on), you just make JustCode doesn't show the errors and warnings.

Your suggestion is really good, we should not override the visual studio text editor options for showing errors in situations like the one you described (with unchecked languages in JustCode Code Analysis options). I created a feature request in our public issue tracking system, you should be able to monitor its progress.

Please, do not hesitate to ask any further questions.

Best wishes,
Svetlozar Angelov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Code Analysis
Asked by
Matthew
Top achievements
Rank 1
Answers by
Svetlozar
Telerik team
Matthew
Top achievements
Rank 1
Share this question
or