All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog
-and this project adheres to Semantic Versioning.
-
+and this project adheres to Semantic Versioning.
-
+The Test Suites Explorer can be visible or hidden with F12 (View→View Test Suites Explorer). Pane can be made
+ floating or docked, by dragging or by double-clicking its top bar. See Release Notes for a workaround if you cannot make it visible.
+
-
+In File Explorer opening non-text files is done by the operating system registered app. Text files are opened in simple editor, or RIDE if valid types.
+
-
Fixed size fitting of folders tree in File Explorer.
-
-
Added context menu to File Explorer, to Open test suites directories or test suites files (also with double-click).
-
Added context menu option to Open Containing Folder, in operating system file explorer, or specific tool.
-
Added Config Panel button to File Explorer plugin. Here, you can set the operating system file explorer, or specify other tool, the Font style, and Colors.
-
-
Fixed persistence of the state docked/floating of File Explorer.
-
Fixed Cut (Ctrl-X) when editing the content of a cell in Grid Editor, before was deleting all content.
-
(2.2rc1 - 2025-09-25)
- Added Project Settings concept. The Project Settings is a file named ``ride_settings.cfg`` inside a directory named ``.robot`` located in the Test Suite directory. The search for this directory, is done upwards from the Test Suite directory. You can create an empty directory, ``.robot`` located in the Test Suite directory or any parent directory, and RIDE will create and use the ``ride_settings.cfg``. This way you can have different settings, like: colors, UI language, and Plugins settings. The most relevant example is the creation of different Run Profiles or Arguments, in Test Runner. When you open a Test Suite outside one with Project Settings, you will see a dialog to restart RIDE, to use the ``Global Settings``.
(2.1.5 - 2025-07-25)
- Added parsing of option *--name* or *-N* and *Name* setting, to allow running test suites with them set.
@@ -33,7 +38,7 @@
(2.1.3 - 2025-03-24)
- Added syntax colorization for the ``GROUP`` marker.
- Added on Text Editor, tab indentation markers and ``tab markers`` boolean setting with default ``True``.
-- Added on Text Editor, folding margin with markers style configurable with ``fold symbols`` in settings.cfg.
(2.2 - 2025-10-05)
+- Added on Text Editor, folding margin with markers style configurable with ``fold symbols`` in settings.cfg.
(2.2 - 2025-10-05)
- Fixed duplicated resources in Tree (Project Explorer).
(2.2rc1 - 2025-09-25)
- Fixed crash when renaming test cases names on Tree (Project Explorer), by cancelling with Escape or by adding a Space in the end.
@@ -61,7 +66,7 @@
- Fixed no recognition of keywords with embedded arguments and full name. Issue #1106 from 12 Sep 2012.
(2.1.1 - 2024-11-14)
- Fixed broken go to definition after editing content in resource files.
-- Fixed long arguments in fixtures appearing splitted in Grid Editor. Still, arguments info will not be correct at calling step.
(2.1.5 - 2025-07-25)
+- Fixed long arguments in fixtures appearing splitted in Grid Editor. Still, arguments info will not be correct at calling step.
(2.1.5 - 2025-07-25)
- Modified the action of key TAB when selecting from auto-suggestions list in Grid Editor. Pressing TAB, selects the item and continues in cell editor.
(2.1.4 - 2025-06-20)
- Improved vertical scroll in Grid Editor, by having main scroll bars out of cells
@@ -78,31 +83,31 @@
- Improved colorization for multiple Gherkin words, for example in the French language.
(2.1.1 - 2024-11-14)
- Changed the workflow for the development versions of RIDE. Now, development versions are taken from the ``develop`` branch, and the ``master`` will stay with released version.
-- Changed the way ``configobj`` code is imported. Now is a submodule obtained from https://github.com/DiffSK/configobj.
-
+- Changed the way ``configobj`` code is imported. Now is a submodule obtained from https://github.com/DiffSK/configobj.
-
Added Project Settings concept. The Project Settings is a file named ``ride_settings.cfg`` inside a directory named ``.robot`` located in the Test Suite directory. The search for this directory, is done upwards from the Test Suite directory. You can create an empty directory, ``.robot`` located in the Test Suite directory or any parent directory, and RIDE will create and use the ``ride_settings.cfg``. This way you can have different settings, like: colors, UI language, and Plugins settings. The most relevant example is the creation of different Run Profiles or Arguments, in Test Runner. When you open a Test Suite outside one with Project Settings, you will see a dialog to restart RIDE, to use the ``Global Settings``.
-
-
Fixed crash when renaming test cases names on Tree (Project Explorer), by cancelling with Escape or by adding a Space in the end.
-
Fixed missing text colorization in suites and test settings on Grid Editor.
-
-
Restored init and main scripts and texteditor, because some changes in Grid Editor were not being saved in Text
Editor and would be lost.
-
-
Fix faulty cell editor in settings of Grid Editor which would prevent to change to Text Editor and Run tabs.
-
-
Added parsing of option --name or -N and Name setting, to allow running test suites with them set.
-
Added indication of private keywords in Grid Editor, keywords will show in Italic, and with error
background, when they are used outside of Keywords section, or from different files.
-
Added indication of private keywords in Details pop-up for keywords with tag robot:private or name starting with underscore, _ in Grid Editor.
-
-
Modified the action of key TAB when selecting from auto-suggestions list in Grid Editor. Pressing TAB, selects the item and continues in cell editor.
-
-
Fix cursor position when editing cells in Grid Editor.
-
-
Fix broken installation of RIDE v2.1.4 by adding missing dependencies.
-
-
Added Tools→Library Finder… to install libraries and Help→Open Library Documentation… . They share the same dialog, and definitions are recorded in ``settings.cfg``.
-
Added context menu to install libraries and to open documentation in Grid Editor Import section. Same as above description.
@@ -121,7 +126,7 @@
-
Added divided Status Bar. Left side for main window, right side for Plugins. Working example in Text Editor,
when selecting in Tree shows the filename in StatusBar.
-
-
Improved vertical scroll in Grid Editor, by having main scroll bars out of cells
-
Changed arguments parser to allow ``--version`` and ``--help`` functional in Windows
@@ -131,17 +136,17 @@
Changed some informative dialogs and JSON Editor to use the customized colors.
-
Modified import statements to allow running RIDE without Robot Framework installed or versions older than 6.0.
-
-
Fixed Create Desktop Shortcut by pointing executable to ``python -m robotide``.
-
On Windows ignore false modification on files when opening Test Suites, causing confirmation dialog.
-
-
Added syntax colorization for the ``GROUP`` marker.
-
Added on Text Editor, tab indentation markers and ``tab markers`` boolean setting with default ``True``.
-
Added on Text Editor, folding margin with markers style configurable with ``fold symbols`` in settings.cfg.
-
-
Better Search element in Text Editor which allows to be cleared.
-
When saving in Text Editor, the cursor remains at position, instead of jumping to Tree selection.
@@ -153,7 +158,7 @@
Improved the recognition of BDD/Gherkin prefixes when localized in autocomplete on Grid Editor.
-
Improved colorization for multiple Gherkin words, for example in the French language.
-
-
Fixed white blocks on Tree due to failed animation when test execution is too rapid, causing crash on Windows.
-
Fixed not set text color on row labels in Grid Editor. Now the General ``secondary foreground`` is applied.
@@ -162,19 +167,19 @@
-
Regression fix from v2.1b1 - Fix wrong item selection, like Test Suite, when doing right-click actions in Project Explorer.
When right clicking over Tree elements, to, for example, expand or select tests, we want to keep the Editor in the same file or position.
-
-
Partial fix of no update of renaming resource prefixed keywords. Issue #1230 from 29 Jan 2013.
-
Fixed no recognition of keywords with embedded arguments and full name. Issue #1106 from 12 Sep 2012.
-
-
Changed the workflow for the development versions of RIDE. Now, development versions are taken from the ``develop`` branch, and the ``master`` will stay with released version.
-
Changed the way ``configobj`` code is imported. Now is a submodule obtained from https://github.com/DiffSK/configobj.
-
-
Fixed broken go to definition after editing content in resource files.
-
Fixed long arguments in fixtures appearing splitted in Grid Editor. Still, arguments info will not be correct at calling step.
-
(2.1 - 2024-10-13)
- Added a setting for a specific Browser by editing the settings.cfg file. Add the string parameter
``browser`` in the section ``[Plugins][[Test Runner]]``.
(2.1b1 - 2024-09-21)
@@ -229,7 +234,7 @@
- Added ``FOR`` scope markers (``IN``, ``IN RANGE``, ``IN ENUMERATE``, ``IN ZIP``) to auto-complete list
- Added support to read environment variable ``ROBOT_VERSION`` to apply some conditions.
- Added note on Test Timeout that **timeout message** is not supported since Robot v3.0.1
-- Added the note, 'Colors will be active after next RIDE restart.' to the Preferences of Test Runner.
(2.1 - 2024-10-13)
+- Added the note, 'Colors will be active after next RIDE restart.' to the Preferences of Test Runner.
(2.1 - 2024-10-13)
- Changed the order of insert and delete rows in Grid Editor rows context menu.
(2.1b1 - 2024-09-21)
- Allow to do auto-suggestions of keywords in Text Editor without a shortcut, if you want to enable or disable this feature you can config in `Tools -> Preferences -> Text Editor -> Enable auto suggestions`.
@@ -260,7 +265,7 @@
- Changed alias marker on library imports to consider variable ``ROBOT_VERSION``. If version is lower than 6.0, uses ``'WITH NAME'``, otherwise will use ``'AS'``
(2.0.3 - 2023-04-16)
- Allow to do auto-suggestions of keywords in Grid Editor without a shortcut, if you want to enable or disable this feature you can config in `Tools-> Preferences -> Grid Editor -> Enable auto suggestions`
-- Made ``\\n`` visible when editing cells in Grid Editor (problematic in Windows)
(2.1 - 2024-10-13)
+- Made ``\\n`` visible when editing cells in Grid Editor (problematic in Windows)
(2.1 - 2024-10-13)
- Fixed recognition of variables imported from YAML, JSON and Python files.
(2.1b1 - 2024-09-21)
- Fixed validation of multiple arguments with default values in Grid Editor.
@@ -308,18 +313,18 @@
- Fixed clearing or emptying fixtures (Setups, Teardowns), now removes headers and synchronizes Text Editor
- Fixed selection and persistance of colors in File Explorer and Project Tree panels
- Fixed not using defined color for help and HTML content
-- Fixed missing newlines in sections separation
(2.1a3 - 2024-07-22)
+- Fixed missing newlines in sections separation
(2.1a3 - 2024-07-22)
- Removed support for HTML file format (obsolete since Robot Framework 3.2)
-- Removed support for old Python versions, 3.6 nd 3.7.
-
+- Removed support for old Python versions, 3.6 nd 3.7.
-
Added color to Test Runner Console Log final output, report and log since RF v7.1rc1.
-
Added Korean language support for UI, experimental.
-
Added option ``caret style`` to change insert caret to
block or line in Text Editor, by editing ``settings.cfg``.
The color of the caret is the same as setting and will be adjusted for better contrast with the background.
-
-
Allow to do auto-suggestions of keywords in Text Editor without a shortcut, if you want to enable or disable this feature you can config in
Tools -> Preferences -> Text Editor -> Enable auto suggestions.
-
-
Fixed validation of multiple arguments with default values in Grid Editor.
-
Fixed on Text Editor when Saving the selection of tests to run in Test Suites (Tree) is cleared.
@@ -329,7 +334,7 @@
Fixed delete variable from Test Suite settings remaining in Project Explorer.
-
Fixed obsfuscation of Libraries and Metadata panels when expanding Settings in Grid Editor and Linux systems.
-
-
Added support for Setup in keywords, since Robot Framework version 7.0.
-
Added support for new VAR marker, since Robot Framework version 7.0.
@@ -370,7 +375,7 @@
Tooltips for the fields are always shown in English.
-
Colorization for language configured files is working in Text Editor.
-
-
Fixed multiline variables in Variables section. In Text Editor they are separated by … continuation marker.
In Grid Editor use | (pipe) to separate lines.
-
@@ -385,7 +390,7 @@
Fixed wrong continuation of long chains of keywords in Setups, Teardowns or Documentation
-
Fixed New User Keyword dialog not allowing empty Arguments field
-
-
Improved release packaging of RIDE, by using entry_points in setuptools configuration.
-
Parsing of clipboard content to separate by cells in Grid Editor. NOTE: Need to Apply Changes in Text Editor to be effective.
@@ -393,11 +398,11 @@
Improved selection of items from Tree in Text Editor. Now finds more items and selects whole line.
-
Changed output in plugin Run Anything (Macros) to allow Zoom In/Out, and Copy content.
-
-
Removed support for HTML file format (obsolete since Robot Framework 3.2)
-
Removed support for old Python versions, 3.6 nd 3.7.
-
-
Added auto update check when development version is installed
-
Added menu option ``Help→Check for Upgrade`` which allows to force update check and install development version
@@ -416,7 +421,7 @@
Added variables creation shortcuts (``Ctrl-1,2,5``) to fields Arguments in Grid Editor
-
Added support for JSON variables, by using the installed Robot Framework import method
-
-
Fixed escaped spaces showing in Text Editor on commented cells
-
Fixed resource files dissapearing from Project tree on Windows
@@ -434,7 +439,7 @@
Position of cursor in Text Editor auto-suggestions when line contains multibyte characters
-
Drag and drop of variables defined with comments between resource files
-
-
Improved keywords documentation search, by adding current dir to search
-
Improved Move up/down, ``Alt-UpArrow``/``Alt-DownArrow`` in Text Editor, to have proper indentation and selection
@@ -450,14 +455,14 @@
Improved keyword ``Find Usages`` to return more matches. Fails to find mixed spaces and ``_``
-
In Grid Editor ``Ctrl-Shift-4`` now replaces escaped spaces ``\\ `` by spaces
-
-
Added indication of matching brackets, ``()``, ``{}``, ``[]``, in Text Editor
-
Added context menu to RIDE tray icon. Options Show, Hide and Close
-
Added sincronization with Project Explorer to navigate to selected item, Test Case, Keyword, Variable, in Text Editor
Note: This feature is working fine in Fedora 38, but not on Windows and macOS.
-
-
Fixed non syncronized expanding/collapse of Settings panel in Grid Editor, on Linux
-
Fixed not working the deletion of cells commented with ``\# `` in Grid Editor with ``Ctrl-Shift-D``
@@ -471,17 +476,17 @@
Fixed title of User Keyword in Grid Editor always showing ``Find Usages`` instead of the keyword name
-
Fixed renaming keywords when they were arguments of ``Run Keywords`` in Setups and Teardowns
-
-
Improve Text Editor auto-suggestions to keep libraries prefixes.
-
-
Added boolean parameter ``filter newlines`` to Grid Editor with default ``True``, to hide or show newlines in cells
-
-
Changed ``tasks.py`` to test ``utest/application/test_app_main.py`` isolated from the other tests
-
Improve auto-suggestions of keywords in Grid Editor by allowing to close suggestions list with keys ARROW_LEFT or ARROW_RIGHT
-
Improve Text Editor auto-suggestions by using: selected text, text at left or at right of cursor
-
-
Added ``FOR`` scope markers (``IN``, ``IN RANGE``, ``IN ENUMERATE``, ``IN ZIP``) to auto-complete list
-
Added support to read environment variable ``ROBOT_VERSION`` to apply some conditions.
@@ -489,15 +494,15 @@
Added note on Test Timeout that timeout message is not supported since Robot v3.0.1
-
Added the note, Colors will be active after next RIDE restart. to the Preferences of Test Runner.
-
-
Changed alias marker on library imports to consider variable ``ROBOT_VERSION``. If version is lower than 6.0, uses ``WITH NAME``, otherwise will use ``AS``
-
-
Fixed auto-indent on block commands in Text Editor
-
-
Allow to do auto-suggestions of keywords in Grid Editor without a shortcut, if you want to enable or disable this feature you can config in
Tools-> Preferences -> Grid Editor -> Enable auto suggestions
-
Made ``\\n`` visible when editing cells in Grid Editor (problematic in Windows)
-
-
Fixed missing auto-enclosing when in Cell Editor in Linux
-
Fixed RIDE will crash when using third party input method in Mac OS
@@ -511,7 +516,7 @@
Fixed not using defined color for help and HTML content
-
Fixed missing newlines in sections separation
-
(2.0rc1 - 2023-02-26)
- Minimal support to accept `*** Comments ***` sections (unfinished code)
- Added insert and delete cells to Text Editor, by using ``Ctrl-Shift-I`` and ``Ctrl-Shift-D``
- Added move up and move down rows to Text Editor, by using ``Alt-Up`` and ``Alt-Down``
@@ -564,13 +569,13 @@
- Added enclosing text in Text Editor or selected text with certain symbols
- Added enclosing text in Grid Editor or selected text with certain symbols
- Added 8s timer to shortcut creation dialog on install
-- Added process memory limit on Messages Log
(2.0b2 - 2022-09-05)
+- Added process memory limit on Messages Log
(2.0b2 - 2022-09-05)
- Removed ``robotframeworklexer`` dependency and local copy
- Removed alignment flag on grid cell JSON Editor (Ctrl-Shift-J)
- Removed moving to keyword/variable definition when doing Double-Click in grid cell
(2.0b1 - 2020-07-26)
- Python 2.7 support
-- wxPython/wxPhoenix version conditioning
(2.0b3 - 2023-01-15)
+- wxPython/wxPhoenix version conditioning
(2.0b3 - 2023-01-15)
- Hiding items in Test Suites explorer with names starting with #
- Disabled the Close button on the Test Suites explorer
This was causing not being possible to restore it, unless editing the settings.cfg file.
@@ -599,7 +604,7 @@
- Changed icon background to white
- Made Project Tree and File Explorer panels, Plugins.
- wx.NewId() to wx.NewIdRef()
-- Separated AppendText for Messages Log
(2.0rc1 - 2023-02-26)
+- Separated AppendText for Messages Log
(2.0rc1 - 2023-02-26)
- Fixed blank Grid Editor at keywords with steps commented with ``\# ``, by using ``Ctrl-Shift-3 on Text Editor
(2.0b3 - 2023-01-15)
. Fixed low performance when opening large projects
@@ -673,7 +678,7 @@
- Fixed Settings editor
- Fixed blank Edit screen
- Fixed Runner arguments parsing
-- Fixed Runner Log window Chinese and Latin encoding chars on Windows
-
+- Fixed Runner Log window Chinese and Latin encoding chars on Windows
-
Minimal support to accept
*** Comments *** sections (unfinished code)
-
Added insert and delete cells to Text Editor, by using ``Ctrl-Shift-I`` and ``Ctrl-Shift-D``
@@ -681,30 +686,30 @@
Added move up and move down rows to Text Editor, by using ``Alt-Up`` and ``Alt-Down``
-
Added insert and delete rows to Text Editor, by using ``Ctrl-I`` and ``Ctrl-D``
-
-
Fixed blank Grid Editor at keywords with steps commented with ``\# ``, by using ``Ctrl-Shift-3 on Text Editor
-
-
Added swap row up, by using ``Ctrl-T``
-
Added commenting/uncommenting of content with ``\# ``, by using ``Ctrl-Shift-3`` and ``Ctrl-Shift-4``
-
Added support for editing .robot and .resource files with content before sections
-
-
Hiding items in Test Suites explorer with names starting with #
-
Disabled the Close button on the Test Suites explorer
This was causing not being possible to restore it, unless editing the settings.cfg file.
Other reason was to prevent user to closing it, after detaching the panel, and re-attaching,
which has a bug making the Tree not visible.
-
Fixed low performance when opening large projects
-
Fixed comment and uncomment in Grid Editor when cells contain more than one variables assignement
-
Fixed console log stopping to output certain characters, like chinese and latin
-
-
Added menu entry at Help → Offline Change Log to view this file on disk
-
Added skipped tests counter and corresponding colored icon on Project tree
@@ -772,13 +777,13 @@
When editing, Ctrl-Home and Ctrl-End move cursor to start and end of cell content respectively.
Added Del key to clear Grid Editor cell content when in navigation mode (clear like doing Ctrl-X)
--
Removed ``robotframeworklexer`` dependency and local copy
-
Removed alignment flag on grid cell JSON Editor (Ctrl-Shift-J)
-
Removed moving to keyword/variable definition when doing Double-Click in grid cell
-
-
Unit tests to use ``pytest`` and removed ``nose`` dependency. Support for Python 3.10 at unit test level.
-
Prevent expanding Tests and change selection on Project tree (when right-clicking)
@@ -808,7 +813,7 @@
Changed Enter button in navigation mode to start editing cell, and to move to right cell when in edit mode
-
Performance improvements for loading large test suites
-
-
Fixed missing menu icons on Linux (was working on Windows)
-
Fixed removal of animation in Project tree when test run is interrupted
@@ -881,7 +886,7 @@
Fixed RIDE startup crash when Tree or File Explorer plugins use opened=False setting
-
Fixed error occurring when deleting test cases on Tree
-
-
Added CHANGELOG.adoc
-
Added ignoring log.html and report.html on reporting HTML test suites
@@ -899,11 +904,11 @@
Added 8s timer to shortcut creation dialog on install
-
Added process memory limit on Messages Log
-
-
Python 2.7 support
-
wxPython/wxPhoenix version conditioning
-
-
Improved filesystem changes detection, with a confirmation dialog to reload workspace
-
Changed dependency on wx.Window on tree panel
@@ -917,7 +922,7 @@
wx.NewId() to wx.NewIdRef()
-
Separated AppendText for Messages Log
-
-
Fixed editing cells in Grid Editor on wxPython 4.1
-
Fixed not saving file after deleting text in Text Editor
@@ -977,12 +982,12 @@
Fixed Runner arguments parsing
-
Fixed Runner Log window Chinese and Latin encoding chars on Windows
-
-
wxPython version locked up to 4.0.7.post2.
-
diff --git a/src/robotide/application/application.py b/src/robotide/application/application.py
index 40dbe1b90..31aaa3f6f 100644
--- a/src/robotide/application/application.py
+++ b/src/robotide/application/application.py
@@ -15,7 +15,6 @@
import builtins
import os
-import psutil
import subprocess
import sys
@@ -65,7 +64,7 @@
FIVE_SPC = SPC*5
-def restart_RIDE(args:list):
+def restart_ride(args:list):
script = os.path.abspath(os.path.dirname(__file__) + '/../__init__.py') # This is probably a different signature
python = sys.executable
arguments = [python, script]
@@ -73,7 +72,7 @@ def restart_RIDE(args:list):
if a:
arguments.append(a)
# print(f"DEBUG: Application.py restart_RIDE arguments={arguments}\n")
- """
+ """DEBUG
try:
process = psutil.Process(os.getpid())
# process.terminate()
@@ -143,7 +142,6 @@ class Message:
from ..context import coreplugins, SETTINGS_DIRECTORY
from ..ui.treeplugin import TreePlugin
librarydatabase.initialize_database()
- # self.preferences = Preferences(self.settings, self.settings_path)
self.reload_preferences(Message)
self.namespace = Namespace(self.settings)
self._controller = Project(self.namespace, self.settings)
@@ -171,7 +169,6 @@ class Message:
f"{self.settings_path or os.path.join(SETTINGS_DIRECTORY, 'settings.cfg')}")
if not isinstance(e, IndexError): # If is with all notebooks disabled, continue
raise e
- # self.fileexplorerplugin = self.frame.fileexplorerplugin # FileExplorerPlugin(self, self._controller)
self.treeplugin = TreePlugin(self)
if self.treeplugin.settings['_enabled']:
@@ -238,13 +235,13 @@ def reload_preferences(self, message):
f"{FIVE_SPC}{FIVE_SPC}{FIVE_SPC}{FIVE_SPC}{FIVE_SPC}"
f"{project_or_normal_detected}{FIVE_SPC}\n\n"
f"{FIVE_SPC}{_('RIDE must be restarted to fully use these ')}{project_or_normal}"
- f"{FIVE_SPC}\n"f"\n\n{FIVE_SPC}{FIVE_SPC}{FIVE_SPC}{FIVE_SPC}{FIVE_SPC}"
+ f"{FIVE_SPC}\n\n\n{FIVE_SPC}{FIVE_SPC}{FIVE_SPC}{FIVE_SPC}{FIVE_SPC}"
f"{_('Click OK to Restart RIDE!')}{FIVE_SPC}{FIVE_SPC}{FIVE_SPC}{FIVE_SPC}{FIVE_SPC}"
f"\n\n", wx.GetActiveWindow(), no_default=False):
return False
args = [f"{'--noupdatecheck' if not self._updatecheck else ''}",
f"--settingspath {message.keys[2]}", f"{message.keys[3]}"]
- restart_RIDE(args)
+ restart_ride(args)
wx.CallLater(1000, self.OnExit)
# The next block was an attempt to reload plugins, in particular Test Runner to
# load the Arguments for the project. This did not work because the plugins are
@@ -354,7 +351,10 @@ def change_locale(self, message):
if message.keys[0] != "General":
return
initial_locale = self._locale.GetName()
- code = self._get_language_code()
+ try:
+ code = self._get_language_code()
+ except AttributeError:
+ code = wx.LANGUAGE_ENGLISH_WORLD
del self._locale
self._locale = wx.Locale(code)
if not self._locale.IsOk():
@@ -364,30 +364,33 @@ def change_locale(self, message):
wx.Locale.AddCatalogLookupPathPrefix(lpath)
self._locale.AddCatalog('RIDE')
if len(message.keys) > 1: # Avoid initial setting
- from multiprocessing import shared_memory
- from .restartutil import do_restart
new_locale = self._locale.GetName()
# print(f"DEBUG: application.py RIDE change_locale from {initial_locale} to {new_locale}")
if initial_locale != new_locale:
#if restart_dialog(): # DEBUG: See the in implementation why we don't restart
- # print("DEBUG: application.py RIDE change_locale Restart accepted.")
# Shared memory to store language definition
- try:
- sharemem = shared_memory.ShareableList(['en'], name="language")
- except FileExistsError: # Other instance created file
- sharemem = shared_memory.ShareableList(name="language")
- result = do_restart()
- if result:
- try:
- sharemem.shm.close()
- sharemem.shm.unlink()
- except FileNotFoundError:
- pass
-
- def _get_language_code(self) -> str:
+ self._manage_shared_lang()
+
+ @staticmethod
+ def _manage_shared_lang():
+ from multiprocessing import shared_memory
+ from .restartutil import do_restart
+ try:
+ sharemem = shared_memory.ShareableList(['en'], name="language")
+ except FileExistsError: # Other instance created file
+ sharemem = shared_memory.ShareableList(name="language")
+ result = do_restart()
+ if result:
+ try:
+ sharemem.shm.close()
+ sharemem.shm.unlink()
+ except FileNotFoundError:
+ pass
+
+ def _get_language_code(self): # -> Union[str, int]
if languages:
from ..preferences import Languages
- names = [n for n in Languages.names]
+ names = Languages.names
else:
names = [('English', 'en', wx.LANGUAGE_ENGLISH)]
general = self.settings.get_without_default('General')
@@ -484,8 +487,12 @@ def _get_latest_path(self):
def _get_recentfiles_plugin(self):
from ..recentfiles import RecentFilesPlugin
for pl in self.get_plugins():
- if isinstance(pl.conn_plugin, RecentFilesPlugin):
- return pl.conn_plugin
+ try:
+ plugin = pl.conn_plugin
+ if plugin and isinstance(plugin, RecentFilesPlugin):
+ return plugin
+ except AttributeError:
+ pass
def get_plugins(self):
return self._plugin_loader.plugins
@@ -503,36 +510,26 @@ def initialize_project_settings(self, path):
old_settings_dir = self.settings_path
# print(f"DEBUG: Project.py Project initialize_project_settings ENTER: path={local_settings_dir}")
if local_settings_dir and os.path.isdir(local_settings_dir):
- # old_settings = self.internal_settings.get_without_default('General')
- # old_bkg = old_settings['background']
local_settings = os.path.join(local_settings_dir, 'ride_settings.cfg')
self.settings_path = local_settings
if os.path.isfile(local_settings):
- # os.putenv('RIDESETTINGS', local_settings)
os.environ['RIDESETTINGS'] = local_settings
self.settings = RideSettings(local_settings)
- # print(f"DEBUG: Project.py Project initialize_project_settings EXISTING project settings "
- # f"{local_settings=} \nRIDESETTINGS={os.environ['RIDESETTINGS']}"
- # f"\nsettings={self.dump_settings()}")
else:
default = RideSettings()
settings_path = default.user_path
new_path = initialize_settings(path=settings_path, dest_file_name=local_settings)
- # print(f"DEBUG: Project.py Project initialize_project_settings NEW project settings new_path={new_path}"
- # f" local_settings={local_settings}")
self.settings = RideSettings(new_path)
- # new_settings = self.settings.get_without_default('General')
- # new_bkg = new_settings.get_without_default('background')
- # RideSettingsChanged(keys=('General', 'background'), old=old_bkg, new=new_bkg).publish()
else:
os.environ['RIDESETTINGS'] = ''
- # print(f"DEBUG: Project.py Project initialize_project_settings RETURNING: path={self.settings_path}")
if self.settings_path != old_settings_dir:
RideSettingsChanged(keys=('General', ), old=None, new=None).publish()
return self.settings_path
def dump_settings(self):
- keys = [items for items in self.settings]
+ keys = []
+ for items in self.settings:
+ keys.append(items)
values = [f"{val}={self.settings[val]}" for val in keys]
return values
diff --git a/src/robotide/application/releasenotes.py b/src/robotide/application/releasenotes.py
index f3a1f41b1..b91827ed8 100644
--- a/src/robotide/application/releasenotes.py
+++ b/src/robotide/application/releasenotes.py
@@ -150,16 +150,16 @@ def set_content(self, html_win, content):
RIDE (Robot Framework IDE)
{VERSION} is a new release with some enhancements and bug fixes. The reference for valid arguments is
- Robot Framework current version, 7.3.2. However,
+ Robot Framework current version, 7.4.1. However,
internal library code is originally based on version 3.1.2, but adapted for new versions.
-- This version supports Python 3.9 up to 3.13 (and also tested on 3.14 with wxPython 4.2.3).
+- This version supports Python 3.9 up to 3.14.
- There are some changes, or known issues:
- 🐞 - Rename Keywords, Find Usages/Find where used are not finding all occurrences. Please, double-check findings
and changes.
@@ -172,11 +172,16 @@ def set_content(self, html_win, content):
to Text Editor and back to Grid Editor, to restore normal behavior.
- 🐞 - In Files Explorer, when in floating window, the files tree is not always using all available space.
Do a small resize of window to redraw.
+- 🐞 - The Test Suites Explorer, may be visible or hidden with F12, or toggled floating/docked, but content may
+ disappear. You should try to make it reappear by toggling Files Explorer, F11, or by editing settings.cfg.
New Features and Fixes Highlights
+- The Test Suites Explorer can be visible or hidden with F12 (View->View Test Suites Explorer). Pane can be made
+ floating or docked, by dragging or by double-clicking its top bar.
+- In File Explorer opening non-text files is done by the operating system registered app.
- Added context menu to File Explorer, to Open test suites directories or test suites files (also with double-click).
- Added context menu option to Open Containing Folder, in operating system file explorer, or specific tool.
@@ -187,15 +192,15 @@ def set_content(self, html_win, content):
-
The minimal wxPython version is, 4.0.7, and RIDE supports the current version, 4.2.3, which we recommend.
+The minimal wxPython version is, 4.0.7, and RIDE supports the current version, 4.2.4, which we recommend.
Linux users are advised to install first wxPython from .whl package at wxPython.org, or by using the system package
manager.
The
CHANGELOG.adoc lists the changes done on the different versions.
-All issues targeted for RIDE v2.2 can be found
-from the issue
+All issues targeted for RIDE v2.3 can be found
+from the issue
tracker milestone.
Questions and comments related to the release can be sent to the
robotframework-users
@@ -207,7 +212,7 @@ def set_content(self, html_win, content):
Forum
if your problem is already known.
To install the latest release with pip installed, just run
-pip install --upgrade robotframework-ride==2.2.1.1
+pip install --upgrade robotframework-ride==2.2.2
to install exactly the specified release, which is the same as using
@@ -238,7 +243,7 @@ def set_content(self, html_win, content):
python -m robotide.postinstall -install
or
ride_postinstall.py -install
-RIDE {VERSION} was released on 08/December/2025.
+RIDE {VERSION} was released on 07/January/2026.