March 15, 2010
Joe Darcy: Beware of Covariant Overriding in Interface Hierarchies.
One of the changes to the Java programming language made back in JDK 5 was the introduction of
covariant returns, that is, the ability in a subtype to override a method in a supertype and return a more specific type. For example,
More »
March 14, 2010
Stephen Colebourne: Java language design by use case.
In a blog in 2006 Neal Gafter
wrote
about how language design was fundamentally different to API design and how use cases
were a bad approach to language design.
This blog questions some of those conclusions in the context of the Java language.
More »
March/2010
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
| | 1 |
2 |
3 |
4 | 5 | 6 | | 7 | 8 | 9 |
10 | 11 |
12 |
13 | | 14 |
15 |
16 |
17 | 18 | 19 | 20 | | 21 | 22 | 23 | 24 | 25 | 26 | 27 | | 28 | 29 | 30 | 31 | | | |
|
 |
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
Url: http://blogs.sun.com/tor/entry/netbeans_screenshot_of_the_week3
Others News
Leave a Reply
Related
- JavaScript Headlines NetBeans Screenshot of the Week 42: JavaScript Native Interface At the Roundup last week I talked to Robert Cooper, who's doing a lot of interesting work with GWT (Google Web ...
- 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.
- NetBeans Screenshot of the Week #41: Type Assertions Python and Ruby are dynamically typed languages. We have a lot of heuristics in our editors to figure out the types - tracking assignments, analyzing your database migrations, etc ...
- Tor Norbye's Weblog Monday November 10, 2008 NetBeans Screenshot of the Week #32: Python Import Management. We're about to release an early access release of Python support for NetBeans.
- NetBeans Screenshot of the Week #38: E4X Support As part of the JavaScript 1.7 work, I also beefed up the E4X support. E4X allows you to embed XML objects directly in your JavaScript source. Here's some simple E4X JavaScript ...
- NetBeans IDE 6.5 Screenshots - Softpedia WEEK'S BEST; Ubuntu 8.10; Linux Kernel 2.6.2... Mozilla Firefox 3.... OpenOffice.org 3 ... Screenshot 1 of NetBeans IDE The image below has been reduced in size. Click on it to see the full ...
- Tor Norbye's Weblog Tuesday December 16, 2008 NetBeans Screenshot of the Week #39: Ruby Code Coverage, Python Code Coverage. Here's a new feature for NetBeans 7.0: Code Coverage support!
- Netbeans 6.5 Screenshot (1.6u11 + Nimbus) With Visual Form Designer ... Simplest Possible EJB 3.1 Netbeans 6.5 Quicktip: Unit Tests And Profiler Netbeans 6.5 Screenshot (1 ... see here: http://twitter.com/AdamBien/status/1452657727 I evaluated it last week ...
- Scala Support for NetBeans Screenshot#1: Syntax Highlighting and Scala ... Scala Support for NetBeans Screenshot#1: Syntax Highlighting and Scala Project ... downloadable Scala modules package can be ready in one week, so you can get it from the NetBeans ...
- Anuradha This week Screenshot #1 ... from the default stable update center of NetBeans 6.0 ... Screen shot of new Maven build plan view Please let us know ...
- NetBeans Screenshot of the Week #39: Ruby Code Coverage, Python Code ... Here's a new feature for NetBeans 7.0: Code Coverage support!
- Scala for NetBeans Screenshot#4: Basic Completion : Caoyuan's Blog Scala for NetBeans Screenshot#4: Basic Completion. Scala for NetBeans now supports basic completion ... I downloaded a version last week but since it was manually downloaded, I'm not ...
- SourceForge.net: Spring Netbeans Module The Spring Netbeans Module has been integrated into Netbeans ... Activity Percentile (last week) : 86.76 View ... Screenshots
- JavaScript Technology NetBeans Screenshot of the Week 42: JavaScript Native Interface At the Roundup last week I talked to Robert Cooper, who ' s doing a lot of interesting work with GWT (Google Web ...
- Hot Threads NB Screenshot of the Week #41: Type Assertions. Checkout this latest screenshot of the week by Tor Norbye.
|