Skip to content

Commit 8a81d4e

Browse files
Vasily KirichenkoVasily Kirichenko
authored andcommitted
add SynPat.Named to navigable items
1 parent a1548bf commit 8a81d4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/fsharp/vs/ServiceNavigation.fs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ module NavigationImpl =
133133
| _ -> (lid, m)
134134
[ createMemberLid(lidShow, kind, icon, unionRanges rangeMerge m) ]
135135
| SynPat.LongIdent(LongIdentWithDots(lid,_), _,_, _, _, _), _ -> [ createMemberLid(lid, FieldDecl, iIconGroupConstant, unionRanges (List.head lid).idRange m) ]
136+
| SynPat.Named (_,ident,_,_,r), _ ->
137+
[ createMemberLid([ident], FieldDecl, iIconGroupConstant, r)]
136138
| _ -> []
137139

138140
// Process a class declaration or F# type declaration

0 commit comments

Comments
 (0)