Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=7438515
By: venkman69

Fabio,

The jython code completion is working significantly better than before, thanks.
However, I still have an issue that I'm not sure how to diagnose.

Code completion for jars that I create doesn't seem to work. Here's what I did:
- created a java project, set the pydev nature, set the python path to both
the src folder and the default class folder - bin.
- created a java class PyDevCCTest in package com.xyz.cctest and a test jython
script pydevCodeCompletion.py
- tried to add an import statement: from com.xy<ctrl+space> and nothing turns
up.
- manually typed the import statement correctly
- tried running the jython script and it works fine and is able to access the
java class and call the methods etc.

-- thought maybe I could get around the code completion by creating a jar file
- exported a jar for the java class
- added it into pythonpath as a library, (and removed the bin folder from source
folders)
- ** code completion now works for the import statement! 
- tried to use code completion to get a method, and it fails.
Here what I don't understand is the reason why it works for other jars. I've
successfully code completed oracle jdbc, jdom etc. What's different about the
jar that I created?





______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to