fsprojects-archive / zzarchive-VisualFSharpPowerTools

[ARCHIVED] Power commands for F# in Visual Studio
http://fsprojects.github.io/VisualFSharpPowerTools/
Apache License 2.0
310 stars 77 forks source link

Plugin disable itself for no apparent reason #1407

Open mastoj opened 7 years ago

mastoj commented 7 years ago

Description

The plugin gets disabled for no reason. So I don't get any of the help from FSharp Power Tools.

Repro steps

Don't know how to repro since I haven't seen this on any other machine. I could provide some logs if that is possible and you guide me.

Expected behavior

It shouldn't be disabled for no apparent reason.

Actual behavior

It should stay enabled.

Known workarounds

Enable it again and restart VS.

Related information

masq6r commented 7 years ago

I have such issue as well... Writing the code and all of a sudden the extension is disabled and the syntax highlighting works no more.

cloudRoutine commented 7 years ago

I noticed the extension was disabled after I installed resharper. Several other extensions were disabled as well. I suspect resharper is the cause.

masq6r commented 7 years ago

I noticed the extension was disabled after I installed resharper. Several other extensions were disabled as well. I suspect resharper is the cause.

I really doubt because I don't have Resharper installed.

dungpa commented 7 years ago

@CodEFouR @mastoj Could you try the workaround described at https://github.com/jaredpar/VsVim/issues/1804#issuecomment-230495041? It seems like a bug of Visual Studio itself.

masq6r commented 7 years ago

@dungpa Thanks for your response. Your quoted workaround fixes the issue, so far.

JanWosnitza commented 7 years ago

Reinstalling the plugin fixed it for me (at least for the moment ^^).

PS: The plugin still worked with some solutions but suddenly disabled itself on other solutions. Didn't recognize a pattern.

idg10 commented 7 years ago

After about 10 attempts to uninstall the extension failed, I ran this from the command line:

vsixinstaller /u:FSharpVSPowerTools.68b42cfe-c752-4094-8dba-ed48aa81cac8

That finally got rid of it, after which I was able to re-install, and it started working again.

idg10 commented 7 years ago

...but it still regularly disables itself. I've been running with the F# Power Tools content in the Output pane showing in the hope of catching the problem. But I'm now fairly sure that what actually happens is that it gets set into a state where VS thinks it's disabled, and so if you quit and restart VS, it's no longer available. So there doesn't seem to be an error message to report.

cloudRoutine commented 7 years ago

This has been happening to me as well, but in the larger context of vs2017 and vs2015 disabling each other's settings, often while both are running at the same time and I have no idea what to do about it.