Skip to content

Releases: robotcodedev/robotcode

v0.7.0

07 Mar 20:15
v0.7.0
b9f1ec6
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

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

v0.6.0

27 Feb 23:45
v0.6.0
17ebe8e
Compare
Choose a tag to compare

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
    • Only the name of the variable is used for hovering, goto and ..., not the surrounding ${}
  • 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

    • all keyword references also with embedded arguments + regex are found
    • ambigous embedded keywords are recognized correctly, also with regex
    • speed up finding keyword references
    • fix #28
    • addresses #24
  • 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
  • Initialize logging only of "--log" parameter is set from commandline

  • 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

12 Feb 11:39
v0.5.5
0937a1f
Compare
Choose a tag to compare

added

  • correct semantic highlightning for "run keywords"
    • now also named arguments in inner keywords are highlighted
  • correct handling of parameter names in "run keywords" and inner keywords
  • correct handling of resource keywords arguments

v0.5.4

11 Feb 21:28
v0.5.4
5ee1f96
Compare
Choose a tag to compare

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

10 Feb 07:30
v0.5.3
f1eabd7
Compare
Choose a tag to compare

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
  • 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

04 Feb 12:41
v0.5.1
faa3fb1
Compare
Choose a tag to compare

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

02 Feb 20:12
v0.5.0
2c8c46f
Compare
Choose a tag to compare

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.

v0.4.7

26 Jan 13:38
v0.4.7
c2b07af
Compare
Choose a tag to compare

added

  • hover/goto/references/highlight... differentiate between namespace and keyword in keyword calls like "BuiltIn.Log"
  • increase test coverage

v0.4.6

20 Jan 23:38
v0.4.6
0431391
Compare
Choose a tag to compare

added

  • some small fixes in completion, command line parameters and variable references

v0.4.5

18 Jan 23:32
v0.4.5
981e790
Compare
Choose a tag to compare

added

  • correct semantic highlight of variables and settings
  • completion window for keywords is now opened only after triggering Ctrl+Space or input of the first character