Skip to content

Setting up Visual Studio Code

Developing for Lime CRM can be done with any editor you would like, but using Visual Studio Code will give you a very integrated experience. In this section we will recommend some extensions and configuration to Visual Studio Code.

Install

Visual Studio Code comes with a lot of useful features, such as:

  • built-in terminal,
  • built-in Git support
  • IntelliSense, which helps with autocompletion of code as well as information on the parameters of functions and known variable names.
  • Very good Python and Typescript language support
  • Built-in debugger for Python and Typescript

Open the "Extensions Marketplace" in VS Code and install the following extensions:

  1. ms-python.python
  2. eamodio.gitlens
  3. esbenp.prettier-vscode
  4. ms-vscode.vscode-typescript-tslint-package

Restart VS Code after you've installed the extensions.

Configure Visual Studio Code for Python

  • Install the Python extension by opening the command palette and type "Install Extensions"

  • Search for "Python" and install the one by Microsoft

  • Open the command palette and type "Open User Settings"

  • Add the following settings to User Settings within the curly brackets:

    "[python]": {
        "editor.rulers": [
            79
        ]
    },
    "python.linting.pylintEnabled": false,
    "python.linting.flake8Enabled": true,
    

  • Restart VS Code
Back to top