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
Enhance build scripts and documentation for cross-platform support with Ruff
- Updated `build-with-ruff.sh` to include Windows support, bundling Pyright only (no Ruff).
- Modified Node.js download logic to accommodate Windows platform.
- Improved cleanup process for both Windows and Unix builds.
- Enhanced README.md to clarify Ruff support for Linux/macOS and Pyright-only builds for Windows.
- Updated GitHub Actions workflow to build for all platforms, including Windows.
@@ -92,6 +104,16 @@ The Pyright language server is configured via `pyrightconfig.json`. The bridge a
92
104
- ✅ Production-ready dependencies only
93
105
- ✅ WebSocket-based communication
94
106
- ✅ Full Pyright LSP capabilities
107
+
- ✅ Ruff code formatting (Linux/macOS builds)
108
+
109
+
### Ruff Formatting Support
110
+
111
+
Ruff is a fast Python linter and formatter written in Rust. When using builds from `build-with-ruff.sh`:
112
+
113
+
-**Linux/macOS**: Ruff binary is bundled and intercepts LSP formatting requests
114
+
-**Windows**: Pyright only (no Ruff bundling)
115
+
116
+
Formatting is automatically handled when you trigger "Format Document" in your IDE. The bridge intercepts `textDocument/formatting` requests and processes them with Ruff for Unix-based systems.
95
117
96
118
## Architecture
97
119
@@ -107,10 +129,13 @@ Messages are translated between WebSocket and the Language Server Protocol, enab
107
129
108
130
-`index.ts` - Entry point and CLI argument handling
0 commit comments