We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc864ca commit a671e10Copy full SHA for a671e10
bindings/go/scip/testutil/format.go
@@ -128,6 +128,12 @@ func FormatSnapshot(
128
}
129
130
if info, ok := symtab[occ.Symbol]; ok && isDefinition {
131
+ if info.Kind != scip.SymbolInformation_UnspecifiedKind {
132
+ b.WriteString(prefix)
133
+ b.WriteString("kind ")
134
+ b.WriteString(info.Kind.String())
135
+ }
136
+
137
for _, documentation := range info.Documentation {
138
// At least get the first line of documentation if there is leading whitespace
139
documentation = strings.TrimSpace(documentation)
0 commit comments