- This topic has 1 reply, 2 voices, and was last updated 20 years, 4 months ago by Riyad Kalla.
-
AuthorPosts
-
Brian BezansonParticipantHere are a few requests for the JSP editor.
1) I worked very closely with the development of a very early programming editor called Object Master (from ACIUS for the Mac back in the early to mid-90’s). The main programmer added a lot of ‘ahead of their time’ features. One I miss is this: You have variables such as “somenameBean” and “somenameAction”. Ideally I want to declare one variable and copy and paste it (for this example I entered in “somenameBean” and copy/pasted it on a new line). Now I want to just select the “Bean” word and replace it. The feature is that if you double-click on something with the CONTROL key down, it does a quick smart parse of the word you selected and limits the select based on capitalization of where the double-click started within the word. For example, if I click between the “ea” in “Bean” it moves right until it hits the end of the string or a capitalized letter and stops before the capitalized letter. The selection moves left until it hits the beginning of the string or a Capitalized letter, and it includes the Capitlized letter on a move left.
Whew, the time it takes to describe it you could have written it already.
2) NitroX is a cool, but pricey tool. I like their editing that is very similar to dreamweaver where you can edit in code or GUI mode or split and do both. I don’t know if this is planned for the new editor, but it would be awesome to have.
3) Along that line, even in the JSP preview, it would be nice to have Struts/JSTL tags either evalauted or at least shown with a place-holder.
So if I have a string in my resources file such as:
page.title=Starting Page
and in my JSP page I have:
<H1><fmt:message key=”page.title”></H1>
Then in preview mode I see:
Starting Page
displayed with H1 formatting. If the string can’t be found it gives me the standard “???page.title???” error message. If this is too much to add, you can do like NitroX does on ftm tags and displace a placeholder that says something like:
<fmt:message key=”page.title”>
Thanks,
Brian
Riyad KallaMember1) Ha, I think I get what you mean… we have a new JSP editor in the 3.8 release that is comming that is very close to the behavior of the Java editor, and we have to develop by rule of “most expected behavior”, which I’m not sure this is. Also the CTRL-CLICK functionality is going to be reserved for ‘jumping to’ the implementation or class file… like the Java editor.
2) Eventually
3) IIRC this will be in 3.8
Good suggestions Brian, we appreciate the feedback!
-
AuthorPosts