{ "name": "vscode-auto-import", "displayName": "Auto Import Plus", "description": "Fast workspace-wide auto import for TypeScript, JavaScript, Python, and Java — powered by a native Rust indexer", "version": "0.1.3", "publisher": "newdlops", "private": true, "license": "MIT", "icon": "resources/icon.png", "repository": { "type": "git", "url": "https://github.com/newdlops/vscode-auto-import" }, "bugs": { "url": "https://github.com/newdlops/vscode-auto-import/issues" }, "homepage": "https://github.com/newdlops/vscode-auto-import#readme", "keywords": [ "auto-import", "autoimport", "typescript", "python", "django", "java", "intellisense", "completion", "rust" ], "engines": { "vscode": "^1.85.0" }, "categories": [ "Programming Languages", "Other" ], "activationEvents": [ "onLanguage:typescript", "onLanguage:typescriptreact", "onLanguage:javascript", "onLanguage:javascriptreact", "onLanguage:python", "onLanguage:java" ], "main": "./dist/extension.js", "contributes": { "configuration": { "title": "Auto Import Plus", "properties": { "autoImport.languages": { "type": "array", "items": { "type": "string", "enum": [ "typescript", "javascript", "python", "java" ] }, "default": [ "typescript", "javascript", "python", "java" ], "description": "Languages to provide auto-imports for" }, "autoImport.excludeGlobs": { "type": "array", "items": { "type": "string" }, "default": [ "**/node_modules/**", "**/.venv/**", "**/venv/**", "**/__pycache__/**", "**/target/**", "**/build/**", "**/dist/**", "**/out/**", "**/.git/**" ], "description": "Glob patterns to exclude from indexing" }, "autoImport.minPrefixLength": { "type": "integer", "default": 1, "minimum": 1, "description": "Minimum prefix length before suggestions are offered" }, "autoImport.maxResults": { "type": "integer", "default": 20, "minimum": 1, "description": "Maximum number of completion results" }, "autoImport.preferBarrelImports": { "type": "boolean", "default": true, "description": "Prefer importing from barrel (index) files when available" }, "autoImport.python.respectAllDunder": { "type": "boolean", "default": true, "description": "Respect __all__ list when determining exported Python symbols" }, "autoImport.typescript.preferTypeImports": { "type": "string", "enum": [ "auto", "always", "never" ], "default": "auto", "description": "Whether to use 'import type' for type-only imports" }, "autoImport.java.includeInnerClasses": { "type": "boolean", "default": true, "description": "Index public inner classes as separately importable symbols" }, "autoImport.cache.maxDiskMB": { "type": "number", "default": 20, "description": "Maximum cache size on disk in megabytes" }, "autoImport.cache.location": { "type": "string", "enum": [ "workspace", "global" ], "default": "workspace", "description": "Where to store the cache (workspace uses .vscode/.auto-import-cache)" }, "autoImport.libraries.enabled": { "type": "boolean", "default": true, "description": "Index 3rd-party libraries (node_modules / site-packages)" }, "autoImport.libraries.tsNodeModules": { "type": "boolean", "default": true, "description": "Index TypeScript/JavaScript packages from node_modules" }, "autoImport.libraries.pythonSitePackages": { "type": "boolean", "default": true, "description": "Index Python packages from site-packages (auto-discovered from .venv/venv/env)" }, "autoImport.libraries.pythonMaxDepth": { "type": "integer", "default": 3, "minimum": 1, "maximum": 8, "description": "Maximum directory depth when scanning Python packages" }, "autoImport.libraries.pythonExtraPaths": { "type": "array", "items": { "type": "string" }, "default": [], "description": "Additional absolute paths to scan as Python site-packages" }, "autoImport.logLevel": { "type": "string", "enum": [ "info", "debug" ], "default": "info", "description": "Log verbosity level (debug emits per-file and per-query lines)" } } }, "commands": [ { "command": "autoImport.rebuildIndex", "title": "Auto Import: Rebuild Workspace Index" }, { "command": "autoImport.showCacheStats", "title": "Auto Import: Show Cache Stats" }, { "command": "autoImport.showLogs", "title": "Auto Import: Show Logs" } ] }, "scripts": { "build": "node esbuild.js", "watch": "node esbuild.js --watch", "build:prod": "node esbuild.js --production", "check": "tsc --noEmit", "daemon:build": "node scripts/build-daemon.js", "icon": "node scripts/gen-icon.js", "verify:release": "node scripts/verify-release.js", "test:e2e:compile": "tsc -p tsconfig.test.json", "test:e2e": "npm run daemon:build && npm run build && npm run test:e2e:compile && node out-test/runTest.js", "package": "npm run build:prod && npm run verify:release && npx --yes @vscode/vsce package --no-dependencies", "package:release": "npm run build:prod && npm run verify:release && npx --yes @vscode/vsce package --no-dependencies", "publish": "npm run build:prod && npm run verify:release && npx --yes @vscode/vsce publish --no-dependencies" }, "devDependencies": { "@types/glob": "^8.1.0", "@types/mocha": "^10.0.10", "@types/node": "^20.11.0", "@types/vscode": "^1.85.0", "@vscode/test-electron": "^2.5.2", "esbuild": "^0.21.0", "glob": "^13.0.6", "mocha": "^11.7.5", "typescript": "^5.4.0" } }