Lenovo DRJ
A Visual Studio extension that provides Git integration and code analysis capabilities.
Features
- Git Integration: Monitor Git events such as commits, merges, and branch switches in real-time within Visual Studio.
- Code Analysis: Analyze solution code with built-in Roslyn-based analyzers (LenovoAnalyzerSystem).
- Summary Tool Window: View analysis results and Git status in a dedicated tool window.
- Security Detection: Path traversal, SQL injection, unsafe deserialization, unsafe reflection, race condition, and insecure IPC detection.
- Multi-language Support: Supports both Chinese and English interfaces.
Requirements
- Visual Studio 2022 (v17.0+) - Community, Professional, or Enterprise
- .NET Framework 4.7.2+
- Git installed on the system
Getting Started
- Install the extension from Visual Studio Marketplace or by double-clicking the
.vsix file.
- Open a solution that is under Git version control.
- Access the tool window via View > Other Windows > Summary Tool Window.
Multi-language Usage
The extension automatically follows Visual Studio's language settings.
To switch language manually:
- Go to Tools > Options > Environment > International Settings.
- Select your preferred language (Chinese/English).
- Restart Visual Studio.
Changelog
v3.0.5
- Added path traversal detection
- Added SQL injection detection
- Added unsafe deserialization detection
- Added insecure IPC detection
- Fixed DllImport constant/variable name resolution
- Fixed DllImport without
.dll suffix resolution (e.g., kernel32)
- Improved large file analysis performance
v3.0.8
- Added camelCase naming rules.
- Fixed the bug causing errors with special paths.
- Add a log button to facilitate debugging of encountered issues.
License
This extension is released under the MIT License.
| |