Skip to content

Releases: robotcodedev/robotcode

v0.89.1

11 Sep 20:55
v0.89.1
1eff140
Compare
Choose a tag to compare

Bug Fixes

  • Corrected parsing of OPTION tokens and variable resolving (5a8abf2)
  • Corrected completion of arguments after ... continuation line (377aa9d)
  • Dont show completion right after ... (f24f6a8)

Testing

  • Add some more regression tests (e2b3c4e)

v0.89.0

10 Sep 15:27
v0.89.0
161d8ab
Compare
Choose a tag to compare

Bug Fixes

  • Document highlight should only highlight real references not text references (a0c184a)

Features

  • Enable Robot Framework 7.1 support (6921c9a)
  • Variables start with a _ are no longer beeing reported as unused (afea114)

Refactor

  • Use lambda instead of functools.partial (1518f71)

    functools.partial with method is deprecated in Python 3.13

  • Fix some unused ignores for mypy (575bbff)

v0.88.0

07 Sep 22:08
v0.88.0
03ec286
Compare
Choose a tag to compare

Documentation

  • Introduce a script that generate the doc for cli tools (ecb5ec9)
  • Update some documentation about config and cli (84553c3)
  • Update readme (1e601e3)
  • Add a Tip&Tricks page (dd27480)

Features

  • cli: Disable console links for RF7.1 if running in VSCode terminal (5e83537)
  • config: Add console_links to robot.toml (3902937)
  • langserver: Corrected and generalized semantic tokenizing if OPTION tokens in except and while statements (d5a9339)

Testing

  • Corrected some regression tests (f4a5d41)
  • Add tests for RF 7.1 (cbe9fb2)

v0.87.0

29 Aug 21:43
v0.87.0
269fd4d
Compare
Choose a tag to compare

Bug Fixes

  • Correct installing colorama package (da28477)

    this is somehow lost in the lates version of click..

Features

  • cli: New command discover files (505f473)

    find all relevant robot framework files in a project.

  • discover: Add more colors and infos to discover commands (9e2d6f7)

v0.86.2

29 Aug 03:02
v0.86.2
5b3a96a
Compare
Choose a tag to compare

Bug Fixes

  • Correction of some type hints that prevent robot code from running with older Python versions (37e20e3)

v0.86.1

29 Aug 02:29
v0.86.1
5a0ee39
Compare
Choose a tag to compare

Documentation

  • Update about and remove playground (fd140d0)

v0.86.0

29 Aug 02:03
v0.86.0
c076b38
Compare
Choose a tag to compare

Bug Fixes

  • Change detection of win32 (13a9265)

  • Change detection of win32 (0dfbd94)

  • Correct vscodeignore file (461bfb1)

    I have over optimized the .vscodeignore file 🥶

Features

  • robotcode: Introduce support for .gitignore and .robotignore during test suite discovery (74fa480)

    Implemented support for .gitignore and .robotignore files in the discovery process of Robot Framework test suites and test cases.

  • robotcode: Introduce support for .gitignore and .robotignore during test suite discovery (022517f)

    Implemented support for .gitignore and .robotignore files in the discovery process of Robot Framework test suites and test cases.

v0.85.0

18 Aug 21:39
v0.85.0
721bcdc
Compare
Choose a tag to compare

Bug Fixes

  • langserver: Corrected coloring of test case/keyword names if names contains line continuations ... (a848a93)

Documentation

Features

  • langserver: Send full completion info if language client does not support completionItem/resolve (4cf0127)

v0.84.0

08 Aug 00:35
v0.84.0
23ec89e
Compare
Choose a tag to compare

Bug Fixes

  • debugger: Corrected handling of local variables in variables inspector (12ecdd4)

  • debugger: Corrected start debuggin in internalConsole (f3fbf20)

  • robot: Use casefold for normalizing and remove some local imports in VariableMatcher (04e12a7)

  • vscode: Remove attachPython from default launch.json config (8052f8d)

  • vscode: Only test cases are reported as queued, started and completed (f68b8e3)

    this corrects the number of successful/executed test cases in the upper area of the test explorer

