File tree Expand file tree Collapse file tree 3 files changed +45
-0
lines changed Expand file tree Collapse file tree 3 files changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,8 @@ fabric.properties
126
126
! .vscode /launch.json
127
127
! .vscode /extensions.json
128
128
! .vscode /* .code-snippets
129
+ # Specifically allow the provided code workspace with the multi-root workaround
130
+ ! .vscode /SatisfactoryModManager.code-workspace
129
131
130
132
# Local History for Visual Studio Code
131
133
.history /
Original file line number Diff line number Diff line change
1
+ {
2
+ // Needed for vscode ESLint to work
3
+ // https://stackoverflow.com/questions/47405315/visual-studio-code-and-subfolder-specific-settings
4
+ "folders" : [
5
+ {
6
+ "name" : " root" ,
7
+ "path" : " ../."
8
+ },
9
+ {
10
+ "path" : " ../frontend"
11
+ },
12
+ {
13
+ "path" : " ../backend"
14
+ }
15
+ ],
16
+ "settings" : {
17
+ "files.exclude" : {
18
+ "**/.git" : true ,
19
+ "backend" : true ,
20
+ "frontend" : true
21
+ },
22
+ },
23
+ "extensions" : {
24
+ "recommendations" : [
25
+ " svelte.svelte-vscode" ,
26
+ " streetsidesoftware.code-spell-checker" ,
27
+ " dbaeumer.vscode-eslint" ,
28
+ " davidanson.vscode-markdownlint" ,
29
+ " herrmannplatz.npm-dependency-links" ,
30
+ " medo64.render-crlf" ,
31
+ " redhat.vscode-yaml" ,
32
+ " golang.go"
33
+ ]
34
+ }
35
+ }
Original file line number Diff line number Diff line change @@ -69,6 +69,14 @@ Although `wails dev` should run these commands for you under normal circumstance
69
69
you may need to run ` pnpm graphql-codegen ` in the ` frontend ` directory to update the code generated from the SMR API,
70
70
or run ` pnpm translations ` to update the translation data.
71
71
72
+ ### IDE Configuration
73
+
74
+ Make sure that your IDE is connecting with the frontend's installation of ESLint to get the best experience.
75
+
76
+ VSCode users, a preconfigured workspace is provided in ` ./vscode `
77
+ that allows editing both Go and Svelte files
78
+ while maintaining correct ESLint functionality.
79
+
72
80
### Building
73
81
74
82
``` bash
You can’t perform that action at this time.
0 commit comments