- This topic has 3 replies, 2 voices, and was last updated 18 years, 7 months ago by Riyad Kalla.
-
AuthorPosts
-
rogue_devMemberIs there any way you could “tie in” the standard Ecplise Java editor with your JSP editor?
So that when the cursor is between <% %> tags the standard editor is active?
Not putting down your editor, but there are differences between the two. And my “finger macros” are well developed for the standard editor.
Riyad KallaMemberSo you are editing a JSP page, and inside of your HTML, you are writing JavaScript, and inside of the JavaScript you want to use Scriptlets to write Java code?
You are going to give our editor guy a heart attack… and he’s a really nice guy 🙁
rogue_devMemberJavaScript?
No, just when I am in the Java section, would it be possible to have MyEcplise use the Ecplise Java editor, rather than the MyEcplise Java editor.
One difference is that the Ecplise Java editor uses “smart” guessing (based on method parameters and method return types) when presenting code-assist, where the MyEcplise editor uses alpha sorting.
Now your editor guy could put this in (after he recovers) but it is a never ending quest. By context switching to the Ecplise editor you could potentially save many hours of future development.
Not sure if you can actually do this given the current Ecplise paradigm, but it might be worth looking into….
Note: I do in fact write JavaScript inside Java, in a JSP page. The JavaScript is generated during runtime and contains constants which are passed between the Web browser and the Java applcation on the server. Things like (somewhat contrived for the example):
js.append("document." + form.getFormName() + "." + form.getUserIdName() + ".value='" + form.STD_USERID + "';");
which also means I cannot use the JavaScript debugger 🙂
Riyad KallaMemberYou should actually see more the behavior you want moving forward as we re-sync ontop of WTP and the editor frameworks get more inline with one another. I don’t know if it’s technically possibly to physically drop the Java editor into that context in the JSP editor, but I can kick that idea back to the editor team and see if it’s no problem or not.
-
AuthorPosts