Enable/Disable for JustCode

42 posts, 0 answers
  1. Carl
    Carl avatar
    195 posts
    Member since:
    Oct 2012

    Posted 27 Jul 2010 Link to this post

    There are Enable/Disable menu items for JustMock, but I did not see the analogous menu items for JustCode. Is it possible to Enable/Disable JustCode without going through the process of installing and uninstalling the product?

    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.
  2. John
    John avatar
    2 posts
    Member since:
    Sep 2008

    Posted 27 Jul 2010 Link to this post

    I uninstalled it. it bring my computer to it knees and uses up over 4 gig of memory. Just Uninstall it so that you can code.
  3. DevCraft banner
  4. Carl
    Carl avatar
    195 posts
    Member since:
    Oct 2012

    Posted 28 Jul 2010 Link to this post

    Well, I must admit, I also uninstalled JustCode even before writing my initial post for this thread.

    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?
  5. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 02 Aug 2010 Link to this post

    Hi Carl,

    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...?

    Kind regards,
    Hans Kratz
    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
  6. Carl
    Carl avatar
    195 posts
    Member since:
    Oct 2012

    Posted 03 Aug 2010 Link to this post

    Thanks for comments.

    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
  7. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 04 Aug 2010 Link to this post

    Hi 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.

    Sincerely yours,
    Hans Kratz
    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
  8. Carl
    Carl avatar
    195 posts
    Member since:
    Oct 2012

    Posted 04 Aug 2010 Link to this post

    Thanks for following up on these issues.

    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.
  9. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 06 Aug 2010 Link to this post

    Hi Carl,

    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.


    Best wishes,
    Hans Kratz
    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
  10. Mike
    Mike avatar
    338 posts
    Member since:
    Jun 2008

    Posted 29 Sep 2010 Link to this post

    I also had to turn off this add-on because it was eating up too much memory and I have 4Gb.
  11. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 05 Oct 2010 Link to this post

    Hi Michael,

    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?

    All the best,
    Hans Kratz
    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
  12. Mike
    Mike avatar
    338 posts
    Member since:
    Jun 2008

    Posted 05 Oct 2010 Link to this post

    I have seen it up to 523MB
  13. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 10 Oct 2010 Link to this post

    Hi Michael,

    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?

    All the best,
    Hans Kratz
    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
  14. Rasika
    Rasika avatar
    2 posts
    Member since:
    May 2011

    Posted 23 Aug 2011 Link to this post

    I would also like to mention that memory usage is bit high, it is true that for all parsing, and features supported by JustCode it needs to keep lot of data in memory but when in reality, if your solution is huge and because of that your development tool features consuming even greater amount of memory, there is a time we have to decide which one to choose, definitely we cannot do anything about our project size, so only option is to drop the features.

    Just check the memory comparison of devenv and justcode
  15. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 26 Aug 2011 Link to this post

    Hi Rasika,

    We will continue our efforts in the reduction of JustCode's memory consumption. We are considering making the memory footprint - performance trade-off configurable.

    Greetings,
    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 >>

  16. Moon
    Moon avatar
    249 posts
    Member since:
    Oct 2012

    Posted 29 Nov 2011 Link to this post

    What a mess. I loaded up my project and when I loaded a page, I thought, "Wow! Did I make that many mistakes!" It told me I didn't need to include 3 libraries, so I removed them. Then it told me I was missing those libraries. Then it told me I didn't need to typecast several lines of code, which I did. It just has you removing and adding back the same thing! It doesn't know what it's doing!

    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. ;)



  17. Carl
    Carl avatar
    195 posts
    Member since:
    Oct 2012

    Posted 29 Nov 2011 Link to this post

    See also related thread:

    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...

  18. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 05 Dec 2011 Link to this post

    Hello Carl,

    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.

    All the best,
    Hans Kratz
    the Telerik team

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

  19. William Wittsche
    William Wittsche avatar
    8 posts
    Member since:
    Aug 2009

    Posted 08 Aug 2012 Link to this post

    I also have had problems with JustCode getting stuck in what, from the outside, looks like an endless loop.  I had just installed the latest version of JustCode and I had four instances of Visual Studio 2010 open and after working for about 2 hours Visual Studio starts to lag then it completely freezes.  not all the instances just the one I was working on at the time. I have 8gig of memory on an i5-2400 processor and it shows about  about 4 gig free.  The only way to get working again is to click red X and then tell Visual Studio to save before exit.  Once I turned off JustCode from the add-on manager and restart Visual Studio then the lag issues go away.  I love what JustCode does but it is obviously too buggy to use at this time.
  20. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 10 Aug 2012 Link to this post

    Hi,

    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.

  21. AkAlan
    AkAlan avatar
    121 posts
    Member since:
    Jun 2009

    Posted 27 Dec 2012 Link to this post

    Zdravko, I had an Add-In called Chirpy running at the same time and was experiencing some erratic behaviour. I have disabled them both and I see an immediate improvement.
  22. Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 02 Jan 2013 Link to this post

    Hi,

    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
    Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
  23. Alexander
    Alexander avatar
    14 posts
    Member since:
    Oct 2007

    Posted 05 Mar 2013 Link to this post

    Hi
    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.




  24. Rasika
    Rasika avatar
    2 posts
    Member since:
    May 2011

    Posted 05 Mar 2013 Link to this post

    I initially commented on this memory issue in 2011 Aug (but the thread first opened in 2010). and it seems this issue is still not resolved based on the comments here in this thread, I think there is a major design fault, small patches may not fix this issue. I still can't believe this issue there for last two three years and people still experiencing the same problems

    http://www.telerik.com/community/forums/justcode/general-discussions/enable-disable-for-justcode.aspx#1772886
  25. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 07 Mar 2013 Link to this post

    Hi Alexander,

    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.

    Kind regards,
    Zdravko
    the Telerik team
    Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
  26. Clay
    Clay avatar
    6 posts
    Member since:
    Mar 2013

    Posted 25 Apr 2013 Link to this post

    How about for JustTrace? I didn't see a checkbox to disable it...
  27. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 26 Apr 2013 Link to this post

    Hi Clay,

     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.

    All the best,
    Zdravko
    the Telerik team
    Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
  28. Jeremy Schaab
    Jeremy Schaab avatar
    3 posts
    Member since:
    Jul 2009

    Posted 23 Oct 2013 Link to this post

    I am experiencing this issue on a large solution.  Here is my suggestion.  Our large solution consists of many projects that are base/commons.  It would be practical to be able to enable the JustCode on certain projects, IE the WebApp only or anything in which you are actively working.  The fact that the compiler is running on the full stack kills my performance and my own efficiency for basic things like copy/paste.  There are some great features that I don't want to lose by disabling/ uninstalling, so any help is appreciated.

    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!
  29. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 28 Oct 2013 Link to this post

    Hello Jeremy,

     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.

    Regards,
    Zdravko
    Telerik
    Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
  30. Jeremy Schaab
    Jeremy Schaab avatar
    3 posts
    Member since:
    Jul 2009

    Posted 28 Oct 2013 Link to this post

    I cannot attach log files, can you create a support ticket so I can upload them there?  Thanks.
  31. Nikolay Valchev
    Admin
    Nikolay Valchev avatar
    72 posts

    Posted 31 Oct 2013 Link to this post

    Hi Jeremy,

     There is a ticket bound to your account, so you can upload the logs there.

    Regards,
    Nikolay Valchev
    Telerik
    Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
Back to Top
DevCraft banner