Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delineate private functions from public functions #867

Closed
danielcompton opened this issue May 3, 2015 · 2 comments
Closed

Delineate private functions from public functions #867

danielcompton opened this issue May 3, 2015 · 2 comments
Milestone

Comments

@danielcompton
Copy link
Collaborator

The structure view of a Clojure namespace is really powerful, and one that I really like. It would be neat if it was able to show a different icon for public vs private functions. In ring.middleware.multipart-params most of the functions in the namespace are private, but the structure view uses the same (f) icon for all of them. I'm not sure if this level of customisation is available to you from IntelliJ though.

screenshot of intellij idea 4-05-15 10 06 23 am

@cursive-ide
Copy link
Owner

Yeah, it is, in fact IntelliJ has decorator icons for visibility - if you look at the structure for a Java class, they have the lock signifying private/protected. I can probably add that.

@cursive-ide
Copy link
Owner

Note to self: com.intellij.psi.impl.ElementPresentationUtil#addVisibilityIcon

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

No branches or pull requests

2 participants