boakley / robotframework-hub

Web app for accessing robot framework assets
https://github.com/boakley/robotframework-hub/wiki
Apache License 2.0
170 stars 60 forks source link

hub should optionally ignore "private" keywords #16

Open boakley opened 10 years ago

boakley commented 10 years ago

Keywords can't be defined as "public" or "private", but it would sometimes be nice to make that distinction. For example, if I have a keyword Foo that uses a keyword Bar, and this is the only place Bar is ever or should ever be used, I don't want Bar showing up in search results. There should be a way of hiding these "private" keywords.

A convention used in python code is to use a leading underscore to denote methods as "private". Perhaps the hub should use a similar convention, ignoring keywords that begin with a leading underscore.