Yaqiang / jythonconsole

Automatically exported from code.google.com/p/jythonconsole
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Autocomplete for java or Python modules does not work #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open console (Jython 2.2.1 on Java1.5.0_13 on Windows)
2. >>> import java
3. >>> java.

What is the expected output? What do you see instead?

Excepting completionsuggestion but instead the log console says:

   Error getting completion list:  java package 'java' has no attribute
'__class__'

What version of the product are you using? On what operating system?

0.0.5 on Windows XP

Please provide any additional information below.

trying to use Python completion does not work either:

>>> import sys
>>> sys.

results in:

Error getting completion list:  can't convert 58 to java.awt.Dimension

Original issue reported on code.google.com by cthe...@gmail.com on 18 Mar 2008 at 10:09

GoogleCodeExporter commented 9 years ago

Original comment by don.cole...@gmail.com on 14 May 2008 at 5:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
r56 probably fixes this.  I still need to test with Java5.

Original comment by don.cole...@gmail.com on 14 May 2008 at 6:13

GoogleCodeExporter commented 9 years ago
I don't expect the first example to work.  Java package names only complete in 
an import statement

import java.lang.S[completion here]
from java.lang import S[completion here]

I suppose it probably should complete since your second example works again in 
0.0.6
The python completion is fixed in r56 (verified on win32 with JDK5 and JDK6)

Original comment by don.cole...@gmail.com on 9 Jul 2008 at 3:44

GoogleCodeExporter commented 9 years ago

Original comment by don.cole...@gmail.com on 9 Jul 2008 at 4:00

GoogleCodeExporter commented 9 years ago
Python completion does work now, thanks. java completion would be nice but
jythonconsole is great anyway

Original comment by cthe...@gmail.com on 9 Jul 2008 at 10:24