Re: [Pydev-users] Question on Java/Python projects
Brought to you by:
fabioz
From: Fabio Z. <fa...@gm...> - 2017-09-14 15:56:40
|
On Thu, Sep 14, 2017 at 11:39 AM, Dan Davis <dan...@gm...> wrote: > Hi, > > I'm working on a project that has a bunch of Python and a bunch of Java. > Is it safe to tell Eclipse that this is a PyDev Project when it is also a > Maven project? > Yes, that should be safe. > > I also see different source code coloration in *.py files and a script > that begins with #!/usr/bin/env python. I realize I should probably > re-wack my structure so that this is a simpler script, invoking code that > can be properly mocked and tested, but is there any way to get the PyDev > editor on this shebang Python script? > > I have my Python code organized into src/main/assembly, and I want to get > the advantage of symbol checking when in the editor. > Well, you still can open the file with the PyDev editor (right-click it > open with > PyDev editor) to get colorization and code-completion, but unfortunately you won't get code analysis in this case. This is currently a limitation of PyDev -- this has been reported already but I haven't been able to check it -- pull requests welcome ;) Cheers, Fabio |