-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmc-craft-tree.code-workspace
86 lines (83 loc) · 2.31 KB
/
mc-craft-tree.code-workspace
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"folders": [
{
"path": "."
},
{
"path": "mc-gatherer/logs"
},
{
"path": "mc-gatherer"
}
],
"settings": {
// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,
// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},
// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off", "fixable": true },
{ "rule": "format/*", "severity": "off", "fixable": true },
{ "rule": "*-indent", "severity": "off", "fixable": true },
{ "rule": "*-spacing", "severity": "off", "fixable": true },
{ "rule": "*-spaces", "severity": "off", "fixable": true },
{ "rule": "*-order", "severity": "off", "fixable": true },
{ "rule": "*-dangle", "severity": "off", "fixable": true },
{ "rule": "*-newline", "severity": "off", "fixable": true },
{ "rule": "*quotes", "severity": "off", "fixable": true },
{ "rule": "*semi", "severity": "off", "fixable": true }
],
// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml",
"toml",
"xml",
"gql",
"graphql",
"astro",
"svelte",
"css",
"less",
"scss",
"pcss",
"postcss"
]
},
"launch": {
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Gather E2EE",
"runtimeExecutable": "tsx", // This tells VSCode to use esno instead of Node.js
"runtimeArgs": [
"src/cli.ts" // Path to your TypeScript file
],
"args": [
"--mc=D:/mc_client/Instances/E2E-E", // Your mc argument
"--output=../src/assets/data/e2ee" // Your output argument
],
// "sourceMaps": true, // To enable TypeScript source mapping for better debugging
"cwd": "${workspaceFolder}/mc-gatherer", // Changing to ./mc-gatherer directory before running
"skipFiles": ["<node_internals>/**"],
"console": "integratedTerminal", // Run in the integrated terminal to see logs
"internalConsoleOptions": "neverOpen" // Keep the internal console closed, use the terminal
}
]
}
}