Commit a2a91b0
Actually expose the
Summary:
The `commentFoldingRanges` setting was implemented in the LSP server in f71dbd1 and documented in e7295fb but *not exposed* in VSCode's settings UI, making it undiscoverable.
**Changes:**
- Added `pyrefly.commentFoldingRanges` boolean configuration to `lsp/package.json` (default: false)
- Updated `website/docs/IDE.mdx` to specify exact setting name
Users can now enable comment section folding (comments matching `# Section Name ----`) via VSCode settings UI.
Pull Request resolved: #2205
Reviewed By: grievejia
Differential Revision: D91360705
Pulled By: yangdanny97
fbshipit-source-id: d23607387ccbe3f734c0caaf4c5f724cd923f501commentFoldingRanges setting (#2205)1 parent 800c40a commit a2a91b0
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
219 | 224 | | |
220 | 225 | | |
221 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments