ionide / ionide/FsAutoComplete

Show underlying Types of alias Types

未关闭
#653 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement help wanted
主要语言
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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。