[website] update IDE flag

This commit is contained in:
Lea Anthony
2021-09-29 20:19:14 +10:00
parent 4aa1464b48
commit 0ee3015c7d
3 changed files with 5 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ Currently, we support [Visual Studio Code](https://code.visualstudio.com/) but a
<img src="/img/vscode.png" style={{"width": "75%"}}></img>
</p>
When generating a project using the `-vscode` flag, IDE files will be created alongside the other project files.
When generating a project using the `-ide vscode` flags, IDE files will be created alongside the other project files.
These files are placed into the `.vscode` directory and provide the correct configuration for debugging your application.
The 2 files generated are `tasks.json` and `launch.json`. Below are the files generated for the default vanilla project:

View File

@@ -20,11 +20,11 @@ The Wails CLI has a number of commands that are used for managing your projects.
| -l | List available project templates | |
| -q | Suppress output to console | |
| -t "template name" | The project template to use. This can be the name of a default template or a URL to a remote template hosted on github. | vanilla |
| -vscode | Generate VSCode project files | |
| -ide | Generate IDE project files | |
| -f | Force build application | false |
Example:
`wails init -n test -d mytestproject -g -vscode -q`
`wails init -n test -d mytestproject -g -ide vscode -q`
This will generate a a project called "test" in the "mytestproject" directory, initialise git,
generate vscode project files and do so silently.