I have encountered a number of situations where JustCode reports errors but Visual Studio compiles the project without any complaints. And I'd like to be able to compare easily what errors and/or warnings that Visual Studio reports and contrast those errors and/or warnings with those reported by JustCode.
The only way to do that comparison easily is with an Enable/Disable menu item for JustCode in a way similar to the Enable/Disable menu items for JustMock.
41 Answers, 1 is accepted


Telerik Admins: Any word on whether this issue will be addressed in the future?
Also as a follow-up question, I'd like to know whether JustCode is compatible with the VS2010 extension from Microsoft called Productivity Power Tools. Since uninstalling JustCode, or perhaps even when I did have JustCode installed (not sure), but in any event, I can no longer get the Microsoft Productivity Power Tools to work with my VS 2010 installation even though I've also tried completely uninstalling and re-installing. So the question is: Are the Telerik VS2010 extensions compatible or incompatible with Microsoft extensions such as Productivity Power Tools?
sorry to hear that you encountered problems like that with JustCode.
First of all you can quickly enable/disable JustCode using Tools > Add-in Manager... In general of course we hope that this would not be necessary. In particular it would be great if you could tell us more about the problems you encountered. JustCode should not show errors for C#/VB.net code where the compiler finds none. For web sites / web applications JustCode can display more errors since it does solution-wide checking of HTML and Javascript syntax as well. If you think that any of the errors it reports are incorrect please tell us. We take reports like that very seriously and are eager to fix them.
In general JustCode works fine with the Microsoft Productivity Power Tools. Some of the developers in our team are using that combination without problems. If you say that the Power Tools don't work anymore do you mean that none of the features work or just the keybindings? Are they still listed in the Tools > Extension Manager...?
Hans Kratz
the Telerik team

The Microsoft Productivity Power Tools are still listed in the Extension Manager, but none of the expected features appear in the user interface, for example, the expand/collapse all in the Solution Explorer.
My suggestion regarding an interface with menu item for Enable/Disable derives from the fact that one of the things that I value most as a developer is consistency whether in code or in an interface. So it's natural for me to expect some consistency across the Telerik product line, and if JustMock has a Enable/Disable menu item, then I look for a similar Enable/Disable menu item for JustCode.
With regard to errors reported by JustCode, consider the following sequence of steps: Whether on build or rebuild of my entire solution with all projects, Visual Studio 2010 Ultimate completes the build without any errors or warnings. That proves that Visual Studio compiler does not complain about any problems in my code. Then I run a Refresh Code Analysis with JustCode. After a few seconds of processing, JustCode complains about the following errors:
"VisualBasic.Net: An instance of type 'System.Web.UI.Control' can not be assigned to a variable of type 'System.Web.UI.WebControls.LinkButton'" "PdsTrgReadOnly.ascx.vb" "http://localhost/PdsRegAspWebSite/" "118" "16"
"VisualBasic.Net: An instance of type 'System.Web.UI.Control' can not be assigned to a variable of type 'System.Web.UI.WebControls.LinkButton'" "PdsTrgReadOnly.ascx.vb" "http://localhost/PdsRegAspWebSite/" "123" "16"
"VisualBasic.Net: An instance of type 'System.Web.UI.MasterPage' can not be assigned to a variable of type 'PdsMasterPageBase'" "PdsContentPageBase.vb" "http://localhost/PdsRegAspWebSite/" "56" "7"
"VisualBasic.Net: Unknown method 'op_Explicit' of 'System.Data.SqlTypes.SqlDateTime'" "CalDateTime.vb" "GtgCommon" "51" "60"
"VisualBasic.Net: Unknown method 'op_Explicit' of 'System.Data.SqlTypes.SqlDateTime'" "CalDateTime.vb" "GtgCommon" "77" "62"
"VisualBasic.Net: Unknown method 'op_Explicit' of 'System.Data.SqlTypes.SqlDateTime'" "CalDateTime.vb" "GtgCommon" "126" "44"
"VisualBasic.Net: Unknown method 'op_Explicit' of 'System.Data.SqlTypes.SqlDateTime'" "CalDateTime.vb" "GtgCommon" "133" "44"
As you can see from the above 7 errors, there are really only 3 kinds of errors reported with 2 instances of the first, 1 instance of the second, and 4 instances of the third.
Carl
Thanks for taking the time to respond.
Power Tools
Power Tools adds a new Solution Navigator window, which has the Collapse All button. It does not enhance the Solution Explorer as far as I know. Could you check if there is a Productivity Power Tools entry in the Visual Studio Options menu and that all extensions are enabled?
Enable/Disable buttons
Since this feature is requested quite often we will definitely consider adding an easier way to enable/disable JustCode.
False errors
I was able to reproduce the problem with JustCode not recognizing direct invocations of explicit operators (op_Explicit) and marked it for fixing in the Q3 release.
For the ASP.net problems it would be great if you could open a new private ticket and send us PdsTrgReadOnly.ascx, PdsTrgReadOnly.ascx.vb and PdsTrgReadOnly.ascx.vb.designer (if it exists) and also PdsContentPageBase.vb so that we can try to reproduce that here.
Hans Kratz
the Telerik team

