robotcodedev / robotcode

RobotFramework support for Visual Studio Code
https://robotcode.io
Apache License 2.0
182 stars 15 forks source link

[Enhancement] Intellisense Does Not Work When Adding Keywords As Arguments In Built-In Keywords Such As "Run Keywords" #284

Open mikeserdena opened 2 months ago

mikeserdena commented 2 months ago

Describe the bug When I attempt to add a keyword as an argument to another keyword, IntelliSense only displays the documentation and information for the first keyword. For instance, in Robot Framework (RF), built-in keywords like Run Keyword or Run Keywords accept other keywords as arguments. It would be incredibly beneficial if IntelliSense could still provide keyword suggestions in this context, allowing us to easily select the appropriate keyword to add. This feature is especially important given the large number of keywords and libraries included in our project.

To Reproduce Steps to reproduce the behavior:

  1. Use the built-in keywords in RF that accept keywords as arguments

If possible add some example source code like:


***Settings***
Library  BuiltIn

***Test Cases***
a simple test
    Run Keywords    Test keyword   Test Keyword2

**Expected behavior**
Intellisense Provides Keyword Suggestions Like Normal. This is working in RoboCorp Code extension. 

**Desktop (please complete the following information):**
- VS Code Version 1.92.0
- RobotCode Version v0.83.3
- Windows and Linux
- Python Version 3.11.3
- RobotFramework Version 6.1.1
- robotidy
d-biehl commented 2 months ago

this is not implemented at the moment, so I changed it to an enhancement.

mpserdena commented 2 months ago

Thank you @d-biehl !!!