Releases: robotcodedev/robotcode
v0.7.0
added
- Add
dryRun
property to launch configuration - Add "Dry Run" and "Dry Debug" profile to test explorer
- You can select it via Run/Debug dropdown or Right Click on the "green arrow" before the test case/suite or in test explorer and then "Execute Using Profile"
- Mark using reserved keywords like "Break", "While",... as errors
- Support for NONE in Setup/Teardowns
- Decrease size of extension package
- Sligtly correct displayName and description of VSCode package, for better relevance in Marketplace search
- See here #39
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, ...
v0.5.5
v0.5.4
added
- Keyword call analysis
- shows if parameters are missing or too much and so on...
- Highlight of named arguments
- Improve handling of command line variables when resolving variables
- Remove handling of python files to reduce the processor load in certain situations
v0.5.3
added
-
Resolving static variables, closes #18
- RobotCode tries to resolve variables that are definied at variables section, command line variables and builtin variables. This make it possible to import libraries/resources/variables with the correct path and parameters.
Something like this:
*** Settings *** Resource ${RESOURCE_DIR}/some_settings.resource Library alibrary a_param=${LIB_ARG} Resource ${RESOURCE_DIR}/some_keywords.resource
- If you hover over a variable, you will see, if the variable can be resolved
- RobotCode tries to resolve variables that are definied at variables section, command line variables and builtin variables. This make it possible to import libraries/resources/variables with the correct path and parameters.
-
show quick pick for debug/run configuration
- if there is no launch configuration selected and you want to run code with "Start Debugging" or "Run without Debugging", robotcode will show you a simple quick pick, where you can select a predefined configuration
-
some cosmetic changes in updating Test Explorer
-
correct handling of showing inline values and hover over variables in debugger
-
correct handling of variable assignment with an "equal" sign
-
add more regression tests
v0.5.1
added
- extend README.md
- added section about style customization
- extend feature description
- added file icons for robot files
- starting with VSCode Version 1.64, if the icon theme does not provide an icon for robot files, these icons are used
- add automatic debug configurations
- you don't need to create a launch.json to run tests in the debugger view
- correct step-in FINALLY in debugger
- test explorer activates now only if there are robot files in workspace folder
v0.5.0
added
- Added support for RobotFramework 5.0
- Debugger supports TRY/EXCEPT, WHILE,... correctly
- (Semantic)- highlighter detects new statements
- Formatter not uses internal tidy tool
- handle EXPECT AS's variables correctly
- Complete new statements
- Some completion templates for WHILE, EXCEPT, ...
- Discovering tests is now more error tolerant
- Semantic tokenizing now also detects ERROR and FATAL_ERROR tokens
- some cosmetic corrections in discoring tests
note: RobotFramework 5.0 Alpha 1 has a bug when parsing the EXCEPT AS statement,
so the highlighter does not work correctly with this version.
This bug is fixed in the higher versions.