Feauters:
- BitrixAPI.sublime-complations(complations for Bitrix API) - all modules included.
- List links whith names of Bitrix Dev API Help (links to http://dev.1c-bitrix.ru/api_help/) [ctrl+alt+b, ctrl+alt+b].
- List links whith names of Bitrix Components (links to http://dev.1c-bitrix.ru/api_help/) [ctrl+alt+b, ctrl+alt+c].
Recommended way is using [PackageControll] package.
It is preferred and simplest way for most users.
- Install Package Control http://wbond.net/sublime_packages/package_control
- Open Package Control
- Select 'Install Package'
- Find and select 'BitrixHelp'
If you like work with HEAD you can locate BitrixHelp in your packages directory.
- Go to your Packages directory, you can locate to your Packages directory by using the menu item Preferences -> Browse Packages...
- Inside the Packages directory, clone the BitrixHelp repository using the command below:
- Download the files using the GitHub .zip download option.
- Unzip the files and rename the folder to something like Bitrix help.
- Copy the folder to your Sublime Text 2 Packages directory.
You can add self links in BitrixHelp.sublime-settings
{
"pages": {
// items in list Bitrix Components [ctrl+alt+b, ctrl+alt+c]
"bitrixComponents":[ list of links ],
// items in list Bitrix API [ctrl+alt+b, ctrl+alt+b]
"bitrixAPI": [ list of links ]
}
}
It contains redefine standart keys as ctrl++(encrease font size), but you can change it.
[
{ "keys": ["ctrl+alt+b", "ctrl+alt+b"], "command": "bitrix_help"},
{ "keys": ["ctrl+alt+b", "ctrl+alt+c"], "command": "bitrix_help", "args": {"it": "bitrixComponents"}}
]
For complation in
$APPLICATION->IncludeComponent($componentName, $componentName, $arParams = array(), $arParams = array(), $arFunctionParams = array())
Type APPincom + Tab, or choose complation in drop-down select + Enter Its work for objects $APPLICATION, $USER and $DB
For complation in
CIBlockElement::GetList($arOrder=array('SORT'=>'ASC'), $arFilter=array(), $arGroupBy=false, $arNavStartParams=false, $arSelectFields=array())
Type CIblElGetli + Tab, or choose complation in drop-down select + Enter
To speed choose API help page of Bitrix API Help - press [ctrl+alt+b, ctrl+alt+b], and type some characters to find what you need and press Enter. You will see opened tab in browser with choosen page of Bitrix Api Help.
To speed choose component help page of Bitrix API Help - press [ctrl+alt+b, ctrl+alt+c], and type some characters to find what you need and press Enter. You will see opened tab in browser with choosen page of Bitrix Api Help.