Real-time TypeScript model generation for FAMIX/Moose analysis. This extension automatically creates and updates FAMIX models of your TypeScript code as you make changes, eliminating manual model generation steps. The models can be imported into the Moose platform for advanced code analysis and visu
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Real-time TypeScript model generation for FAMIX/Moose analysis. This extension automatically creates and updates FAMIX models of your TypeScript code as you make changes, eliminating manual model generation steps.
Features
Automatic model generation — generates a FAMIX JSON model from your TypeScript project
Real-time updates — the model is automatically updated on every file save (Cmd+S / Ctrl+S)
Famix Model panel — a visual tree view in the Explorer sidebar showing all classes, methods and properties in real time
Installation
Search for ts2famix in the VSCode Marketplace and click Install.
Usage
Open a TypeScript project folder that contains a valid tsconfig.json
Configure the output path: Cmd+Shift+P → Preferences: Open Settings (UI) → search Ts2Famix → set Famix Model Output File Path (e.g. /path/to/project/model.json)
Generate the model: Cmd+Shift+P → ts2famix: Generate Famix Model
The model updates automatically on every Cmd+S
View the model structure in the Famix Model panel in the Explorer sidebar
Development
Requirements
Node.js >= 18
VSCode >= 1.94
Setup
git clone https://github.com/Leoo-code/FamixTypeScriptImporter.git
cd FamixTypeScriptImporter
git checkout dev
bash vscode-extension/install.sh