facebook

JSP Java editor vs Ecplise Java editor

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #249482 Reply

    rogue_dev
    Member

    Is 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.

    #249537 Reply

    Riyad Kalla
    Member

    So 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 🙁

    #249570 Reply

    rogue_dev
    Member

    JavaScript?

    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 🙂

    #249574 Reply

    Riyad Kalla
    Member

    You 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.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: JSP Java editor vs Ecplise Java editor

You must be logged in to post in the forum log in