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
Recommended Extensions¶
Open the "Extensions" in VS Code and install the following extensions:
ms-python.python
eamodio.gitlens
esbenp.prettier-vscode
editorconfig.editorconfig
Restart VS Code after you've installed the extensions.
Configure Visual Studio Code for Python¶
- Install the Python extension from "Extensions" by opening the command palette and type "Install Extensions"
- Search and install extension
ms-python.python
by Microsoft - Open the settings file by opening the command palette and type "Open User Settings (JSON)"
-
Add the following settings to User Settings within the curly brackets:
-
Restart VS Code