Populating code in python NetBeans plugin not working properly

I ask about StackOverflow because of course I am doing something completely stupid and I hope SO can give me a quick answer. I installed the latest stable Python plugin for NetBeans. It works great, and I tested code completion with various packages like sys , os and so on. It works great.

However, it does not seem to take the code for the code in my own project.

I created a package called mypackage (it also has __init__.py) and it has a module called mymodule.py in it. Inside mymodule I placed a class called MyClass , complete with doc strings and all.

Please refer to this screenshot to describe what happens when the code completes: alt text http://rasterburn.org/~sgt/stuff2/pythonproblem.png

As you can see, this involves irrelevant things, not just MyClass . (Note that if I execute mymodule.MyClass (), it works 100%, it's just that I really like the code completion on my own code)

Hope I'm just doing something stupid here ... Any ideas?

+4
source share
1 answer

I am afraid to tell you that this is a Known Error for over a year now. Some people have suggested that it seems that Python development at NetBeans is stalled.

Personally, I use Eclipse . PyDev is still actively supported, and autocomplete is smart, and it also supports more variety in syntax-highlighting . (This is my personal configuration.)

I would recommend you switch to another IDE while you can. If you are using Jython, let me know how this works for you. Share your decision with us when you have it. =]

Related topic:

Has anyone tried the NetBeans 6.5 Python IDE?

+4
source

Source: https://habr.com/ru/post/1306723/


All Articles