Bug with format on semi-colon?

2 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 21 Mar 2011 Link to this post

    If JC hasn't caught up to what I'm typing, and the code (while valid) is still underlined in red squiggles...the format on semi-colon doesn't work.  So it'll insert the semi-colon where my cursor is, causing me to then have to delete it, move off, wait for JC to finish analyzing, then hit it again (and it works)...or just go to the end of the line and add it, but that defeats the purpose.
  2. Deyan Varchev
    Admin
    Deyan Varchev avatar
    150 posts

    Posted 30 Mar 2011 Link to this post

    Hi Steve,

     You are right in your observation. We are really fast in our code analysis and it works as fast as the user types. However it happens that if you type very fast or the analysis feedback comes half a second slower we don't do well. On order to be on the safe side we implemented moving of semi-colon only when we know it's missing at the end of the line (when the analysis send a missing ';' error on the same line). However as it turns out that there are still cases that we don't handle correctly we'll consider improving this behavior and adding some for options for the feature in the next release.

    Greetings,
    Deyan
    the Telerik team
  3. DevCraft banner
Back to Top