Overview Version History Q & A Rating & Review
Project Analyzer
A VS Code extension that analyzes project structure and records terminal activities. This tool is designed to help developers efficiently share project overviews when consulting with AI about coding issues.
Features
1. Project Structure Analysis (projectAnalyzer.generateStructure
)
Analyzes the entire project structure and generates detailed documentation.
Generates project-structure.md
in the project's root directory
Excludes files listed in .gitignore
Documentation structure includes:
Project information (name, version, description)
Configuration files content (e.g., package.json)
Detailed file structure with:
Directory hierarchy using icons (📁 for directories, 📄 for files)
For JavaScript (.js), TypeScript (.ts), and Python (.py) files:
Import statements
Exports
Functions
Components
Methods
Classes
Example output structure:
# Workspace Structure
Files listed in .gitignore will be excluded.
## Project Info
- Name: [project name]
- Version: [version]
- Description: [description]
## Configuration Files
[Content of important configuration files]
## File Structure
- 📄 file.ts
- Imports: [list of imports]
- Exports: [list of exports]
- Functions: [list of functions]
- Components: [list of components]
2. Terminal Activity Logging
A terminal operation logging feature that can be controlled via the "Terminal Log" button in the status bar.
Records all operations in the active terminal
Start/stop recording with a single click of the button
Logs are saved as terminal-history.txt
in the project's root directory
Note:
Some command outputs are not recorded (e.g., node -v, ls, etc.)
Installation
Open VS Code
Open Extensions view (Ctrl+Shift+X)
Search for "Project Analyzer"
Click Install
Or you can use the Quick Open (Ctrl+P) and run:
Usage
Project Structure Analysis
Open the Command Palette (Ctrl+Shift+P)
Select Project Analyzer: Generate Structure
project-structure.md
will be generated in the root directory
Terminal Logging
Click the "Terminal Log" button in the status bar
The button will be highlighted while recording
Click again to stop recording
Logs are saved in terminal-history.txt
Primary Use Cases
Reference material for AI coding consultations
Understanding project structure
Recording and reproducing terminal operations
Debugging assistance
Contributing
Bug reports and feature improvement suggestions are welcome on our GitHub Issues page.
License
MIT License
Release Notes
0.0.6
Changed the default log file name from terminalhistory.txt
to terminal-history.txt
0.0.5
Changed the default log file name from terminal.log
to terminalhistory.txt
0.0.4
Updated installation instructions in documentation
0.0.3
Added detailed documentation and extension logo
0.0.2
0.0.1
Initial release
Project structure analysis feature with detailed code analysis
Terminal logging feature