Ceylon 編程語言開發工具,Ceylon IDE 1.0.0 M3 發布
Ceylon IDE 1.0.0 的第三個里程碑版本發布了
Ceylon IDE 是基于 Eclipse 的插件,用于開發 Ceylon 編程語言。支持的功能特性:
- Ceylon perspective
- Incremental compilation and interactive error reporting
- Run / Debug
- Customizable syntax highlighting
- Outline view and popup outline
- Popup type hierarchy
- Error reporting in Problems view and error annotations in editor
- Reporting of
//todo
and//fix
in Tasks view and task annotations in editor - Intelligent proposals
- Documentation hover
- Hyperlink navigation to declarations
- Auto indentation and Correct Indentation
- New wizards: New Ceylon Unit, New Ceylon Project, New Ceylon Module, and New Ceylon Package
- Cross-project dependencies and navigation, and support for external module repositories
- Export Ceylon Module to Module Repository wizard
- Integration with Ceylon Herd
- Support for Java interop
- Open Ceylon Declaration dialog
- Ceylon Search dialog
- Find References, Find Refinements, Find Subtypes, and Find Assignments contextual search
- Configurable keyboard accelerators
- Basic refactoring: Rename, Inline, Extract Value, Extract Function, and Clean Imports
- More than 30 Quick Fixes and Quick Assists!
- Code folding, structured compare, mark occurrences, and more...
Ceylon面向企業級應用開發設計,在JVM運行時基礎上執行,支持與Java的交互操作。Ceylon語言充分借鑒了Java語言的優勢并屏蔽其在設計上的不足,使用靜態類型并提供高階函數支持,在保持代碼良好可讀性的同時進一步降低開發者入門的難度。
Ceylon語言沒有設計特殊的Primitive類型或復合類型,所有類型在類型系統內部都是可表達的。Ceylon的通用類型設計比Java的 實現更為簡便,而且相比其他類Java語言具備更高的安全性,Ceylon的元編程(Reflection)也必須是類型安全的。此外,Ceylon語言 減少了開發者對于配置文件的依賴,屏蔽了Java開發者常常需要對各種XML進行的配置和修改操作。
示例代碼:
doc "The classic Hello World program" by "Gavin" see (goodbye) throws (IOException) void hello() { print("Hello, World!");}</pre>
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!