Home > OS >  Robot Framework-"Undefined Keyword" (VSC not reloaded as I CTRL S)
Robot Framework-"Undefined Keyword" (VSC not reloaded as I CTRL S)

Time:03-24

When i add a new keyword that's connected to my PO file in the Visual Studio Code, and I already have Resources code entered for previous keywords, when i add a new one, there is an error "Undefined Keyword", and then, if i enter ANOTHER same "Resources ./PO/Something.robot, so basically exactly the same as the one above it, the error disappears. Of course, also, if I save it with an error, I close VSC, and open it again, error is gone-So the bottom line, my VSC does not read the new state. Why is that?

Tried nothing special except the few things anyone else would try

CodePudding user response:

Please try to add code snippet or error logs to understand more better.It is so confusing.

CodePudding user response:

I've also been encountering this same issue. I guess it's easier to understand if one is experiencing the situation. I'm attaching an image which shows the unresolved newly added keyword reference. Perhaps this is a Robocorp extension issue?

Image of invalid reference from visual studio code.

  • Related