Java Virtal

[ News ] rss

February 01, 2011

Mark Wielaard: New GPG key. Finally created a new GPG key using gnupg. The old one was a DSA/1024 bits one and 8 years old. The new one is a RSA/2048 bits one. I will use the new one in the future to sign any release tarballs I might create. pub 2048R/57816A6A 2011-01-29 Key f...

More »

February 01, 2011

Andrew Hughes: [SECURITY] IcedTea6 1.7.8, 1.8.5, 1.9.5 Released!. We are pleased to announce a new set of security releases, IcedTea6 1.7.8, IcedTea6 1.8.5 and IcedTea6 1.9.5. This update contains the following security updates: The IcedTea project provides a harness to build the source code from OpenJDK6 u...

More »

2223 2425262728

[ Archives News
for 'Developers' ]

home > news > developers > netbeans screenshot of the week #36: python code completion

NetBeans Screenshot of the Week #36: Python Code Completion

Here are some screenshots of the code completion working for Python. First, let's try it from an import statement: Note that the documentation for the module is shown. Next, let's try completing on imported symbols - again we've got the documentation: I'm writing a unit test, extending TestCase. Now let's try overriding some methods - completion after typing def: Obviously, invoking methods on self. will show the inherited methods - and their documentation: Here's completion in my function (not on self) showing the local variables, imported symbols and builtins. Notice that deprecated methods are marked with strikethrough (and deprecated modules are in imports as well, though I didn't show that above). Notice also that the documentation here looks better - it has links, colors, etc. This is because NetBeans supports the reStructuredText Docstring Format (see PEP 287). System libraries are being documented in this way now, so more of the documentation will start looking like this. When NetBeans finds embedded code, it will also syntax highlight the code fragments in the documentation: You can use this in your own documentation as well obviously. Here's a file where I have restructured text. As I'm writing it, I can -immediately- preview the text myself by just pressing Ctrl-Shift-Space (Show Documentation - for those who don't know, you can do this on regular code as well if you want to just get the document...

Date: November, 14 2008

Others News

© it | best web design software | best website design software | top free website builder | bootstrap website builder