MCPcopy Index your code
hub / github.com/codefori/vscode-db2i

github.com/codefori/vscode-db2i @2.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.0.1 ↗ · + Follow
704 symbols 1,631 edges 105 files 41 documented · 6%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

vscode-db2i

GitHub star this repo 🌟 View our documentation 📘

Db2 for IBM i provides SQL functionality to VS Code.

  • Statement executor and result set view
  • Schemas view
  • Query history
  • SQL Job Manager, with JDBC options editor and configuration manager

Building from source

  1. This project requires VS Code and Node.js.
  2. fork & clone repo
  3. npm i
  4. 'Run Extension' from vscode debug.

Extension points exported contracts — how you extend this code

ExplainProperty (Interface)
(no doc) [1 implementers]
src/views/results/explain/nodes.ts
QueryHistoryItem (Interface)
(no doc)
src/Storage.ts
Db2i (Interface)
(no doc)
src/extension.ts
TableColumn (Interface)
(no doc)
src/types.ts
RawNotebookCell (Interface)
(no doc)
src/notebooks/IBMiSerializer.ts
JobInfo (Interface)
(no doc)
src/connection/manager.ts
PartStatementInfo (Interface)
(no doc)
src/database/schemas.ts
JsonPropDetail (Interface)
(no doc)
src/language/json.ts

Core symbols most depended-on inside this repo

tokenIs
called by 69
src/language/sql/statement.ts
getObjectReferences
called by 61
src/language/sql/statement.ts
get
called by 59
src/views/results/explain/nodes.ts
delimName
called by 44
src/database/statement.ts
log
called by 37
src/language/sql/document.ts
getInstance
called by 34
src/base.ts
runSQL
called by 32
src/connection/manager.ts
newJob
called by 30
src/connection/manager.ts

Shape

Method 307
Function 178
Class 140
Interface 72
Enum 7

Languages

TypeScript100%

Modules by API surface

src/views/jobManager/selfCodes/selfCodesResultsView.ts49 symbols
src/views/results/explain/nodes.ts48 symbols
src/language/sql/statement.ts30 symbols
src/views/schemaBrowser/index.ts29 symbols
src/views/results/explain/doveNodeView.ts20 symbols
src/views/jobManager/ConfigManager.ts20 symbols
src/connection/manager.ts20 symbols
src/views/results/resultSetPanelProvider.ts17 symbols
src/views/results/explain/doveResultsView.ts16 symbols
src/views/examples/exampleBrowser.ts16 symbols
src/language/providers/completionProvider.ts16 symbols
src/database/schemas.ts16 symbols

For agents

$ claude mcp add vscode-db2i \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact