-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe default formatting options #9
Comments
I've been meaning to put that in for some time, although it's not very useful without concrete examples for before and after. Do you have any good suggestions? |
Any sort of help is appreciated! This is where the descriptions are specified. |
Let me dive back into VS option pages (I haven't used them in a while). |
If you're free this weekend, we can work together on this. VS live share session? |
Sorry @deviousasti I missed this notif, I might have some availability next week-end or at evening (CET timezone). |
Regarding the I am still trying to find how to have the dynamic code example, looking at roslyn and some other repositories we might have to use a WPF page instead of WinForms. |
Oh, sorry, I forgot to explain. https://github.com/deviousasti/fsharp-formatting-for-vs/blob/bdb75fa49d01a3eb5b6f6a84ad5dcb71a634ca16/src/FantomasVsPackage.cs#L27 Adding a description attribute is one step forward, but it isn't sufficient for the Roslyn like experience. I've been working with WPF for 10 years now, so not a big deal. |
Yeah the only problem for me so far is just to be able to include a |
Yeah, that's probably a bit extreme for now. I have seen other extensions use AvalonEdit for displaying code, but that's a lot of stuff for this one feature. If the examples are simple enough, coloring needn't be an issue. |
Hey Asti, I'm afraid I can't really add anything useful here. Rider uses a custom editorconfig parsing thing, they added attributes for each setting as well: https://github.com/JetBrains/fsharp-support/blob/93ab17493a34a0bc0fd4c70b11adde02f81455c4/ReSharper.FSharp/src/FSharp.Psi/src/CodeFormatter/FSharpFormatSettingsKey.cs Ionide does not have any UI for the settings. Fantomas Online has a |
@deviousasti How would you like to proceed, I start some PR and we contribute together? Also I am wondering if you want to hardcode the various properties or if you want to actually read some configuration file and dynamically generate the settings page? |
Well, no we can have some custom attribute on each property and use reflection to generate our UI.
I made this so we can have our cake and eat it too. https://github.com/deviousasti/fsharp-highlighting |
As for your branch, would I have commit access? |
Sure! That's a really nice idea you had to create a separate project for the highlighting, this will make it easier to share this across the F# tools. |
Hello,
I am new to using this extension and I have just noticed that there is no description for the entries under
Visual Studio 2019
options:The text was updated successfully, but these errors were encountered: