Install VS Code plugin
This topic contains instructions to install the Rell plugin for Visual Studio Code.
To install the Rell extension:
- Click the Extensions icon in the Activity Bar on the side of VS Code or go to the menu View -> Extensions.
- Enter 'Rell' in the search box, and you should see the extension named Rell in the list.
- Press the Install button.
Troubleshooting
Import errors after library installation
Issue: After running chr install
to install libraries (such as FT4), import statements in your main.rell
file
may still show errors in the VS Code editor, even though the installation was successful.
Example: If you use import lib.ft4.accounts.strategies.transfer.fee;
in main.rell
but haven't installed the FT4
library yet, you'll see an import error. After setting up chromia.yml
for FT4 and running chr install
, the error may
persist in the editor.
Solution: Close and reopen the affected files in VS Code to refresh the editor's understanding of the newly installed libraries.
Workaround: You can also use the Command Palette (View -> Command Palette) and run the Rell: Invalidate index caches command to force the extension to recognize newly installed libraries.
This is a known limitation where the VS Code Rell extension doesn't automatically detect newly installed libraries until files are refreshed or caches are invalidated.