set your username and password (Settings → Vyper → MythX: Ethaddress / Settings → Vyper → MythX: Password or env.MYTHX_ETH_ADDRESS / env.MYTHX_PASSWORD; configuration takes precedence)
automatically analyze for security issues when saving the file (Settings → Vyper → Analysis: On Save)
Requirements
It is assumed that vyper is installed and generally available on the system (pip install vyper). In case vyper is not available in path or called in a virtualenv configure the vyper command in Settings → Vyper → Command
Tour
Syntax Highlighting
VSCode Light+ (default light)
Solidity Visual Auditor - Dark
Compiler Errors and Details
Hover information
Security Augmented Decorations - Auditor Mode
Snippets
Quickly create constructor, fallback function, methods, structs, ... as you type. Select the snippet from the suggestion box. See snippets/vyper.json for a list of available snippets.
start typing ...
creates a template constructor after selecting it from the suggestion box.
Extension Settings
FAQ
Q: I get an error running vyper on my macbook with M1/M2 chipset.
A: The extension executes the vyper compiler in a /bin/sh shell that may not have all the customizations you are using in your day-to-day shell/terminal. As a workaround, I suggest to set the setting:vyper.command to arch -x86_64 vyper. see #18
Developer Notes
install vyper pip3 install vyper
use the script in ./scripts/fetch_vyper_language_spec.py or run npm run fetchGrammar to merge the python tmlanguage spec with vyper language specifics.