CodeEditApp / CodeEditApp/CodeEdit

✨ Quick Help Inspector

Đang mở
#364 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement inspector UI workspace
Ngôn ngữ chính
Swift
Star
23k
Fork
1.2k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Description

A Quick Help inspector panel would provide inline documentation and type information for the symbol currently under the cursor or selected in the editor. This allows developers to quickly understand the purpose, usage, and context of functions, types, and variables without navigating away from their current position.

### Proposed Behavior

- When a user places the cursor over a symbol, its documentation is displayed in a dedicated inspector panel.
- The panel could include:
- Symbol name and kind (e.g., function, variable, type)
- Declaration signature
- Documentation comments
- Type information
- Module or file where the symbol is defined
- The panel updates contextually as the user moves the cursor or selects a new symbol.

### Implementation Notes

- Can be powered by existing Language Server Protocol (LSP) support using `textDocument/hover` and related requests.
- Could be placed in the inspector area or presented as a popover or sidebar panel.
- Should gracefully handle cases where no documentation is available.

### Benefits

- Improves developer productivity by reducing context-switching.
- Helps with onboarding and working in unfamiliar codebases.
- Provides fast, integrated access to symbol documentation and type hints.

### Additional Context

This is a common feature in modern development environments and would be a natural addition alongside outline views and inline diagnostics.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.