robotcode icon indicating copy to clipboard operation
robotcode copied to clipboard

[ENHANCEMENT] Add Quick Fix options for non-existing Keywords

Open manykarim opened this issue 2 years ago • 2 comments

When using a Keyword which does not exist, RobotCode correctly shows an error. There is no option for a Quick Fix

Add Quick Fix options for non-existing Keywords. e.g.

  • [x] Add Keyword to current file
  • [ ] Add Keyword to existing .resource file (and suggest the .resource files currently loaded by Test Suite)
  • [ ] Add Keyword to new .resource file

If possible, also consider the number of arguments which were passed to the non-existing keyword. As a result, a dummy Keyword shall be created. It shall only contain the [Arguments] entry and a dummy step , like Log <Keyword Name> or Pass

manykarim avatar Aug 31 '22 15:08 manykarim

I think something like Fail Not Implemented ist maybe better for the content, what do you think?

d-biehl avatar Aug 31 '22 16:08 d-biehl

Yes, that would make more sense. 👍

manykarim avatar Aug 31 '22 16:08 manykarim