Bug with format on semi-colon?

Thread is closed for posting
2 posts, 0 answers
  1. Steve
    Steve avatar
    1871 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
    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.

    the Telerik team
Back to Top