v0.6.0
added
-
Improved variable analysis
- In an expression like
${A+'${B+"${F}"}'+'${D}'} ${C}
, every single 'inner' variable will be recognized, you can hover over it, it can be found as reference, you can go to the definition, ... - Also in python expressions like
${{$a+$b}}
variables are recognized - Support for variables in expression in IF and WHILE statements
- in something like
$i<5
the variables are recognized
- in something like
- Only the name of the variable is used for hovering, goto and ..., not the surrounding ${}
- In an expression like
-
Support importing variable files as module for RobotFramework 5
-
Depending on selected testcase names contains a colon, a semicolon is used as separator of prerunmodifier for executing testcases
- fixes #20
- note: i think you should not use colons or semicolon in testcase names ;-)
-
Improve Debugger
- The debugger shows variables as inline values and when hovering, it shows the current variable value not the evaluted expression
- Variables in the debugger are now resolved correctly and are sorted into Local/Test/Suite and Global variables
- Fix stepping/halt on breakpoint for IF/ELSE statements if the expression is evaluated as False
- Rework of stepping and stacktrace in the debugger
- Only the real steps are displayed in the stack trace
-
Optimize keyword matching
-
Ignoring robotcode diagnostics
- you can put a line comment to disable robotcode diagnostics (i.e errors or warnings) for a single line, like this:
*** Test cases *** first unknown keyword a param # robotcode: ignore Run Keyword If ${True} ... Log ${Invalid var # robotcode: ignore ... ELSE ... Unknown keyword No # robotcode: ignore
-
Propagate import errors from resources
- errors like:
Resource file with 'Test Cases' section is invalid
are shown at import statement - Note: Robocop has it's own ignore mechanism
- errors like:
-
Initialize logging only of "--log" parameter is set from commandline
- fixes #30
-
Optimize loading of imports and collecting keywords
- this addresses #24
- one of the big points here is, beware of namespace pollution ;-)
-
Full Support for BDD Style keywords
- includes hover, goto, highlight, references, ...