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

Comments:

I look forward to testing this! By the way, shouldn't that be "else" instead of "fail" in your screenshot?

See http://ceylon-lang.org/documentation/1.0/spec/html/statementblocks.html#forelse

Posted by Holger Stenger on July 10, 2013 at 06:52 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
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
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
21
22
23
24
25
26
27
28
29
30
   
       
Today