Visual F# Power Tools 简单介绍

时间:2025-02-11 12:35:38

Visual F# Power Tools 简单介绍

  • Auto-generating XmlDoc

当在函数定义的前面输入 ///< 以后。会自己主动生成 XML 文档。并会自己主动提取函数中的參数。最初是由 Brian McNamara 写的。

  • Formatting document / Formatting selection

Ctrl + K, Ctrl + D,格式化文档;

Ctrl + K, Ctrl + F,格式化选择的文档。假设没有选择文档。格式化最小的语法块。即在 [
]、 [| |]、 { }
(
) 中的部分。

缩进的多少,由 Tools --> Options --> Text Editor --> F# --> Tabs 控制。

  • Navigation bar
  • Highlight references
  • Rename refactoring
  • Depth colorizer
  • NavigateTo
  • Syntax coloring
  • Folder organization
  • Find all references
  • Implement interface
  • Record stub generation
  • Union type pattern generation
  • Resolve unopened namespaces
  • Gray out unused declarations