- This topic has 4 replies, 3 voices, and was last updated 17 years, 10 months ago by Greg.
-
AuthorPosts
-
iimuhinMemberHi,
it is very helpful when you double-click a word in a text editor and it will be selected.
it would be also very helpful in JSP editor, if a developer could double click on <% or %> and the whole scriptlet including <% and %> will be selected.
What do you thing about it? This feature will save much time for many jsp-developers.
Thanks
GregMemberHere are a couple of items that may be of use to you.
1) In the outline view, you can double click a jsp scriptlet node and the entire source for this scriptlet will be selected in the source view
2) In the design view, you can click the visual scriptlet icon and the corresponding source for the jsp scriptlet will be selected.I know you are likely asking for support for this in the source editor to double click and get a auto-select, but I just wanted to throw out a couple of alternatives that you may not know about.
iimuhinMemberI really didn’t knew about these possibilities. They are good things. But also I would like to see double-click-selection in jsp editor, because it’s faster and one don’t need to habe Ouline View opened.
rogue_devMemberI had mentioned this before. The behaviour of the double-click is not consistent with the Java editor.
In the Java editor, double-clicking on a variable will highlight the variable, and only the variable. This includes all charaacters which are valid variable characters, but no characters which are not valid.
In a JSP, double clicking works fine within <% and %>, but does not work consistently within quotes or other JSP elements. In some cases it chooses all the text between quote characters (be they a single quote or a double quote). At other times it picks out text where on one side there is a slash and the other side a period. Then it might pick out alpha characters leaving out underscores. And so on.
It is consistent in each case (Java vs HTML vs JavaScript vs CSS vs JSp directives) but is in-consistent between cases.
It would be really good if at all times it followed the standard Java editor, that is variable name characters only.
Except in special cases that iimuhin mentions, where the mouse cursor is not over a variable name, but over block elements.
GregMemberThanks for the feedback guys. Your suggestions have been duely noted.
-
AuthorPosts