-
Notifications
You must be signed in to change notification settings - Fork 123
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
SemanticClassificationType should not be internal #696
Conversation
Yes, it should be fixed. FSAC has never had colorization functionality though. |
we don't use it for Ionide, but it has been there. I don't know if the other editor plugins make use of it
|
I believe they were turned off for performance reasons in VS.
…On 11 February 2017 at 18:46, Jared Hester ***@***.***> wrote:
we don't use it for Ionide, but it has been there. I don't know if the
other editor plugins make use of it
member __.GetExtraColorizations = checkResults.
GetExtraColorizationsAlternate()
<https://github.com/fsharp/FsAutoComplete/blob/master/src/FsAutoComplete.Core/CompilerServiceInterface.fs#L147>
there are a bunch of integration tests for them too
<https://github.com/fsharp/FsAutoComplete/tree/master/test/FsAutoComplete.IntegrationTests/Colorizations>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#696 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAj7yg_F3cW1SMDDu5ZMSLbPhydRoYCvks5rbgIhgaJpZM4L-NEe>
.
|
The old method returned classification for computation expression names and CE custom operations usages only. It was used in VFT 2015, but not in VFPT ('coz why if VFT used it anyway and we could not switch it off). VFPT has richer colorization code, but I don't like to port it to VFT, VFT uses a bit lower level and 10x simpler approach (which is exposed as this new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment? Why not remove it completely?
@dsyme, can we get NuGet release of this fix as soon as possible? :) |
How about grabbing it off the AppVeyor build? |
They want to use it in ionide and fsac. I think that should be a blessed
version then.
Am 13.02.2017 16:59 schrieb "Don Syme" <[email protected]>:
… How about grabbing it off the AppVeyor build?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#696 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNCX7ruQ6kTdFnYpaMyhBtVBdfKE0ks5rcH30gaJpZM4L-NEe>
.
|
Is this already merged back to Visualfsharp? |
@forki it's not needed there, but I think no. |
not needed - but we should keep it consistent. otherwise things will conflict and merge errors will happen. and doom. |
* fix fsi * fix fsi
In service.fsi
SemanticClassificationType
is marked internal yetis public and uses it as one of its return types, which makes this member unusable from FSAC and kills the colorization functionality.