meghanada-emacs icon indicating copy to clipboard operation
meghanada-emacs copied to clipboard

meghanada-import-at-point: does it complete an import based on reading the jar file?

Open johnutz-self opened this issue 6 years ago • 1 comments

If i have a jarfile in my dependencies list that contains an object type should import-at-point be able to tab-complete it?

specifically:

dependencies = ["C:/PTC/Creo 3.0/M150/Common Files/text/java/pfc.jar" ...] pfc.jar contains a type: com.ptc.cipjava.booleanseq

john.utz@JUTZ-S1-16B C:\PTC\Creo 3.0\M150\Common Files\text\java $ jar tf pfc.jar | grep booleanseq
com/ptc/Implementation/cipjava$booleanseq.class
com/ptc/cipjava/booleanseq.class

should i not be able to type into my java implementation file

import com.ptc.cipjava.b<TAB> and get booleanseq?

i do not. i get:

import com.ptc.cipjava.break instead along with an ">>" at the start of the line (i assume the ">>" is coming from flycheck)

Is what i am experiencing expected behavior?

or am i doing this wrong? :-)

please let me know when you get a chance.

Tnx!

johnu

johnutz-self avatar May 31 '19 22:05 johnutz-self

@johnutz-self Please start the class name with capital letters.

mopemope avatar Jun 12 '19 13:06 mopemope