Features

  • debugger: Added support for disabling the hiding of debugger threads/tasks. (049c905)

    By setting the ROBOTCODE_DISABLE_HIDDEN_TASKS environment variable to a value not equal to 0, the Robot Code debugger will not be hidden from the Debugpy debugger, allowing you to debug the Robot Code debugger itself.

  • Diagnostics modifiers (223ec13)

    Implement functionality to configure diagnostic error messages during source code analysis. Lines in the code with the # robotcode: marker are now interpreted as modifiers. The full structure of a modifier is # robotcode: <action>[code(,code)*]*.

    Allowed actions:

    • ignore: Ignore specified diagnostic codes.
    • hint: Treat specified diagnostic codes as hints.
    • warn: Treat specified diagnostic codes as warnings.
    • error: Treat specified diagnostic codes as errors.
    • reset: Reset the diagnostic codes to their default state.

    This implementation allows for the following:

    • Custom actions to be performed on specified diagnostic codes.
    • Enhanced control over which diagnostic messages are shown, ignored, or modified.
    • Flexibility in managing diagnostic outputs for better code quality and debugging experience.

    Usage details:

    • A diagnostic modifier can be placed at the end of a line. It modifies only the errors occurring in that line.
    • A modifier can be placed at the very beginning of a line. It applies from that line to the end of the file.
    • If a modifier is within a block (e.g., Testcase, Keyword, IF, FOR) and is indented, it applies only to the current block.

    Example usage:

    • # robotcode: ignore[variable-not-found, keyword-not-found] - Ignores the errors for variable not found and keyword not found.
    • # robotcode: hint[MultipleKeywords] - Treats the MultipleKeywords error as a hint.
    • # robotcode: warn[variable-not-found] - Treats the variable-not-found error as a warning.
    • # robotcode: error[keyword-not-found] - Treats the keyword-not-found error as an error.
    • # robotcode: reset[MultipleKeywords] - Resets the MultipleKeywords error to its default state.
    • # robotcode: ignore - Ignores all diagnostic messages .
    • # robotcode: reset - Resets all diagnostic messages to their default.

    Example scenarios:

    Modifier at the end of a line:

    *** Keywords ***
    Keyword Name
        Log    ${arg1}    # robotcode: ignore[variable-not-found]

    This modifier will ignore the variable-not-found error for the Log keyword in this line only.

    Modifier at the beginning of a line:

    # robotcode: ignore[keyword-not-found]
    *** Test Cases ***
    Example Test
        Log    Hello
        Some Undefined Keyword

    This modifier will ignore keyword-not-found errors from the point it is declared to the end of the file.

    Modifier within a block:

    *** Keywords ***
    Example Keyword
        # robotcode: warn[variable-not-found]
        Log    ${arg1}
        Another Keyword

    This modifier will treat variable-not-found errors as warnings within the Example Keyword block.

    Modifier using reset:

    # robotcode: error[variable-not-found]
    *** Test Cases ***
    Example Test
        Log    ${undefined_variable}
        # robotcode: reset[variable-not-found]
        Log    ${undefined_variable}

    In this example, the variable-not-found error is treated as an error until it is reset in the Another Test block, where it will return to its default state.

    Modifier to ignore all diagnostic messages:

    # robotcode: ignore
    *** Test Cases ***
    Example Test
        Log    ${undefined_variable}
        Some Undefined Keyword

    This modifier will ignore all diagnostic messages from the point it is declared to the end of the file.

    Modifier to reset all diagnostic messages:

    # robotcode: ignore
    *** Test Cases ***
    Example Test
        Log    ${undefined_variable}
        # robotcode: reset
        Another Test
            Some Undefined Keyword

    In this example, all diagnostic messages are ignored until the reset modifier, which returns all messages to their default state from that point onward.

v0.83.3

20 Jun 18:39
v0.83.3
5a846ab
Compare
Choose a tag to compare

Bug Fixes

  • config: Correct handling of string expression at building the command line in config model (0a85e3d)