robotframework-lsp
robotframework-lsp copied to clipboard
Limitation on suggesting a list of keywords by the tag
Is your feature request related to a problem? Please describe. Currently, If I import a resource file, then all nested resource files are imported, and all keywords from these resource files. Sometimes it's hard to find an appropriate keyword in the suggested list. I would like to limit the list of suggested keywords in the Test Suite where tests are written.
Describe the solution you'd like Keywords can be tagged, so this could be useful for limiting keyword list. I propose to add a setting where I can provide tags to limit suggestions of keywords during test writing. For files where there are keyword implementations should stay as it is, depending on imported Resources. If the file contains keywords and tests then should stay as it is. It would improve code completion and searching for appropriate keywords.
Example:
Settings: Suggest keywords with these tags in test suites: Main Keywords
File with keywords implementation:
Keyword Main
Do something
Keyword Helper
[Tags] Main Keywords
Keyword Helper
Do something different
[Tags] Helper Keywords
Test suite:
Test1
Keywo <--- (only Keyword Main is suggested)
Describe alternatives you've considered I didn't find any solution/workaround for this.