Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Distinguish between public and private function display in Elixir #187

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

scottming
Copy link

Elixir always returns the function kind, both private and private functions, but their names are not the same.

https://github.com/elixir-lsp/elixir-ls/blob/master/apps/language_server/test/providers/document_symbols_test.exs#L79

I know this is less scalable, so if there is a better way, I hope you guys can give me some direction.

But in general, it works well, and I think it's important to distinguish between public and private functions because we tend to care more about public functions, while private functions contain more implementation details.

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant