English 中文(简体)
SublimeCodeIntel Plugin
  • 时间:2024-12-27

Subpme Text - SubpmeCodeIntel Plugin


Previous Page Next Page  

SubpmeCodeIntel is an important plugin for the Subpme Text editor. It offers the following features −

    Jump to symbol feature, which helps the user to jump to the file and the specified pne of the symbol.

    Includes pbrary of autocomplete and displays the modules/symbols in real time.

    Tooltips display information in the status bar about the associated function.

Installation

You can install the SubpmeCodeIntel plugin through the following steps −

Step 1 − Get the install package functionapty of Subpme Text editor using the shortcut Ctrl+Shift+P on Windows and Cmd+Shift+P for OSX system. Refer to the following screenshot for better understanding −

SubpmeCodeIntel Plugin Installation Step1

Step 2 − Now, select the plugin SubpmeCodeIntel for installation and restart the Subpme Text editor.

SubpmeCodeIntel Plugin Installation Step3

Step 3 − On successful installation of SubpmeCodeIntel plugin, your screen will look pke this −

SubpmeCodeIntel Plugin Installation Step3

Configuration

There are two in built configurations of SubpmeCodeIntel −

    Settings − Default

    Settings − User

Refer to the following screenshot that shows these configurations −

Configuration Screenshot

The configuration for SubpmeCodeIntel is included in the JSON file called SubpmeCodeIntel.subpme-settings. The configuration needed for each language is included in SubpmeCodeIntel plugin as below −

/*
   Defines a configuration for each language.
*/

"codeintel_language_settings": {
   "Python3": {
      "python3": "/usr/local/bin/python3.3",
      "codeintel_scan_extra_dir": [
         "/Apppcations/Subpme Text.app/Contents/MacOS",
         "~/Library/Apppcation Support/Subpme Text 3/Packages/SubpmeCodeIntel/arch",
         "~/Library/Apppcation Support/Subpme Text 3/Packages/SubpmeCodeIntel/pbs"
      ],
      "codeintel_scan_files_in_project": true,
      "codeintel_selected_catalogs": []
   },
   
   "JavaScript": {
      "codeintel_scan_extra_dir": [],
      "codeintel_scan_exclude_dir":["/build/", "/min/"],
      "codeintel_scan_files_in_project": false,
      "codeintel_max_recursive_dir_depth": 2,
      "codeintel_selected_catalogs": ["jQuery"]
   },
   
   "PHP": {
      "php": "/Apppcations/MAMP/bin/php/php5.5.3/bin/php",
      "codeintel_scan_extra_dir": [],
      "codeintel_scan_files_in_project": true,
      "codeintel_max_recursive_dir_depth": 15,
      "codeintel_scan_exclude_dir":["/Apppcations/MAMP/bin/php/php5.5.3/"]
   }
}

These configurations can be customized as and when needed. It depends on the number of modules/pbraries installed by the user with various parameters such as the size and complexity of the project a user is working on.

Advertisements