An IntelliJ code generation plugin for Caplin Trader projects.
ALT + Insert is your friend. When in a JavaScript file (in a Caplin Trader application) the following code generation options are available.
- Generate class
- Generate method
- Generate private method
- Implement an interface (and find it with a quick search similar to Sublime's implementation)
- Download the plugin zip here (CodeCompletion0.1.zip)
- In IntelliJ go to settings, plugins, install plugin from disk, choose the zip
This is only the start, there are many other code snippets that could be generated automatically when working on a CT project.
JS Files
- Extend class
- Get service
- Create service
- Create new... (EditableProperty, Formatter, TradeModelPropertyFactory etc)
Grid Definitions
- Create grid
- Extend grid
- Create column
- Use renderer
HTML Templates
- Create template
i18n
- Create property