SlickEdit Community

Archived Read Only Forums => SlickEdit 2014 v19 beta => Topic started by: jporkkahtc on September 12, 2014, 11:40:21 pm

Title: B4 Java class code completion problem
Post by: jporkkahtc on September 12, 2014, 11:40:21 pm
I've some IFoo??? java classes and cooresponding IFoo??? native classes.


In Java, I entered this:
class MyBigClass {   
IFoo foo = newIFoo() {

Then Slick offers to fill it in with the "Select Virtual Functions to Override" dialog.I select all, and Slick proceeds to fill it in with C++ code.

This is in a Java source file, there is an import statement for "IFoo", push_tag() finds the correct Java class that is being referenced, yet code completion is using the C++ class of the same name.Also note that the indenting is wrong - it's indented too much, and the ending 2 braces are indented at the same level.Running Beatify fixes the indenting.

     IFoo foo = new IFoo() {
            /**
                .....
                @param errorMessage  A developer-level error message
            */
            public void onError(std::string const &errorMessage) {
                Log.d(TAG, "onError()");
            }
            }

Title: Re: B4 Java class code completion problem
Post by: Dennis on September 13, 2014, 12:41:34 am
We are looking into this one.  Thanks.
Title: Re: B4 Java class code completion problem
Post by: Dennis on September 24, 2014, 12:47:25 am
The primary bug is fixed for the next build.  The indentation bug is still there, but as you said, a quick beautify fixes that.