mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Move VS Code settings to .vscode.dist and update docs (#2029)
This commit is contained in:
parent
825c88b6e8
commit
46746e3e34
4 changed files with 16 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,5 +6,6 @@ target
|
|||
.dmypy.json
|
||||
node_modules
|
||||
/.idea/
|
||||
/.vscode/
|
||||
/.bazel
|
||||
/windows.bazelrc
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
# Editing/IDEs
|
||||
|
||||
Visual Studio Code is recommended, since it provides decent support for all the languages
|
||||
Anki uses. If you open the root of this repo in VS Code, it will suggest some extensions
|
||||
for you to install.
|
||||
Anki uses. To set up the recommended workspace settings for VS Code, please see below.
|
||||
|
||||
For editing Python, PyCharm/IntelliJ's type checking/completion is a bit nicer than
|
||||
VS Code, but VS Code has improved considerably in a short span of time.
|
||||
|
@ -36,6 +35,20 @@ Code completion partly depends on files that are generated as part of the
|
|||
regular build process, so for things to work correctly, use './run' or
|
||||
'tools/build' prior to using code completion.
|
||||
|
||||
## Visual Studio Code
|
||||
|
||||
### Setting up Recommended Workspace Settings
|
||||
|
||||
To start off with some default workspace settings that are optimized for Anki development, please head to the project root and then run:
|
||||
|
||||
```
|
||||
cp -r .vscode.dist .vscode
|
||||
```
|
||||
|
||||
### Installing Recommended Extensions
|
||||
|
||||
Once the workspace settings are set up, open the root of the repo in VS Code to see and install a number of recommended extensions.
|
||||
|
||||
## PyCharm/IntelliJ
|
||||
|
||||
If you decide to use PyCharm instead of VS Code, there are somethings to be aware of.
|
||||
|
|
Loading…
Reference in a new issue