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

AutoComplete annoyance

2 Answers 97 Views
Code Generation
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 17 Apr 2010, 04:13 AM
I'm having a super frustrating time with the braces auto-complete at the moment

This is the line

dateHeader.Text = dateHeader.CommandArgument; 

Now what I want to do (or normally do) is position my cursor before "dateheader.CommandArgument" becasue I want to do a DateTime.Parse on it....

So I type DateTime.Parse, click the openbrace, and it closes it for me right after, like so DateTime.Parse()dateHeader.CommandArgument;

...a bit annoying (I think coderush did that too)...but if I try and delete the closing brace to then just fix that code, JustCode deletes the Opening brace as well...almost like it's saying "Oh, well you didn't want my brace, well then....you dont get ANY braces"


2 Answers, 1 is accepted

Sort by
0
Deyan Varchev
Telerik team
answered on 17 Apr 2010, 12:44 PM
Hi Steve,

 Thanks for reporting this issue. In general the right behavior of JustCode's typing assistance should not be like that. The only way that I could reproduce what you report is to select the right parenthesis and hit backspace. If you hit the Delete key right after you enter the opening parenthesis you will be able to remove only the closing parenthesis. If you move the caret to the right with the right arrow key and hit Backspace you will also remove only the closing parenthesis.
 I admit that there are still cases where JustCode places unnecessary closing characters and we will surely work on improving this in future releases. The bug you discovered will also be fixed in the next release.
 In order to compensate you for the inconvenience and efforts I've ranted you some Telerik points. If you have any other questions or suggestions please don't hesitate to contact us again.

All the best,
Deyan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Richard
Top achievements
Rank 1
answered on 09 Aug 2010, 03:06 PM
this occurs in a VB.net environment too....  would be great if it could be resolved.


Richard
Tags
Code Generation
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Deyan Varchev
Telerik team
Richard
Top achievements
Rank 1
Share this question
or