Tuesday Jul 09, 2013

Code Completion for Ceylon NetBeans Plugin

Ceylon code completion is simple to introduce via the NetBeans Code Completion Tutorial:

The only problem is that I don't know the Ceylon API to use to obtain all the keywords. Right now they're hardcoded after I copied/pasted them into my source code directly from here:

http://ceylon-lang.org/documentation/1.0/reference/structure/keyword/

The source code of the plugin is here, works perfectly from NetBeans IDE 7.1 onwards, if all you want is file templates, syntax coloring, and code completion:

https://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.1/misc/Ceylon

About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« July 2013 »
SunMonTueWedThuFriSat
 
5
10
14
21
27
28
29
30
31
   
       
Today