4

VS Mac with Fantomas

 3 years ago
source link: https://realazy.com/til/2021-04-19-vsmac-with-fantomas.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
VS Mac with Fantomas

VS Mac with Fantomas

二〇二一年四月十九日
  • Fantomas
  • VSMac

Fantomas is a code formator for F#, just like the prettier for JavaScript if you have known about it.

You can use Fantomas with your favorite editors by following the official guide. But what about VS Mac? The guide shows nothing.

VS Mac provides an option for using external tools, just setup Fantomas as follow:

(Click to view high resolution)

Notice, you need to fill full path for the Command due to VS Mac refuses $PATH. And make sure Save current file is checked, to avoid VS Mac asking you to reload the file each time you formated.

头像

我是陈贤安,喜欢钻研构建程序介面的技术,偏好静态类型函数式编程。常用编程语言有 JavaScript,会使 Swift、Objective-C、F# 和 OCaml。能看懂 C,想学会 Haskell 和 Erlang。逼急了也能撸起袖子码码其他的语言。realazy, 意取「真懒」,因为我相信,懒,对程序员来说,是一种美德。

2005 ~ 2021 © realazy 本站源码


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK