-
Notifications
You must be signed in to change notification settings - Fork 27
code
Xieyt edited this page Oct 30, 2023
·
3 revisions
Open site in vscode.
Usage:
$ fm code [OPTIONS] SITENAME
Arguments:
-
SITENAME
: Name of the site. [required]
Options:
-
--user TEXT
: Connect as this user. [default: frappe] -
-e, --extension TEXT
: List of extensions to install in vscode at startup.Provide extension id eg: ms-python.python [default: dbaeumer.vscode-eslint, esbenp.prettier-vscode, ms-python.python, ms-python.black-formatter, ms-python.flake8, visualstudioexptteam.vscodeintellicode, VisualStudioExptTeam.intellicode-api-usage-examples] -
-f, --force-start
: Force start the site before attaching to container. -
--help
: Show this message and exit.
Examples:
Open the site example
in VSCode
fm code example
Open the site example
with force start
fm code example -f
add more extension other than default
fm code example -e vscodevim.vim