Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Highlight public methods #70

Open
dnascimento opened this issue Nov 17, 2015 · 2 comments
Open

Highlight public methods #70

dnascimento opened this issue Nov 17, 2015 · 2 comments

Comments

@dnascimento
Copy link

Would be awesome to highlight the public methods, i.e. those starting with upper-case. When I look to a source-code file, I want to see its interface quickly

@svanharmelen
Copy link
Contributor

👎 for me... I hear you, but I believe that is a personal preference and not a Golang standard.

At least I never saw a syntax package making that kind of distinction between private and exported funcs/methods.

And if we would go up this road it would mean we should make a few more changes in order to keep things consistent. As not only funcs and methods can be either private or exported, but types, vars, consts (and maybe others) can too.

@mbenkmann
Copy link

Regardless of whether Atom decides to highlight exported methods by default, could you please add a class to distinguish them in go.cjson.

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

No branches or pull requests

3 participants