Apex Intention Actions
Sublime Text 3 plugin to speed up your Salesforce development
Details
Installs
- Total 2K
- Win 1K
- Mac 489
- Linux 112
Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Apex Intention Actions
No longer maintained
I'm not using Sublime any more. I'm working on porting this plugin to VSCode.
A Sublime Text 3 plugin to speed up your Salesforce coding.
Description
Snippets and commands to speed up you Salesfroce development
Requirements
- Sublime Text 3
- MavensMate is highly recommended. But I guess you already have it.
Since MavensMate requires ST 3, there will be no ST 2 support.
Installation
If you have previously installed the plugin manually or through repo - please remove it!
- Install Package Control if you don't have it already
- Run
Package Control: Install Package
command - Search for
Apex Intention Actions
- Hit
Enter
How to use it
Intention Action
- Find a line defining class property. E.g.
public Boolean boolProperty;
2. Press Alt+Space
or use command Apex Intention Actions: Show available actions
.
3. Choose action, press Enter
A little demo:
Regular snippets
Just start typing something. If there is a snippet - autocomplete will show it to you. Full list of snippets is available here.
Working intention actions:
- Add getter
- Add setter
- Add both getter and setter
- Add constructor parameter
- Add class constructor
- Add init method and call in each constructor
- Add 0-arg constructor and init method
- Add method overload
All actions have short cut. Ctrl+M
(⌘+M
on Mac), then use following shortcuts:
G
- Add getterS
- Add setterCtrl+G(⌘+G)
orCtrl+S(⌘+S)
- Add both getter and setterCtrl+P(⌘+P)
- Add constructor parameterC
- Add class constructorI
- Add init method and call in each constructorCtrl+C(⌘+C)
orCtrl+I(⌘+I)
- Add 0-arg constructor and init methodCtrl+O(⌘+O)
- Add method overload
Customizations
Action menu has two styles: quick panel and pop-up menu.
To switch between them use preferences command for the plugin and change the intention_menu_mode
settings. Two options available: quickpanel
and popup
.
To change key bindings use the Preferences: Apex Intention Actions Key Bindings – User
command.
Check out the Customization
page on project's wiki!
License
Apache 2.0