v0.93.0
Bug Fixes
- Logging of measure_time if log is disabled (725c739)
- Enable supportsANSIStyling in DAP to reeanble colored output in debug console (0d5616c)
- Corrected highlightning invalid sections for RF7 (d139ff1)
Features
-
cli: New command line interface tool - Robot Framework REPL interpreter (be386d2)
The new CLI command
replintroduces an interactive Robot Framework interpreter. You can install it by runningpip install robotcode[repl]and start it via the command line usingrobotcode repl.With this interactive interpreter, you can execute Robot Framework keywords without the need to run a full test suite. By default, all BuiltIn keywords are immediately accessible. To load a library, you can use the
import librarykeyword, and for resources or variable files, you can use the corresponding built-in commandsimport resourceandimport variables. The outcome of any keyword execution, along with relevant log details, is displayed directly in the console.You can exit the interpreter using the
exitkeyword or by pressingCTRL+Don Unix-like systems andCTRL+Zfollowed byENTERon Windows.At this stage, the implementation is fairly basic, but additional features for the REPL command are planned. This also serves as the first step toward an exciting new feature (spoiler alert!): Robot Framework Notebooks.
-
debugger: Increase timeouts for debugger to fit better to python debugger timeouts and introduce environment variables to override these timeouts (63f3e4a)
-
langserver: Resolve variable in hover for documentation settings in testcases and keywords (ffa9bdb)
-
vscode: Introduce RobotCode: Start Terminal REPL command for launching the interactive Robot Framework interpreter directly from VSCode (f4025fb)
-
Improved logging with time information (27d21b5)
- Operations that take a little longer now have an indication of how long they took
- 2 new command line switches
--log-formatand--log-style, see also the Python logging documentation
-
--rootcommand line argument to specify a project root and disable autodetection of project root (add4102) -
Add
--no-vcscommand-line option to ignore VCS directories (e.g., .git) when detecting the project root (d7e28f2)#closes 201
Performance
- langserver: Speedup semantic highlightning a lot (567ac72)
Refactor
- Some performance tweaks (d3b39be)