Skip to content

Sumanai/bitrix-snippet

Repository files navigation

bitrix-snippet README

VS Code Marketplace Installs Donate

Bitrix CMF snippets for Visual Studio Code Editor, ported to bitrix-snippets , thanks anyzicky

Read this in other languages: English, Русский.

Usage

Usage

Just start write something like this - CIBlock and press Enter. Use d7 prefix to use new D7 API. Use bx prefix for main snippets, such as include prolog.

If you are not working with the Bitrix catalog, but want to receive hints on the main classes and functions, set the Hint-function option to true in the Bitrix snippet settings.

Installation

  1. Install Visual Studio Code 1.28.0 or higher
  2. Launch Code
  3. From the command palette Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)
  4. Select Install Extension
  5. Choose the extension
  6. Reload Visual Studio Code

TODO

  • add stubs for all class