You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add restartInterval option to LSPServerConfig for automatic server restarts
- Implement timer-based restart mechanism to prevent long-running server degradation
- Add comprehensive test coverage for restart functionality
- Update documentation with configuration examples and guidelines
- Particularly beneficial for Python Language Server (pylsp) stability
- Version bump to 0.4.2
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [0.4.2] - 2025-06-29
9
+
10
+
### Added
11
+
12
+
-**LSP Server Auto-Restart**: Added `restartInterval` option to server configuration for automatic LSP server restarts to prevent long-running server degradation
13
+
- Configurable restart intervals in minutes with minimum 0.1 minute (6 seconds) for testing
14
+
- Comprehensive test coverage for restart functionality including timer setup, configuration validation, and cleanup
15
+
16
+
### Enhanced
17
+
18
+
- Improved LSP server stability for long-running sessions, particularly beneficial for Python Language Server (pylsp)
19
+
- Updated documentation with configuration examples and restart interval guidelines
20
+
-**Setup Wizard Improvements**: Enhanced file extension detection with comprehensive .gitignore support
21
+
- Improved project structure scanning to exclude common build artifacts, dependencies, and temporary files
22
+
- Better accuracy in detecting project's primary programming languages for LSP server configuration
Copy file name to clipboardExpand all lines: README.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -478,6 +478,40 @@ Result: 12 files will be updated with the new name
478
478
479
479
## 🔍 Troubleshooting
480
480
481
+
### Known Issues
482
+
483
+
<details>
484
+
<summary>🐍 Python LSP Server (pylsp) Performance Degradation</summary>
485
+
486
+
**Problem**: The Python Language Server (pylsp) may become slow or unresponsive after extended use (several hours), affecting symbol resolution and code navigation.
487
+
488
+
**Symptoms**:
489
+
- Slow or missing "go to definition" results for Python files
490
+
- Delayed or incomplete symbol references
491
+
- General responsiveness issues with Python code analysis
492
+
493
+
**Solution**: Use the auto-restart feature to periodically restart the pylsp server:
494
+
495
+
Add `restartInterval` to your Python server configuration:
496
+
497
+
```json
498
+
{
499
+
"servers": [
500
+
{
501
+
"extensions": ["py", "pyi"],
502
+
"command": ["pylsp"],
503
+
"restartInterval": 5
504
+
}
505
+
]
506
+
}
507
+
```
508
+
509
+
This will automatically restart the Python LSP server every 5 minutes, maintaining optimal performance for long coding sessions.
510
+
511
+
**Note**: The setup wizard automatically configures this for Python servers when detected.
0 commit comments