Skip to content

Commit

Permalink
Add SymbolInformation.display_name (#158)
Browse files Browse the repository at this point in the history
* Add `SymbolInformation.display_name`

Towards #154

Previously, there was no reliable way to get the name of a symbol. You
could parse it from the symbol descriptor but that only worked for
global symbols (not locals) and was error-prone when the indexer chooses
to a special encoding in the symbol for some reason (for example,
all-lowercase because symbols are case-insensitive).

Now, clients can use `SymbolInformation.display_name` to reliably get
the name of a symbol to render in API docs or some other application.

* Add example for `display_name`.
  • Loading branch information
olafurpg authored May 25, 2023
1 parent 4e11295 commit c781a12
Show file tree
Hide file tree
Showing 5 changed files with 1,244 additions and 1,138 deletions.
Loading

0 comments on commit c781a12

Please sign in to comment.