ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Apex Intention Actions

by nchursin ST3

Sublime Text 3 plugin to speed up your Salesforce development

Details

Installs

  • Total 2K
  • Win 1K
  • Mac 485
  • Linux 110
Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5
Windows 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0
Mac 0 0 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
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 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

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

  1. Sublime Text 3
  2. 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!

  1. Install Package Control if you don't have it already
  2. Run Package Control: Install Package command
  3. Search for Apex Intention Actions
  4. Hit Enter

How to use it

Intention Action

  1. 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:

  1. Add getter
  2. Add setter
  3. Add both getter and setter
  4. Add constructor parameter
  5. Add class constructor
  6. Add init method and call in each constructor
  7. Add 0-arg constructor and init method
  8. Add method overload

All actions have short cut. Ctrl+M (⌘+M on Mac), then use following shortcuts:

  1. G - Add getter
  2. S - Add setter
  3. Ctrl+G(⌘+G) or Ctrl+S(⌘+S) - Add both getter and setter
  4. Ctrl+P(⌘+P) - Add constructor parameter
  5. C - Add class constructor
  6. I - Add init method and call in each constructor
  7. Ctrl+C(⌘+C) or Ctrl+I(⌘+I) - Add 0-arg constructor and init method
  8. Ctrl+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