facebook

JSP Code completion

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #203003 Reply

    I’ve just noticed that if you first open a JSP as read-only (ClearCase not Checked out) and then make it writable (check out), none of the code completion, etc works until you close and reopen the editor.

    It took me a few minutest to come up with the reasons why I was getting intermittent results.

    The editor really needs to recheck the status of the file until it is available. It would have been helpful for it to throw me an error of somekind also.

    #203008 Reply

    Riyad Kalla
    Member

    bromley,
    We really appreicate the info as most (all) of the devs here work with or on CVS so we aren’t farmiliar with the behaviors of some others source control systems. I will send this on up the chain to God and see what he says 😉

    #203012 Reply

    support-michael
    Keymaster

    Q: are you using the ClearCase plugin to perform checkouts?

    #203014 Reply

    Yes, I am using the Rational Clearcase plugin from their site.

    If you are familar with ClearCase, we work inside the drive so when a file is not checked out, it is represented as Read Only. Once checked out, it is write enabled.

    I’ve found if you try to do anything on a “readonly” type file, none of the completeion type stuff works (even after checking it out) until the editor is closed and reopened.

    #203016 Reply

    support-michael
    Keymaster

    Thanks. I needed to be sure that you weren’t modify a file’s state outside of the workbench since that approach is has a known weakness. I have entered a PR on this for further research.

    #203169 Reply

    I noticed a similar problem with a version of CVS that I use. (I’m not using the CVS built into Eclipse.) I would open a JSP with the My Eclipse Editor, check it out in CVS (i.e. make it writable). I could edit in the file by typing, but often I would not be able to use the Paste functionality (Ctrl-V). I didn’t think much of the problem though, as I’d just close and open the file again.
    (I’m using Eclipse 2.1.2 and MyEclipse 2.7RC2 on WinXP)

    #203184 Reply

    Riyad Kalla
    Member

    ozzybren, what CVS client are you using? and are you using CVS on a unix/linux box or CVSNT as the server?

    #203441 Reply

    G’day Riyad,

    Our CVS is sitting on a Linux server and it’s version 1.10.7. I’m aware this is not supported by Eclipse so I’m checking files in and out with WinCVS v1.2. As I said, it’s not a big isue for me, just though you might like to know. I don’t have the same problem with the Eclipse Java editor. So far it’s only in the MyEclipse JSP Editor.

    Brendan

    #203444 Reply

    Riyad Kalla
    Member

    Brendan,
    We’ll see what we can find on our end and let you know. Thanks for the details.

    #203457 Reply

    Scott Anderson
    Participant

    Brendon,

    I reproduced this problem and reopend a bug on it. It should be fixed for the 2.7/3.7 GA release. Thanks for bringing it to our attention.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: JSP Code completion

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