google / google/xls

LanguageServer: Folding range for test functions ?

Open
#1,165 0 comments 0 reactions 0 assignees View on GitHub
dslx:lsp enhancement
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

the LSP protocol has something that sounds like it provides suggestions for [ranges that can be folded in the editor](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_foldingRange).

This might be a useful way to e.g. fold all `#[test]` ranges in a file while focusing on the implementation.

Low prio. Nice-to-have.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.