Open hellt opened 7 years ago
Hi! I think it should be doable. I'll investigate this.
I would love to see the syntax highlighting as seen on the official RF site: It has all the keywords/params/vars highlighted in a meaningful name
Because what I have now is a bit clumsy, keywords are not visually detached from named arguments, what makes it difficult to read for a non-robot person
I completely agree that the syntax highlighting is a bit limited for the moment. Thanks for providing that image for reference, that is what we should aim for.
Hi! I just released version 0.5.1 which has much more powerful syntax highlighting. Please give it a try and let me know if it's missing anything!
Thanks @tomi for quickly responding to that request! Awesome work, though I think some things we might improve. Lets see how different themes react to the following boilerplate
*** Test Cases ***
# Testing Comment
Sample Test Name
[Documentation] Example test
[Setup] Open Application App B
[Arguments] ${path}
[Tags] owner-mrx not_ready
${return}=Keyword Name ${org_admin} # unnamed variable
... scalar value # scalar value as positional arg
... password=cats # named arg with scalar
... cats_org_name=${org_name} # named arg with variable assigned
... cats_reuse=true # boolean type
[Teardown] NONE
${}
and the name of the var inside it? Kinda overcolored?[Arguments]
control world has different color scheme from [Documentation] and Teardownspassword=cats
parameter. Maybe we should color the named args somehow? Or color the variable value?*** Test Cases ***
control world has a color in the same pallete as scalars and named variablesMaterial Same comments for this theme
Sublime Material Theme
I thought that my favorite Ayu theme was the only one with an issue that *** Test Case ***
control world has the same problem of the same (or almost the same) color as test name
...
has.Thanks for 0.6.1 release
Now it looks quite good. Still cant say if the different color for ${}
symbols and the name of the variable looks harmonized
light one:
KW Highlighting is lost when doing variables assign by KW return value
Wondering if this is possible? Would make my test suites much more readable...