RIDE icon indicating copy to clipboard operation
RIDE copied to clipboard

private keywords support (keywords not shown in auto-complete)

Open yanne opened this issue 10 years ago • 6 comments

Originally submitted to Google Code by froschre... on 24 Jan 2013

Hi,

When creating keywords in Python libraries, internal functions can be marked with _ as the first character. These functions will then not be shown in RIDE's auto-complete keyword list. Something similar would be very helpful for internal keywords which are written in ROBOT resource files, so in case the keyword name starts with _, it should only be shown in auto-complete for usage inside the resource file, but not if an external ROBOT script is being edited using keywords from the resource file.

yanne avatar Jun 03 '15 06:06 yanne

Originally submitted to Google Code by @pekkaklarck on 24 Jan 2013

This feature needs to be first implemented in Robot: https://code.google.com/p/robotframework/issues/detail?id=430

yanne avatar Jun 03 '15 06:06 yanne

Actually, this needs no support from RF at all. We can just ignore keywords starting with _ coming from external sources. However, since this is not official syntax, we might do this via preferences.

yanne avatar Jun 07 '15 13:06 yanne

Hi,

What is the current status on this idea?

ajadach avatar May 31 '17 07:05 ajadach

I do not see much value in this proposal. Will wait for up votes on the issue to consider implementing.

HelioGuilherme66 avatar Mar 25 '20 21:03 HelioGuilherme66

Hi,

We still interested in this feature

Best regards, Artur

ajadach avatar Mar 26 '20 14:03 ajadach

Hi, I found this old issue before creating a new one and I would also be interested in this feature.

Since RF now supports marking keywords as "private" via tags (closed https://github.com/robotframework/robotframework/issues/430) I think RIDE should also respect this, i.e. not showing "private" keywords from resource files in auto-complete.

This can be useful if you maintain a big library of keywords and don't want your users to confuse keywords or call them out of order.

BR

p-zander avatar Apr 10 '24 15:04 p-zander