Glad you were able to reproduce the op_Explicit false error. On the other false errors in the ASP.NET *.ascx controls and code-behind, I was able to eliminate them by modifying my source code with explicit type casts using CType(). So even though the VS 2010 compiler did not complain about an error on an implicit type cast, the JustCode analyzer did consider it an error. But as I said, changing my source code to use CType explicitly eliminated the JustCode errors. By the way, the types involved were part of an inheritance chain of base and derived object classes for which I would normally not expect to have to do explicit type casts.
Thanks for pointing out the problem with the Productivity Power Tools. It was my mistake that resulted from a missing hidden window and confusion about Solution Explorer versus Solution Navigator. Once I found and exposed the missing Solution Navigator window, everything seems to be working fine with both JustCode and the Productivity Power Tools enabled at the same time.
good to hear that you were able to resolve your problems.
In general JustCode should not display errors in VB.net code if the compiler does not. Whereever it does we treat this as a bug even if it is possible to work around the issue by changing source code. So if you want us to pursue this issue further please let me know.
Hans Kratz
the Telerik team

In the screenshot you provided the JC analysis process only takes about 125MB. How much memory was JustCode consuming in the worst case so that you had to turn it off?
Hans Kratz
the Telerik team

JustCode's memory consumption mainly depends on solution size. For larger solution a memory usage like this is possible.
Did you encounter any slowdowns or other performance issues because of JustCode's memory usage?
Hans Kratz
the Telerik team

Just check the memory comparison of devenv and justcode
We will continue our efforts in the reduction of JustCode's memory consumption. We are considering making the memory footprint - performance trade-off configurable.
Hans Kratz
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Uninstall here. 11.3.1116.0
This is the second time I've given it a try. No more. I'm done with hoping it will work for me. It just locks up my application and tells lies. ;)

http://www.telerik.com/community/forums/justcode/general-discussions/installed-justcode-eventually-uninstalled-it.aspx
Concerns here now reported by enough different developers that it seems that it would be appropriate for Telerik to report on some performance statistics, as well as provide some built-in tests that are automatically installed when JustCode is installed.
Call these built-in tests "JustCode Self-Check" or call it anything you like. But we need something that will enable us to test the JustCode installation, prove that it's working the way it's supposed to work, and actually do some timing performance tests. Otherwise JustCode might get more of a bad rap / bad rep....
I'm in the same boat as before. Every time that I've tried installing and using it, I've ended up uninstalling it...
First of all fixing problems where JustCode gets in the way is our priority for the next release.
We have considered deploying a performance testsuite with JustCode. Unfortunately most latency issues that we were able to reproduce here were tied to special circumstances (like special code patterns used, many open files, or auto-generated files with 100.000s of lines). Thus a standalone performance test would not help. Instead we would need to run those performance tests within the solution with which you are having issues. Then if this test really shows that the latency is heavily impacted we are most likely still not able to reproduce this issue in our environment because we do not have the same source code.
So what helps us most are testcases with step-by-step instructions ("Open this solution, do this and that, observe how slow it is") with machine specifications ("On my core i7, 4GB RAM, nothing else running" or "on my 1GHz single-core machine with 512MB RAM") and information about the software installed ("I also have the FooBar extension installed").
I understand that most of the times it is impossible to provide us with your exact setup (including the solution source code) even under NDA. Because of that we are investigating the possibility of including a profiler runtime. Then you can capture a snapshot and send it to use and that could point us in the right direction.
So if you have any further information that could help us tracking down the problems you are having please let us know.
Hans Kratz
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Thanks for contacting us.
Since the performance is in our top priorities, we are constantly working to improve it and make JustCode more stable and faster than before.
I have some questions in order to investigate your issue.
1.Do you have any other productivity tool that can be in conflict with JustCode?
2.Do you have all your extensions turned off when this slow performance appears?
Would you try disabling the following components one by one and track the behaviour:
-JustCode's Visual Hints (JustCode menu\ Options\Code Analysis\Hints - all checkboxes to be unchecked.
-Color Identifiers at JustCode menu -> Options -> Visual Features
-Typing Assistance (JustCode \Options\Typing Assistance) and see after that whether you will have the same issues with JustCode? Just to make sure that those are not at fault in your environments.
Would you give us some more details about your projects:
• How many project files are opened in parallel?
• How large are the files you open and does file size make a difference for performance?
• How many warnings/errors JustCode reports you have in the whole solution?
• How much is the memory usage of JustCode when this happens?
Would you please archive(ZIP) and send us your JustCode logs from "%localappdata%\JustCode\Logs" folder? This will help us to check for any issue at your side.
Thanks for the assistance.
All the best,
Zdravko
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Thank you for your feedback. What kind of erratic behaviour did you experience?
I would also like to ask you to try disabling Chirpy and JustCode one by one, so we can know whether JustCode or Chirpy is the cause for this behaviour.
Thank you for your help!
All the best,
Ivan
the Telerik team

