Visual Studio Code Editor for RobotFramework

Hello,

Can we use Visual Studio Code Editor for Robot framework test automation.

If so, could you please let me know the procedure on how to link Visual Studio code with robot framework.

i have installed bot visual studio code and robot framework in my machine, but dont know how to go forward, link both and work.

2 Likes

Hi,

Robot Framework is text based and will read *.robot and *.resource files.

There are two interesting Plugins for VSCode.

I would recomment to work with
Robot Framework Language Server
https://marketplace.visualstudio.com/items?itemName=robocorptech.robotframework-lsp

This is unter active development right now and improves from time to time. It has also a possibility to execute robot tests.

An older but also quite good Plugin is
Robot Framework Intellisense FORK
https://marketplace.visualstudio.com/items?itemName=Snooz82.rf-intellisense

This is a fork the original Robot Framework Intellisense Plugin, with some bugfixes and imporvements.
This has also some nice features, but over time the first one will be better.

5 Likes

I’m a huge fan of the language server. It has made development and debugging (and linting) in VS Code for Robot Framework so much better!

Hi,

Thanks for the recommendations!

I’m actually planning to work with Robot Framework, but when I tried to install those two extensions, they were no longer available in the VS Code marketplace. Are they deprecated or removed?

If any alternative extensions provide similar features (syntax highlighting, IntelliSense, test execution, etc.), I’d appreciate any suggestions.

Thanks!

Hi,

You can use RobotCode which is really nice:

Regards
Charlie