Add Server Definition to LSP Support Preferences > Languages & Frameworks > Language Server Protocol > Server Definitions
Select Executable and select the robotframework-ls executable in the python bin or scripts folder.
As alternative you could use the path to python executable in Path field and -u <path to repo>/src/robotframework_ls in the Args field.On windows use \ instead of / in these paths
Download TMLanguage definition
The TMLanguage is the definition file to get s proper syntax highlighting. This is completely independent from LSP and code completion itself.
Download this file and put it in a directory where it can stay.
Add robotframework.tmLanguage to TextMate Bundles
Add the folder where the tmLanguage file is saved in. Not the file directly
Worth mentioning is that if you are trying to run lsp on Mac, lsp might be failing because it tries to open a lot of files and and default 256 open filehandles is running out… To fix this temporarily, ulimit -n 4096 on shell might help.
Hi @aaltat, on step #4 i am getting next error :
Can’t start server, please check settings
Cannot run program “C:\Python36\Lib\site-packages\robotframework_ls”:
CreateProcess error=5, Access is denied
Invalid Login with Invalid User
[Setup] Start Session ${BROWSER_NAME} ${TEST_NAME} ${BUILD_NAME}
Open Login Page
Login As Invalid User
Is Login Error Displayed
[Teardown] End Session ${TEST_STATUS}
After running Reformat code it became
Invalid Login with Invalid User
[Setup] Start Session ${BROWSER_NAME} ${TEST_NAME} ${BUILD_NAME}
Open Login Page
Login As Invalid User
Is Login Error Displayed
[Teardown] End Session ${TEST_STATUS
}