aboutsummaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-01 22:13:08 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-01 22:13:08 -0500
commitca788f0b06aca34d86ea433f022406d5152d09c4 (patch)
treebfd00ee0e7ed373a66fb4789af57786224949a39 /.vscode
parentc587f6418957d4ff1641730e923c3f06a811982f (diff)
downloadtanzanite-ca788f0b06aca34d86ea433f022406d5152d09c4.tar.gz
tanzanite-ca788f0b06aca34d86ea433f022406d5152d09c4.tar.bz2
tanzanite-ca788f0b06aca34d86ea433f022406d5152d09c4.zip
debug stuff
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/extensions.json24
-rw-r--r--.vscode/launch.json32
-rw-r--r--.vscode/settings.json190
-rw-r--r--.vscode/typescript.code-snippets8
4 files changed, 124 insertions, 130 deletions
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index 2b70e67..5722024 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -1,14 +1,14 @@
{
- "recommendations": [
- "aaron-bond.better-comments",
- "arcanis.vscode-zipfs",
- "dbaeumer.vscode-eslint",
- "eamodio.gitlens",
- "esbenp.prettier-vscode",
- "streetsidesoftware.code-spell-checker",
- "github.vscode-pull-request-github",
- "ckolkman.vscode-postgres",
- "tobias-faller.vt100-syntax-highlighting",
- "pkief.material-icon-theme"
- ]
+ "recommendations": [
+ "aaron-bond.better-comments",
+ "arcanis.vscode-zipfs",
+ "dbaeumer.vscode-eslint",
+ "eamodio.gitlens",
+ "esbenp.prettier-vscode",
+ "streetsidesoftware.code-spell-checker",
+ "github.vscode-pull-request-github",
+ "ckolkman.vscode-postgres",
+ "tobias-faller.vt100-syntax-highlighting",
+ "pkief.material-icon-theme"
+ ]
}
diff --git a/.vscode/launch.json b/.vscode/launch.json
index ef7a204..d0be0a4 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -1,32 +1,22 @@
{
"configurations": [
{
+ "type": "node-terminal",
"command": "yarn start",
- "name": "yarn start",
- "request": "launch",
- "type": "node-terminal"
- },
- {
- "command": "yarn dev",
"name": "BushBot",
"request": "launch",
- "type": "pwa-node",
- "runtimeArgs": [
- "--experimental-specifier-resolution=node"
- ],
+ "cwd": "${workspaceFolder}",
+ "program": "${workspaceFolder}/dist/src/bot.js",
+ "sourceMaps": true,
+ "resolveSourceMapLocations": ["${workspaceFolder}/**"],
"skipFiles": [
"<node_internals>/**",
- // "**/Yarn/**",
- "**/.pnp.js",
- "**/.yarn/releases/**"
- ],
- "outFiles": [
- "${workspaceRoot}/dist/**/*.js",
- ],
- "sourceMaps": true,
- "resolveSourceMapLocations": [
- "${workspaceFolder}/**",
+ "/**/.yarn/**",
+ "/**/.nvm/**",
+ "**/node_modules/**",
+ "!**/node_modules/discord-akairo/**",
+ "!**/node_modules/discord.js/**"
]
}
]
-} \ No newline at end of file
+}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index b1cdace..b41dbcf 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,96 +1,96 @@
{
- "files.exclude": {
- "**/.git": true,
- "**/.svn": true,
- "**/.hg": true,
- "**/CVS": true,
- "**/.DS_Store": true,
- "dist": false,
- ".pnp.js": true,
- "**/node_modules": true,
- "**/dist/**/*.js.map": true
- },
- "javascript.preferences.importModuleSpecifier": "project-relative",
- "typescript.preferences.importModuleSpecifier": "project-relative",
- "typescript.preferences.importModuleSpecifierEnding": "minimal",
- "search.exclude": {
- "**/.yarn": true,
- "**/.pnp.*": true,
- "**/node_modules": true
- },
- "editor.codeActionsOnSave": {
- "source.organizeImports": true,
- "source.fixAll.eslint": true,
- "source.format": true
- },
- "diffEditor.wordWrap": "on",
- "editor.insertSpaces": false,
- "editor.wordWrap": "on",
- "editor.tabSize": 2,
- "prettier.configPath": ".prettierrc.json",
- "prettier.prettierPath": "node_modules/prettier",
- "prettier.withNodeModules": true,
- "prettier.useEditorConfig": false,
- // "typescript.tsdk": ".yarn/sdks/typescript/lib",
- "typescript.tsdk": "node_modules/typescript/lib",
- "typescript.enablePromptUseWorkspaceTsdk": true,
- "better-comments.highlightPlainText": false,
- "better-comments.multilineComments": true,
- "better-comments.tags": [
- {
- "tag": "!",
- "color": "#FF2D00",
- "strikethrough": false,
- "underline": false,
- "backgroundColor": "transparent",
- "bold": false,
- "italic": false
- },
- {
- "tag": "?",
- "color": "#3498DB",
- "strikethrough": false,
- "underline": false,
- "backgroundColor": "transparent",
- "bold": false,
- "italic": false
- },
- {
- "tag": "todo",
- "color": "#FF8C00",
- "strikethrough": false,
- "underline": false,
- "backgroundColor": "transparent",
- "bold": false,
- "italic": false
- },
- {
- "tag": "@ts-",
- "color": "#f54242",
- "strikethrough": false,
- "underline": false,
- "backgroundColor": "transparent",
- "bold": false,
- "italic": false
- },
- {
- "tag": "eslint-",
- "color": "#f54242",
- "strikethrough": false,
- "underline": false,
- "backgroundColor": "transparent",
- "bold": false,
- "italic": false
- },
- {
- "tag": "~",
- "color": "#474747",
- "strikethrough": true,
- "underline": false,
- "backgroundColor": "transparent",
- "bold": false,
- "italic": false
- }
- ],
- "javascript.preferences.importModuleSpecifierEnding": "js"
-} \ No newline at end of file
+ "files.exclude": {
+ "**/.git": true,
+ "**/.svn": true,
+ "**/.hg": true,
+ "**/CVS": true,
+ "**/.DS_Store": true,
+ "dist": false,
+ ".pnp.js": true,
+ "**/node_modules": true,
+ "**/dist/**/*.js.map": true
+ },
+ "javascript.preferences.importModuleSpecifier": "project-relative",
+ "typescript.preferences.importModuleSpecifier": "project-relative",
+ "typescript.preferences.importModuleSpecifierEnding": "minimal",
+ "search.exclude": {
+ "**/.yarn": true,
+ "**/.pnp.*": true,
+ "**/node_modules": true
+ },
+ "editor.codeActionsOnSave": {
+ "source.organizeImports": true,
+ "source.fixAll.eslint": true,
+ "source.format": true
+ },
+ "diffEditor.wordWrap": "on",
+ "editor.insertSpaces": false,
+ "editor.wordWrap": "on",
+ "editor.tabSize": 2,
+ "prettier.configPath": ".prettierrc.json",
+ "prettier.prettierPath": "node_modules/prettier",
+ "prettier.withNodeModules": true,
+ "prettier.useEditorConfig": false,
+ // "typescript.tsdk": ".yarn/sdks/typescript/lib",
+ "typescript.tsdk": "node_modules/typescript/lib",
+ "typescript.enablePromptUseWorkspaceTsdk": true,
+ "better-comments.highlightPlainText": false,
+ "better-comments.multilineComments": true,
+ "better-comments.tags": [
+ {
+ "tag": "!",
+ "color": "#FF2D00",
+ "strikethrough": false,
+ "underline": false,
+ "backgroundColor": "transparent",
+ "bold": false,
+ "italic": false
+ },
+ {
+ "tag": "?",
+ "color": "#3498DB",
+ "strikethrough": false,
+ "underline": false,
+ "backgroundColor": "transparent",
+ "bold": false,
+ "italic": false
+ },
+ {
+ "tag": "todo",
+ "color": "#FF8C00",
+ "strikethrough": false,
+ "underline": false,
+ "backgroundColor": "transparent",
+ "bold": false,
+ "italic": false
+ },
+ {
+ "tag": "@ts-",
+ "color": "#f54242",
+ "strikethrough": false,
+ "underline": false,
+ "backgroundColor": "transparent",
+ "bold": false,
+ "italic": false
+ },
+ {
+ "tag": "eslint-",
+ "color": "#f54242",
+ "strikethrough": false,
+ "underline": false,
+ "backgroundColor": "transparent",
+ "bold": false,
+ "italic": false
+ },
+ {
+ "tag": "~",
+ "color": "#474747",
+ "strikethrough": true,
+ "underline": false,
+ "backgroundColor": "transparent",
+ "bold": false,
+ "italic": false
+ }
+ ],
+ "javascript.preferences.importModuleSpecifierEnding": "js"
+}
diff --git a/.vscode/typescript.code-snippets b/.vscode/typescript.code-snippets
index f105a20..6ab1c89 100644
--- a/.vscode/typescript.code-snippets
+++ b/.vscode/typescript.code-snippets
@@ -5,7 +5,7 @@
* $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
* same ids are connected.
*/
-
+ // prettier-ignore
"Setup Slash Command": {
"prefix": "slash",
"body": [
@@ -15,7 +15,8 @@
"]"
]
},
-
+
+ // prettier-ignore
"Slash Command User Argument": {
"prefix": "user",
"body": [
@@ -28,6 +29,7 @@
]
},
+ // prettier-ignore
"Slash Command String Argument": {
"prefix": "string",
"body": [
@@ -40,6 +42,7 @@
]
},
+ // prettier-ignore
"Slash Command Choice Argument": {
"prefix": "choice",
"body": [
@@ -58,6 +61,7 @@
]
},
+ // prettier-ignore
"Slash Boolean Argument": {
"prefix": "boolean",
"body": [