Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limitation on suggesting a list of keywords by the tag #1009

Open
Pawci3oo opened this issue Dec 7, 2023 · 0 comments
Open

Limitation on suggesting a list of keywords by the tag #1009

Pawci3oo opened this issue Dec 7, 2023 · 0 comments
Labels
enhancement New feature or request robotframework-ls

Comments

@Pawci3oo
Copy link

Pawci3oo commented Dec 7, 2023

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.

@Pawci3oo Pawci3oo added enhancement New feature or request robotframework-ls labels Dec 7, 2023
@Pawci3oo Pawci3oo changed the title Limitation of suggesting a list of keywords by the tag Limitation on suggesting a list of keywords by the tag Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request robotframework-ls
Projects
None yet
Development

No branches or pull requests

1 participant