A powerful code analysis and visualization tool for VS Code.
- 3D visualization of code structure
- AST analysis and visualization
- Module dependency analysis
- Vulnerability detection
- Interactive code navigation
- VS Code 1.60.0 or higher
- Node.js 14.0.0 or higher
- Python 3.7 or higher (for backend analysis)
- Clone the repository:
git clone https://github.com/Zane-Dev14/SCode
cd SCode- Install dependencies:
npm install- Build the extension:
npm run build- Install the extension in VS Code:
- Press F5 in VS Code to start debugging
- Or package the extension and install it manually
- Open a project in VS Code
- Press Ctrl+Shift+P (Cmd+Shift+P on macOS)
- Type "SCode: Analyze Project" and press Enter
- Wait for the analysis to complete
- The visualization will open in a new panel
npm run watch- Start webpack in watch modenpm run build- Build the extensionnpm test- Run tests (when implemented)
scode-analyzer/
├── src/ # Extension source code
│ ├── extension.js # Main extension file
│ ├── pythonSetup.js # Python backend setup
│ ├── visualizationPanel.js # Visualization panel
│ └── analyzeCaller.js # Analysis logic
├── media/ # Webview resources
│ ├── components/ # React components
│ ├── shaders/ # GLSL shaders
│ ├── utils/ # Utility functions
│ ├── main.js # Webview entry point
│ └── main.css # Styles
├── backend/ # Python backend
│ ├── api.py # API server
│ └── requirements.txt # Python dependencies
└── dist/ # Built extension
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
MIT