-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
This is completely correct. Robot Framework is very context-dependent. You can switch the entire language of Robot Framework files to Chinese, Spanish, or any other language, or you can transform simple test cases into template test cases. This is only possible because the syntax itself is analyzed first — something that basic syntax highlighting alone cannot do. Also, there is no mapping based purely on file types. Instead, there is one mapping per language, and each language knows which files it can handle. |
Beta Was this translation helpful? Give feedback.
This is completely correct.
First, the "standard" simple default syntax highlighting is applied, without any contextual information.
Once the language server starts, it adds additional semantic highlighting — for example, marking whether something is an import, a namespace, a built-in keyword, documentation, and so on. The exact appearance depends on the color theme you are using, so this can vary.
Robot Framework is very context-dependent. You can switch the entire language of Robot Framework files to Chinese, Spanish, or any other language, or you can transform simple test cases into template test cases. This is only possible because the syntax itself is analyzed first — something that …