Language Servers¶
Algorand Python can be integrated with IDE’s that support the Language Server Protocol (LSP).
VSCode¶
Use the official Algorand Python extension and AlgoKit Python template to get started
PyCharm and JetBrains IDE’s¶
Ensure the active interpreter for your project has PuyaPy 5.4.0 or later available
To configure the Algorand Python language server
Download and extract this template
Install the LSP4IJ plugin
Navigate to
Settings | Languages & Frameworks | Language ServersClick the + Add Language Server button
Click Import Template…
Select the folder containing the template
Click OK
You may also need to start the language server, do this by navigating to the Language Server tab in the tool sidebar, right click the PuyaPy entry and click restart
Other¶
The language server can be integrated with other IDE’s that support LSP by starting
the language server via puyapy-ls or python -m puyapy.lsp and will communicate
over stdio by default.