ionide / ionide/FsAutoComplete

Show underlying Types of alias Types

オープン
#653 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement help wanted
主要言語
F#
スター
486
フォーク
169
平均マージ
2日 8時間
マージ済み PR(30日)
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 のホバー/ポップアップおよびインライン型注釈のエントリポイントを確認します。エイリアスをどの深さまで展開するべきか、またオプションが両方の表示箇所にどのような影響を与えるべきかを明確にします。ユーザーが両方のコンテキストで基になるエイリアス型を表示するかどうかを選択できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
fsharp
領域
devtools
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。