/haoide

Stop upgrade, most of features were delivered in https://github.com/xjsender/haoide-vscode

Primary LanguagePythonMIT LicenseMIT

Sublime IDE for Salesforce

This plugin supports Sublime Text 3 for windows and OSX, has not enough testing for Linux yet.

All of our motivation on this plugin come from your star, if you think this plugin is helpful in your daily work, please star this plugin.

Installation

Before install this plugin, you must install Sublime Text 3 and then Package Control.

After you have installed package control in your sublime, you can install this plugin by searching haoide in package control, if you don't know how to use package control, you can refer to usage of package control.

Or, You can follow the step-by-step instruction by Meighan Brodkey

Project Configuration

After you have installed this plugin successfully, you can follow Project Configuration to configure your own project.

If you don't want to keep your user credential information in the plugin , you just need to do it as below format, plugin will launch the browser to start OAuth2 Login process,

"projects": {
  "pro-sublime": {
      "default": true,
      "login_url": "https://login.salesforce.com",
      "login_type": "REST",
      "subscribed_metadata_objects": [
          "ApexClass",
          "ApexComponent",
          "ApexTrigger",
          "AuraDefinitionBundle"
      ],
      "username": "apex.sublime@dev.com"
    },
}

Change Logs

Quick Link

Build-in Dependency Lib

Feedback & Contribution

Feel free to open issues, but you should refer to the Raise Issue before reporting any bug.

well welcome to any contribution, open an issue for discussion before draft you code.

Q&A

  • Refresh Package vs Update Project

    • Refresh Package can update the project by the package.xml in the project folder or project/src folder
    • Update Project will update the project according to subscribed metadata
  • Refresh Folder vs Update Project

    • Generally, Refresh Folder can be used to update the components in the chosen folders
    • However, Update Project is always used to refresh all folders or newly subscribed metadata
  • Save to Server vs Deploy to Server

    • Save to Server is achieved by Tooling API tech, which is usually used to develop apex code in sandbox
    • Deploy to Server is achieved by Metadata API tech, which is usually used to develop none-apex in sandbox, deploy any components into different org or production
  • What's the usage of Update Project Pattern command?

    • Everytime when you update the file_exclude_patterns or folder_exclude_patterns, you must execute Update Project Pattern command to ensure it is working.
    • Everytime when the default project doesn't appeared in the sidebar panel, you an use this command to show the default project.
  • If you failed to deploy package after release 3.3.7

    • you should remove deploy_options from your user settings, see more detail at issue #101
  • If all menu items are all gray and disabled after you installed haoide

    • You should check whether issue #112 can resolve your problem
  • Don't want to create new project with time stamp every day?

    • You can set keep_project_name_time_suffix to false
  • What is the usage of mouesmap key bindings?

    • Press shift + Dblclick left mouse button: Quick open component by name
    • Press alt + Click left mouse button: Retrieve debug log detail by id
    • Press alt + DblClick left mouse button: View code coverage by name
    • Press alt + Triple Click left mouse button: Cancel deployment by Id

Development Reference