-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the bug
When using Intellisense to auto complete a keyword: The list of available keywords includes keywords tagged with robot:private
. Keywords tagged like this should not be used outside the file where they are defined. Robot Framework userguide on the topic.
Steps To Reproduce
Steps to reproduce the behavior:
- Make a
.resource
file - Add 2 keywords to the file
- Tag 1 of the keywords with
robot:private
- Make a
.robot
file - Add a test
- Add the private keyword using Intellisense (autocomplete)
If possible add some example source code like:
# foo.resource
*** Keywords ***
Some Public Keyword
No Operation
Some Private Keyword
[Tags] robot:private
No Operation
# bar.robot
*** Settings ***
Resource ./foo.resource
*** Test Cases ***
My Amazing Test Case
Some P
- Place cursor after
P
- Hit
ctrl
+space
- Note that both keywords from
foo.resource
show up.
Expected behavior
Private keywords should not be suggested outside the file where they're created.
Screenshots/ Videos

Logs
N/A
Additional context
N/A
Desktop (please complete the following information):
- VS Code Version 1.103.1
- RobotCode Version 1.8.0
- OS: Windows
- Python Version 3.13.2
- RobotFramework Version 7.3.2
- Additional tools like robocop, robotidy: N/A
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Ready