Closed tchudobova-cen69317 closed 1 month ago
There as been some update to disabling diagnostic in a release 0.84.0
You can now disable rule by rule for the whole suite file, rather than disabling all diagnostics.
Yet I guess in your case it would be interesting to be able to configure this for the whole project rather than for each test suite.
thanks @gohierf I was just about to write that too ;-)
@tchudobova-cen69317 have a little patience, I'm currently working on making it work project-wide via the robot.toml.
Thanks @gohierf for the hint, as for now, I am able to at least disable it in each file with # robotcode: ignore[MultipleKeywords]
in the Settings
section. Not pretty but works!
@d-biehl thanks for an immediate reply, amazing news! Looking forward to that 🦾
Is your enhancement request related to a problem? Please describe. In
Robot Framework Language Server
there is an option to disable multiple keyword definitions in the project with{ "robot.lint.keywordResolvesToMultipleKeywords": false }
insettings.json
. While disabling rules can be tricky, we use this (experimental) approach in projects with both mobile and web test automation. Bypassing this rule would allow us to convert to RobotCode.Describe the solution you'd like Have an option to bypass
robotcode.namespace(MultipleKeywords)
rule insettings.json
orrobot.toml
.Describe alternatives you've considered Only viable alternative (for now) seems to be using Robot Framework Language Server.
Additional context Thank you for looking into this! 🦾