Skip to content

Commit ea1ca5e

Browse files
committed
wip
1 parent 63ed60a commit ea1ca5e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

ReSharper.FSharp/src/FSharp.Common/src/Checker/FcsCheckerService.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ type FcsCheckerService(lifetime: Lifetime, logger: ILogger, onSolutionCloseNotif
146146
|> Seq.iter x.InvalidateFcsProject
147147

148148
member x.InvalidateFcsProjects(solution: ISolution, isApplicable: IProject -> bool) =
149-
use lock = ReadLockCookie.Create()
150149
if checker.IsValueCreated then
150+
use lock = ReadLockCookie.Create()
151151
solution.GetAllProjects()
152152
|> Seq.filter isApplicable
153153
|> Seq.iter x.InvalidateFcsProject

ReSharper.FSharp/src/FSharp.Common/src/Shim/TypeProviders/ExtensionTypingProviderShim.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ open JetBrains.ProjectModel
1111
open JetBrains.ProjectModel.Tasks
1212
open JetBrains.Rd.Tasks
1313
open JetBrains.ReSharper.Feature.Services.Daemon
14+
open JetBrains.ReSharper.Plugins.FSharp
1415
open JetBrains.ReSharper.Plugins.FSharp.Checker
1516
open JetBrains.ReSharper.Plugins.FSharp.Settings
1617
open JetBrains.ReSharper.Plugins.FSharp.TypeProviders.Protocol

rider-fsharp/src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@
105105
<action id="SendFsiRefs" class="com.jetbrains.rider.plugins.fsharp.services.fsi.SendProjectReferencesToFsiAction" icon="/icons/fsharpConsole.png">
106106
<add-to-group group-id="SolutionExplorerPopupMenu.Repl"/>
107107
</action>
108-
<action id="Rider.Plugins.FSharp.RestartTypeProviders" class="com.jetbrains.rider.plugins.fsharp.services.typeProviders.RestartTypeProvidersAction" icon="/icons/Fsharp.svg">
109-
<add-to-group group-id="ToolsMenu" anchor="after" relative-to-action="Rider.Plugins.FSharp.FsiGroup"/>
110-
</action>
108+
<action id="Rider.Plugins.FSharp.RestartTypeProviders" class="com.jetbrains.rider.plugins.fsharp.services.typeProviders.RestartTypeProvidersAction" icon="/icons/Fsharp.svg"/>
111109
</actions>
112110

113111
<project-components>

0 commit comments

Comments
 (0)