dotnet / dotnet/fsharp

VS: Make Fantomas auto-discoverable when user invokes F# format document/selection

Open
#2,693 20 comments 4 reactions 1 assignee Claimed by @T-Gro View on GitHub
Area-VS Feature Request good first issue help wanted
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

We should make Fantomas-for-VS auto-discoverable, e.g. suggest the marketplace addin by the community when the user invokes F# format-document or format-selection

----

Old notes:

I can't format any code in F# with VS2017, using the edit/format/advanced/document or selection. This is working perfectly in VS2015.

In VS2015 I had this issue at some stage and if disabling the the "Productive Power Tools", the edit/format started to work normally.
Then, if enabling the "Productive Power Tools" again, the edit/format functionality keept working and I had no issues anymore. All good in VS2015.

In VS2017 I installed the proper "Productive Power Tools", expecting no issues, but noticed the edit/format was not working. I decided to disable this functionality (in Extension and Updates) as I did for VS 2015 to see whether the issue is solved. But it did not solve the problem.

* Operating system --> MS Windows 10 Pro
* Editing Tools (e.g. Visual Studio Version) --> VS2015 Community Edition

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.