Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8475

Rich Faces editor won't code complete if file opened Read/Only

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • 3.3.0.M1
    • 3.1.1, 3.2.0.CR1
    • upstream
    • None
    • Hide

      Edit a read/only xhtml file. Code completion doesn't work.
      Change the permissions and re-open and code completion works.

      Do the same with an SCM system where the SCM assumes non-checked out files are read/only

      Show
      Edit a read/only xhtml file. Code completion doesn't work. Change the permissions and re-open and code completion works. Do the same with an SCM system where the SCM assumes non-checked out files are read/only
    • Workaround Exists
    • Hide

      Explicitly check out the file our open/edit/discard/open

      Show
      Explicitly check out the file our open/edit/discard/open

      We use Perforce which leaves files read/only until they are checked out for modification. The Perforce Eclipse plugin will check out a file and make it writable as soon as someone edits the file in Eclipse.

      The JBoss Tools Web (Rich Faces) editor does not support code completion if the file is initially opened read/only. You have to check out the file in Eclipse before opening it in the JBoss web editor. Or, if you open the file while still read/only. You have to open the file and make any change so that Perforce checks it out. Then close the file and re-open it. Now code completion works.

      The Jboss Tools Web (xhtml) should support code completion on read/only files the same way the java editor does

            vrubezhny Victor Rubezhny (Inactive)
            joe_jboss joe freeman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: