I have created a custom interpreter because I am using a command line program that embeds python. However, code complete ion doesn't always work. I think I know the reason why but don't know the solution. Specifically the thing that starts the python interpreter is a script that then passes arguments to a child program (the real interpreter) to make it act as a python interpreter (otherwise it interprets another legacy language). However, it appears that pydev launches a python process for code introspection. This starts the shells script but when looks for the interpreter by name and of course doesn't find the child interpreter.
help! ;-)
regards
gary
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, pydev uses the interpreter configured for code-completion purposes, so, if you have a custom program it should properly copycat python on what it does.
What could probably be added in the configuration is having an option for specifying default parameters to the python executable configured (so that your program could properly handle those parameters when running).
If that'd meet your requirements, please add a feature request (you can point to this thread in it).
Cheers,
Fabio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-08-29
Hi
yes that sounds like the right answer to me ;-)
I will open a request
regards
gary
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have created a custom interpreter because I am using a command line program that embeds python. However, code complete ion doesn't always work. I think I know the reason why but don't know the solution. Specifically the thing that starts the python interpreter is a script that then passes arguments to a child program (the real interpreter) to make it act as a python interpreter (otherwise it interprets another legacy language). However, it appears that pydev launches a python process for code introspection. This starts the shells script but when looks for the interpreter by name and of course doesn't find the child interpreter.
help! ;-)
regards
gary
Yes, pydev uses the interpreter configured for code-completion purposes, so, if you have a custom program it should properly copycat python on what it does.
What could probably be added in the configuration is having an option for specifying default parameters to the python executable configured (so that your program could properly handle those parameters when running).
If that'd meet your requirements, please add a feature request (you can point to this thread in it).
Cheers,
Fabio
Hi
yes that sounds like the right answer to me ;-)
I will open a request
regards
gary