robotframework-lsp
robotframework-lsp copied to clipboard
"Mandatory argument missing: default" warning when using "Get from dictionary"
Describe the bug
After upgrading to roboframework 7.0, when I run the lint feature against a file containing Get from dictionary
, I get the warning Mandatory argument missing: default
To Reproduce Run lint against the following file:
*** Settings ***
Library Collections.py
*** Test Cases ***
Sandbox
&{my_dict}= Create dictionary key=value
${my_value}= Get from dictionary ${my_dict}
Log ${my_value}
Expected behavior No warning should be reported
Versions:
- OS: Ubuntu 20.04
- Robot Framework Version: 7.0
- Robot Framework Language Server Version: 1.11.0
- Client Version: VSCode 1.85.1
@fabioz is there any chance to get a new release with this fix, because it prevents us to migrate to RF7 peacefully?
@nicolasbillamboz-flowbird unfortunately there are no plans to tackle this...
Robocorp is transitioning to be Python 1st (https://robocorp.com/blog/python-for-automation-as-code), so, while it'll still support Robot Framework in its platform (because it's a framework that runs on Python), it's no longer pushing forward to develop projects which target Robot Framework specifically (and that includes Robot Framework Language Server
).
So, if you need this and are willing to make a PR then yes, it'll appear in a release, but otherwise that won't be supported unless someone else from the community steps up to implement that (note that PRs are still accepted and security issues will still be tackled at least until Jan/2025).
This is a sad news for RF community. RFLS and related extension are the best tools in the RF ecosystem... Thanks for the reply.