Suggestion regarding disabling JustCode

8 posts, 0 answers
  1. Douglas
    Douglas avatar
    3 posts
    Member since:
    Jul 2012

    Posted 20 Jul 2012 Link to this post

    My department has me evaluating Telerik controls for possible purchase (yay), but I have one serious annoyance.

    Due to various internal politics I do not have admin rights on my machine.  Because of this I cannot disable JC (I'll do it later when the IT guy is available to do an admin login, but that's besides the point).  Resharper, on the other hand, gives you a Tools > Options menu from where you can suspend it's operations, and it saves it to your user preferences. 

    This also brings up a good point for an enhancement: I've seen various posts wherein JustCode bogs down with really large projects. Giving the ability to suspend it while working on such a project may very well make life easier for those developers.

    Thanks
    -Doug
  2. O.D.
    O.D. avatar
    13 posts
    Member since:
    Nov 2008

    Posted 23 Jul 2012 Link to this post

    Hello Douglas,

    As for a disabling JustCode features, the add-in manager can be used for that, for the instance you are running, without having to restart Visual Studio.

    On the other hand, I've had the same questions, about disabling the extension itself (I still do). For now, I rarely have to disable JustCode, as it works fine for me. The maximum of RAM it has taken, on one my instances of Visual Studio, is 300MB. 

    In order to optimize memory consumption, I often manage settings in order to enable only use the necessary options.

    There's a feature you can use to centralize the settings if necessary also :
    http://www.telerik.com/help/justcode/reference-justcode-options-options-sharing.html 

    hope this helps,

    Kind Regards,
  3. DevCraft banner
  4. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 25 Jul 2012 Link to this post

    Hello,

     Thanks for the interest.
    @Douglas:
    Oussama's explanation about how to disable JustCode is pretty clear. I will just add the path VS Tools menu -> Add-in Manager .

    Regarding the posts that you have seen about issues with really large projects. I want to assure you that we have tested JustCode with really large ones and the performance is still satisfying. Most of these issues are based on the combinations between specific environments combined with different extensions and add-ins installed.
    Thanks.

    Please, do not hesitate to contact us if you have any further questions or need of assistance.

    All the best,
    Zdravko
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  5. Douglas
    Douglas avatar
    3 posts
    Member since:
    Jul 2012

    Posted 25 Jul 2012 Link to this post

    Zdravo,

    Thanks for your comments.  Here's the problem that I'm having:

    For whatever reason with the setup on this machine (not sure why it handles this way), I can disable the plugin through the add-in manager, and it doesn't disable it. If I close down VS and re-start it, then it is still there and active.

    Thanks
    -Doug
  6. O.D.
    O.D. avatar
    13 posts
    Member since:
    Nov 2008

    Posted 26 Jul 2012 Link to this post

    Hello,

    From the Add-In Manager:
    1.  I deselect the start-up option and command-line option (if checked).
    2. When I restart Visual Studio, The plug-in is not active.
    3. If I need it active, I go back to the add-in manager and check JustCode (JustCode is then activated without having to restart).

    I am using Visual Studio 2010 Ultimate.

    You can try it, if it does not work following the 3 steps, I can make up a quick ScreenCast for demo.

    Kind Regards,




  7. Douglas
    Douglas avatar
    3 posts
    Member since:
    Jul 2012

    Posted 26 Jul 2012 Link to this post

    I've used Visual Studio for almost 10 years now.  I'm quite familiar with how to remove an add-in.  The process you describe assumes that Visual Studio is running under Administrative Privileges.  In my current work environment, the IT guys won't grant that to developers for reasons I won't go into here.

    I had to do some debugging by installing JustCode on my laptop to find out what the core issue is.

    Here's the problem:
    To disable JustCode requires going through the add-in manager (essentially uninstalling it for ALL Visual Studio) by writing to the addin file in c:\program files (x86)\Telerik.

    This can only be done either by running Visual Studio as an administrator (disabling UAC, right-click/run-as-administrator), or granting the user rights to write to the program files directory.

    By contrast, ReSharper has an option to suspend operation, and which writes to the registry under HKEY_CURRENT_USER and to a userSettings file in the roaming profile directory. Neither of these requires administrative privileges, nor does it require shutting down Visual Studio to disable (i.e., you can do it without shutting down the current project you're working under).

    That's what my suggestion is all about -- giving users a way to disable it without requiring admin privileges.  In my case, I use ReSharper, I'm used to it, and JustCode is conflicting with it (including all of my settings). Someone else who might use my system may like it and not want it to be disabled.  I also have times where I disable ReSharper while I'm working for various reasons, but I don't need to uninstall it.  It's a nice feature.

    Hopefully that clarifies the issue.
    -Doug
  8. O.D.
    O.D. avatar
    13 posts
    Member since:
    Nov 2008

    Posted 27 Jul 2012 Link to this post

    Hello Douglas,

    It could not get more detailed than that :)

    Indeed that's an obstacle. I still wonder why it cannot be disabled through the extension manager. I did not realize that removing it through the Add-in manager requires administrative privileges though (Since I'm always administrator of my Dev. machine).

    I've had a similar situation with one of our customers (with other development component besides JustCode), here in France (in banking). We had asked for administrative privileges, for the development team only, in order to be able to avoid such limitations (it was nice that the customer accepted).

    your suggestion is crystal clear.  

    Regards,
    O.D.
  9. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 31 Jul 2012 Link to this post

    Hi,

     Thanks for the additional details.
    I made an item in our system for this feature and we will further discuss it within the team.
    Thank you. 

    All the best,
    Zdravko
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner