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

When inserting methods with parameters, CA sets cursor incorrectly

XMLWordPrintable

      EXECUTE: Create CDI producer field bean

      @Produces
      @Named("abc")
      String s;
      

      EXECUTE: Write EL in a page

      #{abc.substring(1).}
      

      EXECUTE: Call CA after the last dot and select substring(int).
      ASSERT: Cursor is located as abc.substring(1).substring(|)
      FAILURE: Cursor is located as abc.substring(|1).substring()

      By the way, this feature is missing in Java sources. Is it possible to implement it there to let CA have everywhere the same logic?

            vrubezhny Victor Rubezhny (Inactive)
            scabanovich Viacheslav Kabanovich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: