Thread: [Pydev-code] Code Completion
Brought to you by:
fabioz
From: Shahbaz A. T. <sat...@ya...> - 2006-07-05 12:32:32
|
Hi, I have developed my own script pluin where I am running jython and python scripts. For this I have extended PyEdit class in my main editor class. I am able to run python/jython scripts successfully. The prob is coming in while writing the script. On "ctrl+Space", it shows me only locally defined members or kewwords, not other than these. For example... If I write "java." and then presses "Ctrl+Space", nothing comes up... Also I want to know that my outline view is not coming, how can I get that. thanks --------------------------------- Yahoo! India Answers: Share what you know. Learn something new Click here Catch all the FIFA World Cup 2006 action on Yahoo! India Click here |
From: Shahbaz A. T. <sat...@ya...> - 2006-07-05 13:03:41
|
Hi, I have developed my own script pluin where I am running jython and python scripts. For this I have extended PyEdit class in my main editor class. I am able to run python/jython scripts successfully. The prob is coming in while writing the script. On "ctrl+Space", it shows me only locally defined members or kewwords, not other than these. For example... If I write "java." and then presses "Ctrl+Space", nothing comes up... Also I want to know that my outline view is not coming, how can I get that. thanks --------------------------------- Yahoo! India Answers: Share what you know. Learn something new Click here Catch all the FIFA World Cup 2006 action on Yahoo! India Click here |
From: Fabio Z. <fa...@gm...> - 2006-07-05 13:16:17
|
On 7/5/06, Shahbaz A. Tyagi <sat...@ya...> wrote: > > Hi, > > I have developed my own script pluin where I am running jython and python > scripts. For this I have extended PyEdit class in my main editor class. I am > able to run python/jython scripts successfully. The prob is coming in while > writing the script. On "ctrl+Space", it shows me only locally defined > members or kewwords, not other than these. > For example... > If I write "java." and then presses "Ctrl+Space", nothing comes up... > > Also I want to know that my outline view is not coming, how can I get > that. > Some questions: 1. if you do a code-completion in an empty file, does it bring the builtins 2. if you do code-completion in a file only with 'import j' |Ctrl+Space does it show 'java'? |
From: Shahbaz A. T. <sat...@ya...> - 2006-07-05 13:24:25
|
1. In this case it only gives me basic kewwords like if, for, import, and, assert etc. 2. No it does not show java Thanks Fabio Zadrozny <fa...@gm...> wrote: On 7/5/06, Shahbaz A. Tyagi <sat...@ya...> wrote: Hi, I have developed my own script pluin where I am running jython and python scripts. For this I have extended PyEdit class in my main editor class. I am able to run python/jython scripts successfully. The prob is coming in while writing the script. On "ctrl+Space", it shows me only locally defined members or kewwords, not other than these. For example... If I write "java." and then presses "Ctrl+Space", nothing comes up... Also I want to know that my outline view is not coming, how can I get that. Some questions: 1. if you do a code-completion in an empty file, does it bring the builtins 2. if you do code-completion in a file only with 'import j' |Ctrl+Space does it show 'java'? --------------------------------- Yahoo! India Answers: Share what you know. Learn something new Click here Catch all the FIFA World Cup 2006 action on Yahoo! India Click here |
From: Fabio Z. <fa...@gm...> - 2006-07-05 16:55:51
|
On 7/5/06, Shahbaz A. Tyagi <sat...@ya...> wrote: > > 1. In this case it only gives me basic kewwords like if, for, import, and, > assert etc. > 2. No it does not show java > > In your config: window > preference > Interpreter Jython is the rt.jar in your system pythonpath? In some platforms having spaces in the Eclipse install location might make that configuration not work correctly (putting Eclipse in a dir without spaces should help there). |
From: Shahbaz A. T. <sat...@ya...> - 2006-07-06 08:03:02
|
hi, rt.jar is in the system PYTHONPATH. But that is there in the "Program Files", which contains spaces. Where I can make modifications so that it should take that path as a whole? As I am developing this as a product so I should not tell user to choose the installtion path, which does not cantain spaces. Thanks Fabio Zadrozny <fa...@gm...> wrote: On 7/5/06, Shahbaz A. Tyagi <sat...@ya...> wrote: 1. In this case it only gives me basic kewwords like if, for, import, and, assert etc. 2. No it does not show java In your config: window > preference > Interpreter Jython is the rt.jar in your system pythonpath? In some platforms having spaces in the Eclipse install location might make that configuration not work correctly (putting Eclipse in a dir without spaces should help there). --------------------------------- Yahoo! India Answers: Share what you know. Learn something new Click here Catch all the FIFA World Cup 2006 action on Yahoo! India Click here |
From: Shahbaz A. T. <sat...@ya...> - 2006-07-06 09:06:48
|
I tried changin that space problem in "JavaVmLocationFinder.findDefaultJavaJars()" and in "REF.getFileAbsolutePath(File f)", but ...even stopped loading interpreterinfo and execution of scripts... Fabio Zadrozny <fa...@gm...> wrote: On 7/5/06, Shahbaz A. Tyagi <sat...@ya...> wrote: 1. In this case it only gives me basic kewwords like if, for, import, and, assert etc. 2. No it does not show java In your config: window > preference > Interpreter Jython is the rt.jar in your system pythonpath? In some platforms having spaces in the Eclipse install location might make that configuration not work correctly (putting Eclipse in a dir without spaces should help there). Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ pydev-code mailing list pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code --------------------------------- Yahoo! India Answers: Share what you know. Learn something new Click here Catch all the FIFA World Cup 2006 action on Yahoo! India Click here |
From: Shahbaz A. T. <sat...@ya...> - 2006-07-08 08:45:10
|
Hi, Fabio....................waiting for your reply of this problem "Shahbaz A. Tyagi" <sat...@ya...> wrote: I tried changin that space problem in "JavaVmLocationFinder.findDefaultJavaJars()" and in "REF.getFileAbsolutePath(File f)", but ...even stopped loading interpreterinfo and execution of scripts... Fabio Zadrozny <fa...@gm...> wrote: On 7/5/06, Shahbaz A. Tyagi <sat...@ya...> wrote: 1. In this case it only gives me basic kewwords like if, for, import, and, assert etc. 2. No it does not show java In your config: window > preference > Interpreter Jython is the rt.jar in your system pythonpath? In some platforms having spaces in the Eclipse install location might make that configuration not work correctly (putting Eclipse in a dir without spaces should help there). Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ pydev-code mailing list pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code --------------------------------- Yahoo! India Answers: Share what you know. Learn something new Click here Catch all the FIFA World Cup 2006 action on Yahoo! India Click hereUsing Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ pydev-code mailing list pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code --------------------------------- Find out what India is talking about on Yahoo! Answers India. So, whats NEW about the NEW Yahoo! Messenger? Find out. |
From: Fabio Z. <fa...@gm...> - 2006-07-08 11:20:35
|
On 7/8/06, Shahbaz A. Tyagi <sat...@ya...> wrote: > > Hi, > Fabio....................waiting for your reply of this problem > > > *"Shahbaz A. Tyagi" <sat...@ya...>* wrote: > > I tried changin that space problem in " > JavaVmLocationFinder.findDefaultJavaJars()" and in " > REF.getFileAbsolutePath(File f)", but ...even stopped loading > interpreterinfo and execution of scripts... > > ** > Hi Shahbaz, Well, I have no idea why it stopped working there, because I don't know what you changed... Cheers, Fabio |
From: Shahbaz A. T. <sat...@ya...> - 2006-07-09 06:21:48
|
Hi, well, what can be "hot fix" solution for this space problem.... Fabio Zadrozny <fa...@gm...> wrote: On 7/8/06, Shahbaz A. Tyagi <sat...@ya...> wrote: Hi, Fabio....................waiting for your reply of this problem "Shahbaz A. Tyagi" < sat...@ya...> wrote: I tried changin that space problem in " JavaVmLocationFinder.findDefaultJavaJars()" and in "REF.getFileAbsolutePath(File f)", but ...even stopped loading interpreterinfo and execution of scripts... Hi Shahbaz, Well, I have no idea why it stopped working there, because I don't know what you changed... Cheers, Fabio Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ pydev-code mailing list pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code --------------------------------- Find out what India is talking about on Yahoo! Answers India. So, whats NEW about the NEW Yahoo! Messenger? Find out. |
From: Fabio Z. <fa...@gm...> - 2006-07-11 22:23:43
|
On 7/9/06, Shahbaz A. Tyagi <sat...@ya...> wrote: > > Hi, > > well, what can be "hot fix" solution for this space problem.... > > Sorry for taking long to respond... the thing is: I don't have a hotfix for it... so, if you find it out, it would be nice if you could send me a patch ;-) Cheers, Fabio |