From 32ebb4509e04dc20ec310691d7e3d572d2a4055e Mon Sep 17 00:00:00 2001 From: Foo-x Date: Wed, 27 Jul 2022 17:28:35 +0900 Subject: [PATCH] feat: allow settings for each folder --- package.json | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 0fdb280..42c3999 100644 --- a/package.json +++ b/package.json @@ -38,46 +38,55 @@ "path-intellisense.extensionOnImport": { "type": "boolean", "default": false, - "description": "Adds the file extension to a import statements" + "description": "Adds the file extension to a import statements", + "scope": "resource" }, "path-intellisense.mappings": { "type": "object", "default": {}, - "description": "Mappings for paths. The values should be interpreted as absolute paths (and can use '${workspaceFolder}')" + "description": "Mappings for paths. The values should be interpreted as absolute paths (and can use '${workspaceFolder}')", + "scope": "resource" }, "path-intellisense.showHiddenFiles": { "type": "boolean", "default": false, - "description": "Show hidden files" + "description": "Show hidden files", + "scope": "resource" }, "path-intellisense.autoSlashAfterDirectory": { "type": "boolean", "default": false, - "description": "Automatically adds slash after directory" + "description": "Automatically adds slash after directory", + "scope": "resource" }, "path-intellisense.absolutePathToWorkspace": { "type": "boolean", "default": true, - "description": "Sets an absolute path to the current workspace" + "description": "Sets an absolute path to the current workspace", + "scope": "resource" }, "path-intellisense.absolutePathTo": { "type": "string", - "description": "If defined, unmapped absolute path imports are based on this location. Takes priority over 'absolutePathToWorkspace' if both are defined" + "description": "If defined, unmapped absolute path imports are based on this location. Takes priority over 'absolutePathToWorkspace' if both are defined", + "scope": "resource" }, "path-intellisense.showOnAbsoluteSlash": { "type": "boolean", "default": true, - "description": "Shows suggestions when the import starts with a forward slash ('/')" + "description": "Shows suggestions when the import starts with a forward slash ('/')", + "scope": "resource" }, "path-intellisense.ignoreTsConfigBaseUrl": { "type": "boolean", "default": false, - "description": "Ignores tsconfig file for mappings" + "description": "Ignores tsconfig file for mappings", + "scope": "resource" }, "path-intellisense.autoTriggerNextSuggestion": { "type": "boolean", "default": false, - "description": "Automatically triggers next suggestion after previous suggestion" + "description": "Automatically triggers next suggestion after previous suggestion", + "scope": "resource" } } }