Just Code Broke Intellisense, Slow Key Responsiveness

41 posts, 0 answers
  1. Stephen
    Stephen avatar
    12 posts
    Member since:
    Mar 2012

    Posted 02 Apr 2012 Link to this post

    I am testing out Just Code, in place of using Resharper.  Since installing JustCode, intellisense no longer works and there is a pause after every key I type, or delete.  This is really bad.  I had heard great things about how much faster JustCode responds, as opposed to Resharper, but this is the opposite in my case.  Resharper was much more zippy.  Could you please give me some ideas where to look for the problem?  Obviously, with Intellisense not working, this would make me stop using JustCode right away, but I am assuming that is a problem with a solution.  I probably have something set wrong somewhere, or something changed after installing JustCode.  The responsiveness is something I am more concerned with.
  2. Chris
    Chris avatar
    6 posts
    Member since:
    Aug 2011

    Posted 02 Apr 2012 Link to this post

    We are also consistently having this problem. Is there any other configuration we need to do to get this working?
  3. DevCraft banner
  4. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 02 Apr 2012 Link to this post

    Guys,

    I know that this is not necessarily a question you want to hear, but have you tried uninstalling resharper?

    I ask 'cos I've been running JC for a good while now and don't have this problem, but I've never seen this particular problem.

    -- 
    Stuart
  5. Stephen
    Stephen avatar
    12 posts
    Member since:
    Mar 2012

    Posted 02 Apr 2012 Link to this post

    Actually, I didn't have Resharper installed.  I freshly removed and reinstalled VS 2010, then the Silverlight SQK and toolkit, then JustCode last.
  6. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 03 Apr 2012 Link to this post

    Hmmm. That's really odd. I have a number of extensions in VS as well as JC and haven't seen this. Granted, earlier versions were very memory hungry, but this has been addressed to some extent in the later versions. This prolly sounds daft, but can you uninstall JC and confirm that that is actually the cause of the lack of responsiveness? And, if VS goes back to normal when you remov JC does the poor behaviour return on reinstall action of JC? I know that it seems like a lot of effort, but having JC installed and working is, in my opinion, worth the effort. -- Stuart
  7. Mike
    Mike avatar
    31 posts
    Member since:
    Sep 2008

    Posted 03 Apr 2012 Link to this post

    HI

    I have to agree with Stuart , I have been using Just Code for months and never seen a slow up in intellesence. I have even run a combination of Visual Assist X and Just Code as an intellesence supplement with no obvious problems.

    Resharper on the other hand with Code Analysis enabled completely stuffs the IDE if your solution is of any reasonable size.

    This is the primary reason I switched from Resharper , incessant Out of Memory errors , Just Code runs the code analysis on a  separate thread and "leave the IDE alone", its a very noticeable improvement

    One thought is the type of files , code analysis in JC allows you to switch off extensions eg .designer etc as generated code you don't need to analyse it , maybe cut down the number of analysed extensions and see what gives

    Mike
  8. Chris
    Chris avatar
    6 posts
    Member since:
    Aug 2011

    Posted 03 Apr 2012 Link to this post

    I can't speak for the original poster, but this happens even on machines that have never had ReSharper installed. For us, the broken Intellisense is a larger issue than the performance. We have tried uninstalling and reinstalling JustCode to no avail. Parameter tooltips do not show up and completion lists are absent until we hit Ctrl+Space; even in this case it only shows identifiers in the global scope. Intellisense works fine again when JustCode is removed. This is happening on about 4/5 of the dev boxes. The JustCode version is 2012.1.321.1.
  9. Stephen
    Stephen avatar
    12 posts
    Member since:
    Mar 2012

    Posted 03 Apr 2012 Link to this post

    When I disabled JustCode in the Add-In Manager, Intellisense started working again.
  10. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 03 Apr 2012 Link to this post

    There's got to be a common environmental factor.

    I'm using VS 2010 Ultimate SP1 on a 64-bit Win7 machine.

    As well as JC I have RadControls for ASP.NET AJAX installed and the RAD Web Extensions VS Addin.

    -- 
    Stuart
  11. Stephen
    Stephen avatar
    12 posts
    Member since:
    Mar 2012

    Posted 03 Apr 2012 Link to this post

    I would tend to agree, that there has to be some setting or something somewhere.

    Windows 7 64-bit
    VS 2010 Premium
    6GB RAM
    Old dual core processor

    It can't be the speed of the machine though because Resharper runs pretty well and everyone says that it is a bigger processor drain than JustCode is.  My VS UI doesn't really experience any drag using R#, so like the Intellisense issue... it seems like there is something else causing the key lag.
  12. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 03 Apr 2012 Link to this post

    If someone from the JC dev team wants to jump in, now would be a good time.
  13. Ivo Bratoev
    Admin
    Ivo Bratoev avatar
    107 posts

    Posted 04 Apr 2012 Link to this post

    Hi all,

     We don't have any similar known issues. I am ready to help in any possible way to find the cause of these issues.

     First, about the lost intellisense - what do you mean exactly that mean that it is lost? Can you record a screen cast or describe it in details? Can you check your Visual Studio IntelliSense settings: http://screencast.com/t/mfs0AxcXkp8 (especially the first settings)?

     Second, about the slowdowns - this might be related to the IntelliSense issue. A wild guess - you can try to disable the JustCode Typing Assistance: http://screencast.com/t/5kh9DDk10X and the Visual Aid: http://screencast.com/t/vVmyi1pv . Can you please archive(ZIP) and send us your JustCode logs from "%LocalAppData%\JustCode\Logs" 

    Kind regards,

    Ivo Bratoev
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  14. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 04 Apr 2012 Link to this post

    FWIW, my inteliSense settings are the same as Ivo's.

    And I have typing assistance OFF and visual aids ON.

    --
    Stuart
  15. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 04 Apr 2012 Link to this post

    I can't imagine that this helps, but I have just tried enabling Typing Assistance and it didn't affect the wat that InteliSense worked at all.
  16. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 04 Apr 2012 Link to this post

    Just a casual observation; I note from one of Stephen's posts that he said that he installed VS, the Silverlight SDK and then JC.

    The implication being that he's writing XAML code. All of my observations are from developing Web Applications. Is there any possibility that the problem is related to the project type?

    --
    Stuart
  17. Stephen
    Stephen avatar
    12 posts
    Member since:
    Mar 2012

    Posted 04 Apr 2012 Link to this post

    For Intellisense:

    There is no functioning at all, it would be like using Word I guess... no type ahead, no list when using '.' and there isn't even any type ahead if you were adding a string parameter and typed 'str' or 'priv'.

    This seems to be only an issue in C# code (.cs files).  I just tried out type ahead Intellisense in a xaml file and it works fine.

    I did check the Intellisense settings and they match the screenshot link you included.  I tried unchecking all the Intellisense options and then re-adding them, but that did not work.  I also disabled the other extensions I am using, so JustCode is the only one being used.

    For Performance:

    The slowdown isn't as bad today as it was a few days ago when I tried it the first time.  I disable the two JC settings you included screenshots for and the slight lag is still there.  Once we get the Intellisense thing working, I will actually be able to really code with JC and we can see if the performance thing is still an issue.  It is hard to test key stroke speed when I can't really code, because there is no Intellisense.  Like you mentioned, I think it is highly probable it is tied to whatever is causing a problem with Intellisense.

    Ivo, how should I send you my log zip?
  18. Stephen
    Stephen avatar
    12 posts
    Member since:
    Mar 2012

    Posted 04 Apr 2012 Link to this post

    I take it back... performance on typing is still a pretty big issue... but I will wait to see what happens with performance when the Intellisense issue is resolved.

    FYI:  I would say that key response when typing takes 2 - 3x the time when JS is enabled, as opposed to R#, just to give you an idea of how much of a lag I experience when typing.
  19. Chris
    Chris avatar
    6 posts
    Member since:
    Aug 2011

    Posted 04 Apr 2012 Link to this post

    We are using Windows 7 64-bit, Visual Studio 2010 Ultimate SP1, on a variety of hardware configurations, but all have 8GB+ of RAM and Bloomfield Core i7s or better.

    We already had JustCode's Typing Assistance turned off because of the issue with tabs I posted about previously, and our IntelliSense settings match those in Ivo's screenshot.

    We get the IntelliSense issues in any project, but performance only becomes a problem when working with medium or large projects. I have taken the following videos to demonstrate the problem, using the default Console project template to demonstrate that the IntelliSense issues do not seem to be related to the project size or type.

    No IntelliSense with JustCode

    IntelliSense without JustCode (after disabling the add-on)


    The logs files mostly contain some variation of:

    SILENT 2012-04-04 09:48:22.742 : Framework Version:4.0.30319.261

    Should we enable verbose logging?
  20. Stephen
    Stephen avatar
    12 posts
    Member since:
    Mar 2012

    Posted 04 Apr 2012 Link to this post

    Those videos match my experience, nothing with JustCode enabled, working fine when it is disabled.
  21. Ivo Bratoev
    Admin
    Ivo Bratoev avatar
    107 posts

    Posted 05 Apr 2012 Link to this post

    Hello,

    I suggest you send the files by opening a new support ticket.
    Besides the logs, can you send me the Visual Studio and the JustCode settings to investigate?
    JustCode settings are here: %AppData%\JustCode . Please zip all the files from the folder (there should be 2 files).
    Here is a short guide how to export Visual Studio settings to a file: http://www.screencast.com/users/ivaylo.bratoev/folders/Jing/media/e0ca86fa-1063-4435-a9b6-8473f4410adf .

    Greetings,

    Ivo Bratoev
    the Telerik team

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

  22. Stephen
    Stephen avatar
    12 posts
    Member since:
    Mar 2012

    Posted 05 Apr 2012 Link to this post

    I finally figured out the issue.  Somehow, C#'s Statement Complete (Auto list members / Parameter information) got unchecked.  Resharper has an option to either use it's statement completion or VS's completion.  So, when I had Resharper enabled, statement completion worked fine.  When I tried VS without JustCode AND Resharper, completion didn't work then either.  That led me to believe that the issue was with VS and not with JustCode.

    After some further investigation, I came across the C# statement completion settings and saw that something (Resharper?) unchecked them.  Maybe Resharper unchecks them when it is installed and doesn't recheck those items if it is unloaded.  I never thought this would be the issue, because the first time I installed JustCode, I didn't have Resharper installed.  It had been uninstalled previously, along with VS.  I had removed everything and reinstalled VS, the added JustCode.  The problem was there at that point.  That made me think the issue had to be JustCode.  What I am guessing is that when VS was reinstalled, it just used whatever settings I had last (which would have included Resharper).

    So, type ahead works fine now... but the performance issue with a lag after anything is entered is definitely still there.  Even if I am deleting white space, there is a lag.
  23. Mike
    Mike avatar
    31 posts
    Member since:
    Sep 2008

    Posted 05 Apr 2012 Link to this post

    I was being slow reading the thread ....

    There are 2 settings , the one you mention on the Text Editor > C# > General tab

    and

    Its Tools> Options>Text Editot> C#> Intellisence -- Show Completion List after a character is typed

    Most of the Intellisence add ins un-check these option . I am sure VAX and CodeRush do , ReSharper certainly does. If not there is an attempt to open 2 list boxes. In fact with CodeRush it really thows a wobble in the way their intellassist works.

    I wonder if there may be other legacies , ReSharper disables certain VS functions , if your accept std config, like Refactoring menu etc. anywhere its functionality is deemed better . Maybe something has been disabled when R# was installed and not restored.

    I have had R# on and off like the proverbial but I have not seen any issues like this .

    Mike
  24. Stephen
    Stephen avatar
    12 posts
    Member since:
    Mar 2012

    Posted 05 Apr 2012 Link to this post

    In my case, the Intellisense settings were good.  It was the completion settings that got unchecked.
  25. Ivo Bratoev
    Admin
    Ivo Bratoev avatar
    107 posts

    Posted 05 Apr 2012 Link to this post

    Hi,

     To further investigate these slowness issues I will need you to profile your Visual Studio. To do that please install JustTrace, a free trial is available here: http://www.telerik.com/download.aspx#justtrace. To profile Visual Studio please do the following:
    1. Start your Visual Studio and prepare it for reproducing the slowness.
    2. Start JustTrace and attach to the running Visual Studio.
    3. Reproduce the slowness.
    4. Get Snapshot in JustTrace.
    5. Send the snapshot(s) in a support ticket.
    Here is a short video demonstrating the steps above: http://screencast.com/t/V8LligL82X .
    Please, consider reproducing the slowness several times and sending several snapshots. It will help us gather more information.

    Kind regards,

    Ivo Bratoev
    the Telerik team

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

  26. Stephen
    Stephen avatar
    12 posts
    Member since:
    Mar 2012

    Posted 05 Apr 2012 Link to this post

    Now that I have been coding using JustCode all morning, the slow key responsiveness is definitely a huge problem.  The performance speed is anywhere from 2 - 5x slower than with JustCode disabled.  If I type a "(" after a method name, it will literally take 1 to 2 seconds before it types it.  I have unchecked all code analysis general options, structural highlighting, visual aid tags, and typing assistance.  None of it has changed the performance.
  27. Stephen
    Stephen avatar
    12 posts
    Member since:
    Mar 2012

    Posted 05 Apr 2012 Link to this post

    Everything has been sent in a new ticket.
  28. Stephen
    Stephen avatar
    12 posts
    Member since:
    Mar 2012

    Posted 09 Apr 2012 Link to this post

    Once I disabled All C# hints and structural highlighting, typing was much more responsive, but disabling coding hints removes a huge feature of a tool like this.  It is kind of like buying a car, but only getting an engine and wheels.  Sure, it will get you to where you want to go, but the ride isn't really that good.  Hopefully there is something that can be done to optimize this.  I use R# with everything enabled and it is very responsive.
  29. Gary
    Gary avatar
    18 posts
    Member since:
    Jun 2012

    Posted 04 Jun 2012 Link to this post

    Was there ever a resolution on this issue?  I have the same problem with slow key responsiveness.
  30. Stephen
    Stephen avatar
    43 posts
    Member since:
    Apr 2012

    Posted 04 Jun 2012 Link to this post

    The only resolution was to disable the things I listed earlier in the thread.  So, for the most part, I am not using Just Code.  With those things disabled, it's usefulness to me is diminished.
  31. Svetlozar
    Admin
    Svetlozar avatar
    269 posts

    Posted 19 Jun 2012 Link to this post

    Hi,

    We will address the slowness caused by the visual hints. We will convert most of them to contextual commands. That will speed up the Visual Studio typing experience.

    Regards,
    Svetlozar
    the Telerik team

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

Back to Top
DevCraft banner