{
	"name": "pyrefly",
	"displayName": "Pyrefly - Python Language Tooling",
	"description": "Python autocomplete, typechecking, code navigation and more! Powered by Pyrefly, an open-source language server",
	"icon": "images/pyrefly-symbol.png",
	"extensionKind": [
		"workspace"
	],
	"author": "Facebook",
	"license": "Apache2",
	"version": "0.60.0",
	"repository": {
		"type": "git",
		"url": "https://github.com/facebook/pyrefly"
	},
	"publisher": "meta",
	"categories": [
		"Programming Languages",
		"Linters",
		"Other"
	],
	"keywords": [
		"multi-root ready",
		"python",
		"type",
		"typecheck",
		"typehint",
		"completion",
		"lint"
	],
	"engines": {
		"vscode": "^1.94.0"
	},
	"main": "./dist/extension",
	"activationEvents": [
		"onLanguage:python",
		"onNotebook:jupyter-notebook"
	],
	"contributes": {
		"languages": [
			{
				"id": "python",
				"aliases": [
					"Python"
				],
				"extensions": [
					".py",
					".pyi"
				]
			}
		],
		"commands": [
			{
				"title": "Restart Pyrefly Client",
				"category": "pyrefly",
				"command": "pyrefly.restartClient"
			},
			{
				"title": "Fold All Docstrings",
				"category": "pyrefly",
				"command": "pyrefly.foldAllDocstrings"
			},
			{
				"title": "Unfold All Docstrings",
				"category": "pyrefly",
				"command": "pyrefly.unfoldAllDocstrings"
			},
			{
				"title": "Run File",
				"category": "pyrefly",
				"command": "pyrefly.runMain"
			},
			{
				"title": "Run Test",
				"category": "pyrefly",
				"command": "pyrefly.runTest"
			}
		],
		"semanticTokenScopes": [
			{
				"language": "python",
				"scopes": {
					"variable.readonly": [
						"variable.other.constant.python"
					]
				}
			}
		],
		"configurationDefaults": {
			"editor.semanticTokenColorCustomizations": {
				"rules": {
					"variable.readonly:python": "#4EC9B0"
				}
			}
		},
		"configuration": {
			"properties": {
				"pyrefly.lspPath": {
					"type": "string",
					"default": "",
					"description": "The path to the binary used for the lsp"
				},
				"pyrefly.lspArguments": {
					"type": "array",
					"items": {
						"type": "string"
					},
					"default": [
						"lsp"
					],
					"description": "Additional arguments that should be passed to the binary at pyrefly.lspPath"
				},
				"python.pyrefly.disableLanguageServices": {
					"type": "boolean",
					"default": false,
					"description": "If true, pyrefly will not provide other IDE services like completions, hover, definition, etc. To control type errors, see `python.pyrefly.displayTypeErrors`",
					"scope": "resource"
				},
				"python.pyrefly.displayTypeErrors": {
					"type": "string",
					"description": "If 'default', Pyrefly will only provide type check squiggles in the IDE if your file is covered by a Pyrefly configuration. If 'force-off', Pyrefly will never provide type check squiggles in the IDE. If 'force-on', Pyrefly will always provide type check squiggles in the IDE. If 'error-missing-imports', Pyrefly will only show errors for missing imports and missing sources (missing-import, missing-source, and missing-source-for-stubs).",
					"default": "default",
					"enum": [
						"default",
						"force-on",
						"force-off",
						"error-missing-imports"
					],
					"scope": "resource"
				},
				"pyrefly.trace.server": {
					"type": "string",
					"description": "Set to 'verbose' to enable LSP trace in the console",
					"default": "off",
					"enum": [
						"off",
						"verbose"
					]
				},
				"python.pyrefly.disabledLanguageServices": {
					"type": "object",
					"default": {},
					"description": "Disable specific language services. Set individual services to true to disable them.",
					"scope": "resource",
					"properties": {
						"hover": {
							"type": "boolean",
							"default": false
						},
						"documentSymbol": {
							"type": "boolean",
							"default": false
						},
						"workspaceSymbol": {
							"type": "boolean",
							"default": false
						},
						"inlayHint": {
							"type": "boolean",
							"default": false
						},
						"completion": {
							"type": "boolean",
							"default": false
						},
						"codeAction": {
							"type": "boolean",
							"default": false
						},
						"definition": {
							"type": "boolean",
							"default": false
						},
						"declaration": {
							"type": "boolean",
							"default": false
						},
						"typeDefinition": {
							"type": "boolean",
							"default": false
						},
						"references": {
							"type": "boolean",
							"default": false
						},
						"documentHighlight": {
							"type": "boolean",
							"default": false
						},
						"rename": {
							"type": "boolean",
							"default": false
						},
						"codeLens": {
							"type": "boolean",
							"default": false
						},
						"semanticTokens": {
							"type": "boolean",
							"default": false
						},
						"signatureHelp": {
							"type": "boolean",
							"default": false
						},
						"implementation": {
							"type": "boolean",
							"default": false
						},
						"callHierarchy": {
							"type": "boolean",
							"default": false,
							"description": "Disable call hierarchy feature (Show Incoming/Outgoing Calls)"
						}
					}
				},
				"python.analysis.showHoverGoToLinks": {
					"type": "boolean",
					"default": true,
					"description": "Controls whether hover tooltips include 'Go to definition' and 'Go to type definition' navigation links.",
					"scope": "resource"
				},
				"python.analysis.completeFunctionParens": {
					"type": "boolean",
					"default": false,
					"description": "Automatically insert parentheses when completing a function or method.",
					"scope": "resource"
				},
				"python.pyrefly.syncNotebooks": {
					"type": "boolean",
					"default": true,
					"description": "If true, Pyrefly will sync notebook documents with the language server. Set to false to disable notebook support."
				},
				"python.pyrefly.runnableCodeLens": {
					"type": "boolean",
					"default": false,
					"description": "Enable Pyrefly's Run/Test CodeLens actions for Python files.",
					"scope": "resource"
				},
				"python.pyrefly.streamDiagnostics": {
					"type": "boolean",
					"default": true,
					"description": "If true (default), Pyrefly will stream diagnostics as they become available during recheck, providing incremental feedback. Set to false to only publish diagnostics after the full recheck completes.",
					"scope": "resource"
				},
				"python.pyrefly.diagnosticMode": {
					"type": "string",
					"default": "openFilesOnly",
					"description": "Controls the scope of Pyrefly's diagnostic analysis. When set to 'openFilesOnly', diagnostics are only provided for files that are currently open in the editor. When set to 'workspace', diagnostics are computed and published for all files in the workspace.",
					"enum": [
						"openFilesOnly",
						"workspace"
					],
					"scope": "resource"
				},
				"pyrefly.commentFoldingRanges": {
					"type": "boolean",
					"default": false,
					"description": "Controls whether comment section folding ranges are included in the editor. When true, comments following the pattern '# Section Name ----' (with 4+ trailing dashes) create collapsible regions, similar to R's code section convention."
				},
				"python.pyrefly.configPath": {
					"type": "string",
					"default": "",
					"description": "Path to a pyrefly.toml or pyproject.toml configuration file. When set, the LSP will use this config for all files in your workspace instead of the default Pyrefly config-finding logic. Prefer to use default logic wherever possible.",
					"scope": "resource"
				}
			}
		}
	},
	"scripts": {
		"compile": "npm run check-types && node esbuild.js",
		"check-types": "tsc --noEmit",
		"watch": "npm-run-all -p watch:*",
		"watch:esbuild": "node esbuild.js --watch",
		"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
		"vscode:prepublish": "npm run package",
		"package": "npm run check-types && node esbuild.js --production",
		"test": "vscode-test"
	},
	"devDependencies": {
		"@types/mocha": "^10.0.10",
		"@types/node": "^16.11.7",
		"@types/vscode": "^1.78.1",
		"@vscode/test-cli": "^0.0.10",
		"@vscode/test-electron": "^2.5.2",
		"@vscode/vsce": "^2.9.2",
		"esbuild": "^0.25.1",
		"npm-run-all": "^4.1.5",
		"typescript": "^4.4.3"
	},
	"dependencies": {
		"@vscode/python-extension": "^1.0.5",
		"serialize-javascript": "^7.0.5",
		"underscore": "^1.13.8",
		"vsce": "^2.15.0",
		"vscode-languageclient": "9.0.1"
	},
	"extensionDependencies": [
		"ms-python.python"
	],
	"__metadata": {
		"installedTimestamp": 1775524046027,
		"targetPlatform": "darwin-arm64",
		"size": 26521251
	}
}