VS Code extensions: LSP 1.9.0 / Robocorp Code 1.1.0 / Warning regarding VSCode 1.75.0
Note: VSCode 1.75.0 has a major issue related to handling keybindings. Please keep to VSCode 1.74.3 until VSCode 1.75.1 is available.
Robot Framework Language Server
New features
-
Code action: Surround with try..except.
-
Code action: Surround with try..except..finally.
-
Interactive Console: (Robot Framework 4 onwards): When a single keyword call is executed and it has a non-None return, its return value is printed.
-
Interactive Console: Typing a variable in the
Interactive Consoleshows that variable. #871 -
Improve
IF/WHILE/Run Keyword Ifsnippet completions to make it a bit clearer that python expressions are expected. -
Building the model of the flow explorer no longer times out and a progress dialog is shown while building it.
-
robot.libraries.blacklistcan be used to blacklist libraries which should never appear in code-completion. -
Deprecated libraries:
robot.libraries.deprecatedcan be used to mark libraries as deprecated.- Keywords from deprecated libraries will not appear in the auto-import code-completion (so, they'll only be available if the
Libraryis added to theSettings). - Libraries which start with
*DEPRECATED*in its doc are also considered deprecated. - Keywords from libraries marked as deprecated will be shown as deprecated.
-
Requesting completions right after
Librarieswithout any additional name will show completions for all known (pre-loaded) libraries. -
Completions for variables are shown without having to enter
$nor${.
Bugfixes
-
Properly report about undefined variable in
RETURN. #865 -
References to variables used in
Evaluatearguments are now properly collected. -
Don't show completion for the variable being currently defined in variable assign.
Robocorp Code
-
If the
TEMPfolder being used in the environment is removed the extension properly deals with it. -
Inspector upgrades:
- Browser Actions Recorder: Improvements in performance and other bug fixes.
- Browser Actions Recorder: Auto-scroll for the keyword list.
- Browser Actions Recorder: Code Editor no longer readonly (note: still indifferent to user changes as it will always update).
- Browser Locator: Fixed buttons not displaying if no matches available.
- Improved approach to close the browser and app window.