ionide / ionide/FsAutoComplete
Show underlying Types of alias Types
- Ngôn ngữ chính
- F#
- Star
- 486
- Fork
- 169
- Merge trung bình
- 2 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 5
Mô tả
This is a mirror of my issue for the ionide vscode extension. I was told here would be a more appropriate place to ask
https://github.com/ionide/ionide-vscode-fsharp/issues/1417
Its very annoying when i make types alias's for ease of documentation/domain modeling and it then completely obscures what the underlying type actually is.
I would like an option to show the underlying types of aliases both in intellisense popups/hovering and also in the inline auto-generated type annotations
Example
```fsharp
type id = int
type location= id list
type hierarchy= Dictionary
```
I think a good idea for type annotations and intellisene displaying would be something along these lines
```fsharp
| alias |{ underlying type alias v alias v }
hierarchy{Dictionary}
```
or even just one level deep like:
```fsharp
| alias | { underlying type }
hierarchy{Dictionary}
```
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách xem xét issue được mirror của Ionide VS Code và các entry point hiện có cho hover/pop-up của IntelliSense cũng như chú thích kiểu inline. Làm rõ alias nên được mở rộng sâu đến mức nào và tùy chọn này nên ảnh hưởng đến cả hai giao diện như thế nào. Hoàn thành khi người dùng có thể chọn xem các kiểu underlying của alias trong cả hai ngữ cảnh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- fsharp
- Lĩnh vực
- devtools
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 30/100