-
Notifications
You must be signed in to change notification settings - Fork 17
M1 week 3 release notes
Andrey Sobolev edited this page Jul 14, 2014
·
4 revisions
Yang IDE week 3 build: yangide-m1.w3.update-site.zip
- YANG files in maven dependencies
- Syntax and validation errors
- Advanced Completion:
-
type
custom types -
uses
groupings -
import
module -
include
submodule - complete structure according to lexical rules (for example leaf after container node)
- Smart paste
- Comment actions (toggle, block)
- Clone GIT repository from https://git.opendaylight.org/gerrit/p/controller.git
- Import project controller/opendaylight/md-sal/model/model-flow-statistics by
Import -> Existing Maven Project
- Open
src/main/yang/opendaylight-flow-statistics.yang
in YANG Editor - Hold
Ctrl
orCMD
key and click onyang-ext
in import statement - IDE opens yang-ext.yang file from dependent JAR file - Hold
Ctrl
orCMD
key and click onuses flow-statistics
statement - IDE selectflow-statistics
group in the editor - Click on
Link with Editor
toolbar button to automatically navigate yang file in JAR dependencies
- Find
grouping flow-statistics
statement inopendaylight-flow-statistics.yang
- Change to
group ing flow-statistics
- Syntax Error will be highlighted in the editor, no problem markers are created
- Save file
- Problem markers with Syntax errors will be created
- Revert changes and save again
- Errors will be clear
- Create another grouping with the same name
- M2E error will display in problems view
- Open Error Logs view, detailed stack trace with reason of error will be displayed
- Put cursor position after
import
word and press completion hotkey - List of available imports will be displayed
- Put cursor position after
uses
word and press completion hotkey - List of available grouping will be displayed
- Put cursor position after
type
word and press completion hotkey - List of available types will be displayed
- Put cursor position after
include
word and press completion hotkey - List of available submodules will be displayed
- Put cursor position after
belongs-to
word and press completion hotkey - List of available modules will be displayed
- Put cursor position after
type
oruses
word and press completion hotkey - List of available types or groupings will be displayed (including types or groupings contained in imported modules or submodules)
- Put cursor position to any empty space in some scoped block and press completion hotkey
- List of syntactically available at this position only keywords will be displayed
- Copy statement (either single- or multi-line)
- Put the cursor to the any position of some scope block and paste statement
- Statement will be pasted with correct indentation
-
Ctrl+/
orSource
->Toggle comment
to comment current line or selection with//
-
Ctrl+Shift+/
orSource
->Add Block comment
to comment current selection with block comment/**/
-
Ctrl+Shift+\
orSource
->Remove Block comment
to uncomment current selection
- Home
- First Steps
- Installation Guide
- [Import Project](Import Project)
- [Create Project](Create Project)
- [Yang Editor](Yang Editor)
- New and Noteworthy
- [1.0.0 release notes](M1 release notes)
- [1.1.0 release notes](1.1.0 release notes)
- [1.1.1 release notes](1.1.1 release notes)
- [Features] (Features)
- [M2E Integration] (M2E Integration)
- [Yang Project Support] (Yang Project Support)
- [Code Editing] (Code Editing)
- [Code Navigation] (Code Navigation)
- [Code Refactoring] (Code Refactoring)
- [Diagram Model Editor] (Diagram Editor)
- Developer Documentation
- [Setup and build](Setup and build)