Skip to content

Commit 9412967

Browse files
committed
[dotnet] File structure: use language extension points instead of file type ones
Fixes file the new structure popup not working for non-default file types (fsx, fsi). Fixes RIDER-103952, RIDER-124197 GitOrigin-RevId: 7de131487149ab2fc835fe2c3fd0779f691f1de2
1 parent 8d86c22 commit 9412967

File tree

1 file changed

+2
-2
lines changed
  • rider-fsharp/src/main/resources/META-INF

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@
4747
<programRunner order="first" implementation="com.jetbrains.rider.plugins.fsharp.services.fsi.runScript.FSharpScriptFsiRunner" />
4848
<projectModelViewExtensions implementation="com.jetbrains.rider.plugins.fsharp.projectView.FSharpProjectModelViewExtensions"/>
4949
<psi.referenceContributor language="F#" implementation="com.jetbrains.rider.ideaInterop.fileTypes.fsharp.psi.FSharpWebReferenceContributor" />
50-
<rdclient.codeStructureTextAttributeProvider filetype="F#" implementationClass="com.jetbrains.rider.fileStructure.RiderTextAttributeProvider"/>
50+
<rdclient.codeStructureTextAttributeProvider language="F#" implementationClass="com.jetbrains.rider.fileStructure.RiderTextAttributeProvider"/>
5151
<rider.ProjectTypesProvider implementation="com.jetbrains.rider.projectView.projectTypes.FSharpProjectTypeProvider" />
5252
<rider.debuggerSupportPolicy language="F#" implementationClass="com.jetbrains.rider.debugger.RiderDebuggerSupportPolicy" />
53-
<rider.extendedCodeStructure filetype="F#" implementationClass="com.jetbrains.rider.plugins.fsharp.fileStructure.FSharpExtendedFileStructureSupport"/>
53+
<rider.extendedCodeStructure language="F#" implementationClass="com.jetbrains.rider.plugins.fsharp.fileStructure.FSharpExtendedFileStructureSupport"/>
5454
<rider.run.dotNetProfileConsoleViewProvider implementation="com.jetbrains.rider.plugins.fsharp.services.fsi.runScript.FSharpScriptConsoleViewProvider"/>
5555
<runConfigurationProducer implementation="com.jetbrains.rider.plugins.fsharp.services.fsi.runScript.FSharpRunScriptConfigurationProducer"/>
5656
<runLineMarkerContributor language="F#" implementationClass="com.jetbrains.rider.plugins.fsharp.services.fsi.runScript.FSharpRunScriptMarkerContributor"/>

0 commit comments

Comments
 (0)