I don’t use VS Code myself, but I hear there is more than one robot framework plugin for VS Code, so it would be prudent to mention which one you are using.
Are you expecting that the robot framework plugin for VS Code that you are using will validate all resource files referenced in your current robot file as well as any referenced in those resource files, etc etc?
Is this listed as a feature of the plugin you are using?
Sorry my reply is probably not much help, but you haven’t given enough information for anyone to help you.
First thing Robot Framework Language serve extension is not actively developed anymore.
Ref: Slack
Solution:
First add extension: RobotCode - Robot Framework Support
for RobotCode Extension you simply have to switch the DiagnosticsMode. Search in the VSCode Settings for the setting robotcode.analysis.diagnosticMode and switch it to workspace .
By default, this setting is set to openFilesOnly , as the workspace-wide analysis can slow things down somewhat.
If you are using another extension, check the settings of the extension to see if there is something similar.
Yes Sachin, personally I use VS Code with Robot Code from Daniel Biehl and this works great.
Also I tried to installed the Language server extension (not compatible with robot code at the same time), and indeed the editor was in wreck…