Some checks failed
Run mypy_primer on push / Run mypy_primer on push (push) Has been cancelled
Validation / Typecheck (push) Has been cancelled
Validation / Style (push) Has been cancelled
Validation / Test macos-latest (push) Has been cancelled
Validation / Test ubuntu-latest (push) Has been cancelled
Validation / Test windows-latest (push) Has been cancelled
Validation / Build (push) Has been cancelled
Validation / Required (push) Has been cancelled
5.8 KiB
5.8 KiB
Subsystem: commands
Source files under commands/. Grouped by the functional area each file was assigned to during semantic lifting.
- Files: 7
- Symbols (leaves): 29
Diagnostics and Configuration
- commands/commandController.ts — Dispatches language-server commands to their specific handlers and indicates long-running/refactoring commands
- commands/commandResult.ts — Defines CommandResult interface representing command output with label, edits, optional data, and a type guard
- commands/commands.ts — Exports an enum of Pyright command identifier strings used by the extension
- commands/createTypeStub.ts — Creates a language-server command to generate Python type stubs for a specified import and notify the user
- commands/dumpFileDebugInfoCommand.ts — Dumps tokens, syntax nodes, type info (including cached) and code-flow graph for a given file
- commands/quickActionCommand.ts — Handles quick action commands for the language server and returns corresponding workspace edits
- commands/restartServer.ts — Provides a command to restart the language server
Cross-subsystem dependencies
Imported by (external):
- analyzer/binder.ts
- analyzer/checker.ts
- common/diagnostic.ts
- src/languageServerBase.ts
- languageService/codeActionProvider.ts
- languageService/quickActions.ts
- src/server.ts
Imports (external):
- analyzer/analyzerNodeInfo.ts
- analyzer/parseTreeUtils.ts
- analyzer/service.ts
- common/cancellationUtils.ts
- common/languageInfoUtils.ts
- common/languageServerInterface.ts
- uri/uri.ts
- common/workspaceEditUtils.ts
- languageService/analyzerServiceExecutor.ts
- languageService/quickActions.ts
- src/workspaceFactory.ts