ionide / ionide/FsAutoComplete
Show underlying Types of alias Types
- 主要語言
- F#
- 星號
- 486
- 分支
- 169
- 平均合併
- 2 天 8 小時
- 30 天內合併 PR
- 5
描述
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}
```
貢獻指南
研究方向
首先查看鏡像的 Ionide VS Code issue,以及現有的 IntelliSense 懸停/彈出視窗和內嵌型別註解入口點。釐清 alias 應展開到多深,以及該選項應如何影響這兩個介面。完成標準是使用者可以選擇在這兩種情境中查看 alias 的底層型別。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- fsharp
- 領域
- devtools
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100