From 850c166cf28189523f563922b765cfecadf1c6d0 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Wed, 25 Dec 2024 11:27:22 -0700 Subject: [PATCH] Add jsconfig to get Foundry autocomplete --- .vscode/settings.json | 8 ++++++++ jsconfig.json | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .vscode/settings.json create mode 100644 jsconfig.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..a72c23c --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "files.exclude": { + "**/node_modules": true + }, + "search.exclude": { + "foundry.*.link": true + } +} \ No newline at end of file diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..8b0d1fc --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,11 @@ +{ + "compilerOptions": { + "module": "ES2020", + "target": "ES2020" + }, + "exclude": ["node_modules", "**/node_modules/*"], + "include": ["module/**/*", "foundry.v13.link/client/**/*.js", "foundry.v13.link/**/*.mjs"], + "typeAcquisition": { + "include": ["jquery"] + } +} \ No newline at end of file