Visualforce Preview is a simple plugin to enable previewing Visualforce page for Salesforce in Sublime text.
To use this plugin, first you need to setup your Salesforce domain by Preference > Package Settings > VisualforcePreview > Settings - User
Copy the template from Preferences > Package Settings > VisualforcePreview > Settings - Default, and change the domain into your own Salesforce domain. Then you are ready to go.
To preview a VF page, simply click ctrl + alt + v (on OSX is ⌘+ shift + v) in your VF page file (you need to save it first). Alternatively, you can click Tools > VisualforcePreview > Visualforce Preview
Install Will Bond's Package Control, and then:
- In the Command Palette, choose
Package Control: Install Package - Search for
VisualforcePreviewand install it
Go to your Sublime Text "Packages" directory (Preferences / Browse Packages...).
Then clone this GitHub repository:
$ git clone https://github.com/Lanceshi2/VisualforcePreview.git "Visualforce Preview"
Do whatever you want