File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ message Document {
7676 // This field is typed as a string to permit any programming language, including
7777 // ones that are not specified by the `Language` enum.
7878 string language = 4 ;
79- // (Required) Unique path to the text document.
79+ // Unique path to the text document. Required for top-level documents, but
80+ // should be empty for `SymbolInformation.signature_documentation` values.
8081 //
8182 // 1. The path must be relative to the directory supplied in the associated
8283 // `Metadata.project_root`.
@@ -233,6 +234,8 @@ message Descriptor {
233234message SymbolInformation {
234235 // Identifier of this symbol, which can be referenced from `Occurence.symbol`.
235236 // The string must be formatted according to the grammar in `Symbol`.
237+ // This identifier must be unique within indexer output, unless it begins with
238+ // `local `, in which case it must be unique within the `Document`.
236239 string symbol = 1 ;
237240 // (optional, but strongly recommended) The markdown-formatted documentation
238241 // for this symbol. Use `SymbolInformation.signature_documentation` to
You can’t perform that action at this time.
0 commit comments