This is a migrated thread and some comments may be shown as answers.

Bug with format on semi-colon?

1 Answer 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 21 Mar 2011, 10:48 PM
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.

1 Answer, 1 is accepted

Sort by
0
Deyan Varchev
Telerik team
answered on 30 Mar 2011, 10:32 AM
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
Tags
General Discussions
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Deyan Varchev
Telerik team
Share this question
or