Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
johnutz-self opened this issue May 31, 2019 · 1 comment

Comments

@johnutz-self
Copy link

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
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

@mopemope
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants