We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent09bb049 commitf448785Copy full SHA for f448785
src/fsharp/service/ServiceAnalysis.fs
@@ -98,6 +98,12 @@ module UnusedOpens =
98
|:? FSharpMemberOrFunctionOrValueas fvwhen fv.IsExtensionMember->
99
// Extension members should be taken into account even though they have a prefix (as they do most of the time)
100
true
101
+|:? FSharpMemberOrFunctionOrValueas fvwhennot fv.IsModuleValueOrMember->
102
+// Local values can be ignored
103
+false
104
+|:? FSharpGenericParameter->
105
+// Generic parameters can be ignored, they never come into scope via 'open'
106
107
|_->
108
// For the rest of symbols we pick only those which are the first part of a long ident, because it's they which are
109
// contained in opened namespaces / modules. For example, we pick `IO` from long ident `IO.File.OpenWrite` because