I thought I might pitch in my experience also.
JustCode is very good and i am very happy with the functionality, but it is a CPU and memory hog on a scale that is sometimes stupid.
When i do some refactoring operations or similar it may take up to 6-7 minutes before VS2012 is availlable again.
And that is on a HP EliteBook 8770 workstation with 32GB memory and SSD disks.
I have experienced JustCode memory consumption above 3GB! That makes no sence!
Please take a look at the attached screen snip. This is not so bad actually, but VS becomes unresponsive for lengths of time when I for instance change namespace on a library.
Please add a disable/enable funtion, and most important fix the memory problem.
regards
Alexander Moan
PS. I'm always using latest version of Telerik tools.

http://www.telerik.com/community/forums/justcode/general-discussions/enable-disable-for-justcode.aspx#1772886
Thanks for contacting us.
This Q we have plans to spend more time improving JustCode performance, though we haven't stopped.
The memory consumption depends on the size of the solution and its files. If the solution is huge the memory consumption is greater size. I don't think the memory is a problem in you case, but the time when VS is unresponsive could be.
That is why, we will need some more information about your project.
1.Do you have any other productivity tool that can be in conflict with JustCode?
2.Do you have all your extensions turned off when this slow performance appears?
Would you try disabling the following components one by one and track the behaviour:
-JustCode's Visual Hints (JustCode menu\ Options\Code Analysis\Hints - all checkboxes to be unchecked.
-Color Identifiers at JustCode menu -> Options -> Visual Features
-Typing Assistance (JustCode \Options\Typing Assistance) and see after that whether you will have the same issues with JustCode? Just to make sure that those are not at fault in your environments.
Would you give us some more details about your projects:
• How many project files are opened in parallel?
• How large are the files you open and does file size make a difference for performance?
• How many warnings/errors JustCode reports you have in the whole solution?
• Is the reported memory usage a peak when JustCode still analyzes the solution or a standard consumption?
Would you please archive(ZIP) and send us your JustCode logs from "%localappdata%\JustCode\Logs" folder? This will help us to check for any issue at your side.
Thanks for the assistance.
Zdravko
the Telerik team

JustTrace can be disabled from their menu among the other VS menus at the top of the UI.
Maybe it is right to JustCode's one.
Thanks.
Zdravko
the Telerik team

I am running DELL Studio, Win7 PRO, Quad Core, 24GB RAM, HUGE Graphics Card. Hardware is not the issue in my case, or it shouldn't be!
Thanks for your feedback.
Unfortunately JustCode analysis should be enabled for all projects because features like the Navigation depends on that the whole solution is analyzed.
This is just a simple example.
Would you send us your logs so we could review them?
They are located at %localappdata%\JustCode\Logs.
Thanks.
Zdravko
Telerik


How do I disable it for good other then uninstalling it as I would like to use in in new development but not in maintaining a legacy application?
Under "Tools => Extensions and Updated", the JustCode buttons are disabled
With the upcoming version of JustCode you will be able to turn it off permanently. The command is located at JustCode menu > Help > Disable JustCode.
Thanks.
Regards,
Zdravko
Telerik

Can add the image where it is . Only Telerik data access check bx is there(Tools > Add-in Manager)
I'm using VS2013
We have changed the location of the Enable/Disable command. You can now find it in JustCode -> Help -> Enable(Disable) JustCode.
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.

Worked fine with me. Sometimes, I just need it to be disabled and just code.

Every time I typed a character in Visual Studio 2015 in my WPF project. Just Code would lock up Visual Studio. I just disabled Just Code and it is now working fine. Not sure what caused Just Code to suddenly decide it would lock up everything, when it was working perfectly prior.
But just an FYI if you have a Visual Studio Locking up when you enter a character try disabling Just Code first, as it seems like it is likely the reason for it locking up.
I am really sorry for the inconvenience!
Could you please clarify which version of JustCode you have on your side?
We had a racing issue that is already fixed. Could you please try our latest internal build?
Regards,
Svetlozar
Telerik

Could you please try with our latest internal build? We fixed that freeze problem.
Regards,
Svetlozar
Telerik

JustCode is taking almost 2Gb of memory!!
I know my solution ha quite a few projects but still... Justcode uses more memory than Visual Studio itself....
I am really sorry for the inconvenience!
We are aware of that problem. Our Visual Studio 2015 version maintains Roslyn workspace and we have already identified areas for memory optimizations.
Please, stay tuned for our future builds.
Regards,
Svetlozar
Telerik
