Closed danielHalan closed 6 months ago
Normally there should be at least some colour, even without the RobotCode Language Server being started.
What file extension do your RobotFramework files have? If it's not .robot
or .resource
then change it to this, only this extension are supported.
What do you mean with "Debug Arrows"?
Is the RobotCode extension installed but somehow disabled? You can also disable it in VSCode Extension. Just go to the extension view and then to RobotCode and check whether it is enabled.
otherwise please check if there are at least 2 entries starting with RobotCode in the output window.
There you can have a look if there are any errors. You can copy paste the output here, this can help me a little bit to find out if something is wrong.
Extension is Enabled, following is the Output on startup in "RobotCode" window,
Activate RobotCode Extension.
Try to activate python extension
Python Extension is active
create Language client: RobotCode Language Server mode=pipe for folder "Robot"
trying to start Language client: RobotCode Language Server mode=pipe for folder "Robot"
client for file:///c%3A/xxx/Tests/Robot starting.
client for file:///c%3A/xxx/Tests/Robot running.
client for file:///c%3A/xxx/Tests/Robot started.
executeRobotCode: C:\Python\python.exe -u -X utf8 c:\Users\DanielHalan\.vscode\extensions\d-biehl.robotcode-0.68.3\bundled\tool\robotcode --format json --no-color --no-pager --default-path . discover --no-diagnostics --read-from-stdin all -P . -P ./lib
executeRobotCode: exit code 0
executeRobotCode: C:\Python\python.exe -u -X utf8 c:\Users\DanielHalan\.vscode\extensions\d-biehl.robotcode-0.68.3\bundled\tool\robotcode --format json --no-color --no-pager --default-path . discover --no-diagnostics --read-from-stdin tests -P . -P ./lib --suite Tests.Robot.Web.01-Features.StealthMode.StealthMode CaseCard
executeRobotCode: exit code 0
Refer to the 'Start Debug" icon,
All files have the extension ".robot"
Have you installed any other extensions related to RobotFramework or robot files? If so, please uninstall them.
Have you changed the language mode for Robot files in VSCode? If you have a Robot file open, what does it say in the status bar? It should look like this:
You can undo the language mode by pressing F1 and then executing the change language mode command when you have a robot file open and select "Auto Detect"
And perhaps another important question: Has RobotCode ever worked with your VSCode installation before?
Thanks, the root cause was that VS Code didn't match .robot files to "Robot Framework" but was matched to "Robot" (potentially old setting)
After changing this setting all features are now enabled.
Please describe. After installing latest version of VS Code, Python, Robot and Robot Code, only can see the "Debug" Arrows, but all text is just plain Mono-color with no interactivity.
How to debug Robot Code to see what is causing the error?
Desktop (please complete the following information):