diff --git a/druid.code-workspace b/druid.code-workspace new file mode 100644 index 0000000..dab8d24 --- /dev/null +++ b/druid.code-workspace @@ -0,0 +1,30 @@ +{ + "folders": [ + { + "path": "." + } + ], + "settings": { + "files.exclude": { + "**/.git": true, // this is a default value + "**/.DS_Store": true, // this is a default value + + "**/node_modules": true, // this excludes all folders + // named "node_modules" from + // the explore tree + + // alternative version + "node_modules": true, // this excludes the folder + // only from the root of + // your workspace + ".internal": true, + "bundle": true, + "input": true, + "media": true, + "build": true, + ".github": true, + ".deployer_cache": true, + "dist": true + } + } +} diff --git a/druid/templates/component.template.lua b/druid/templates/component.template.lua index c9ea71b..85a6f64 100644 --- a/druid/templates/component.template.lua +++ b/druid/templates/component.template.lua @@ -1,5 +1,6 @@ local component = require("druid.component") +---@class component_name : druid.base_component local Component = component.create("component_name") local SCHEME = { diff --git a/druid/templates/component_full.template.lua b/druid/templates/component_full.template.lua index 8209aa9..1e994d2 100644 --- a/druid/templates/component_full.template.lua +++ b/druid/templates/component_full.template.lua @@ -1,5 +1,6 @@ local component = require("druid.component") +---@class component_name : druid.base_component local Component = component.create("component_name") -- Scheme of component gui nodes diff --git a/druid/workspace.code-workspace b/druid/workspace.code-workspace deleted file mode 100644 index 96071f3..0000000 --- a/druid/workspace.code-workspace +++ /dev/null @@ -1,19 +0,0 @@ -{ - "folders": [ - { - "path": "../test" - }, - { - "path": "../editor_scripts" - }, - { - "path": "../example" - }, - { - "path": "../docs_md" - }, - { - "path": "." - } - ] -} \ No newline at end of file