Skip to content

Commit

Permalink
Improves Move up/down in Text Editor (#2660)
Browse files Browse the repository at this point in the history
* Adds a scroll up to always show the selected item from Tree in Text Editor

* Fixes copying selected item from Tree to Search box in Text Editor

* Improves indentation in move_row_up/down in Text Editor. WIP

* Improve block indentation, add block move up/down. WIP for move up ...

* Move up complete, except minor indentation case

* Move up/down complete except cases with END

* Fixes indentation and selection in Move up/down in Text Editor
  • Loading branch information
HelioGuilherme66 authored Oct 17, 2023
1 parent d45ca67 commit a285e17
Show file tree
Hide file tree
Showing 6 changed files with 234 additions and 94 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Force Tags settings, after Robot Framework 7.0

=== Changed

- Improved Move up/down, ``Alt-UpArrow``/``Alt-DownArrow`` in Text Editor, to have proper indentation and selection
- Improved **RIDE Log** and **Parser Log** windows to allow Zoom In/Out with ``Ctrl-Mouse Wheel``
- Hide continuation markers in Project Tree
- Improved content assistance in Text Editor by allowing to filter list as we type
Expand Down
35 changes: 22 additions & 13 deletions src/robotide/application/CHANGELOG.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Changelog</title><link rel="stylesheet" type="text/css" href="docbook-xsl.css" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /></head><body><div xml:lang="en" class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="id1337"></a>Changelog</h2></div></div><hr /></div><p>All notable changes to this project will be documented in this file.</p><p>The format is based on <a class="ulink" href="http://keepachangelog.com/en/1.0.0/" target="_top">Keep a Changelog</a>
and this project adheres to <a class="ulink" href="http://semver.org/spec/v2.0.0.html" target="_top">Semantic Versioning</a>.</p><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_ulink_url_https_github_com_robotframework_ride_unreleased_ulink"></a>1. <a class="ulink" href="https://github.com/robotframework/RIDE" target="_top">Unreleased</a></h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_added"></a>1.1. Added</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem">Added auto update check when development version is installed
</li><li class="listitem">Added menu option ``Help->Check for Upgrade`` which allows to force update check and install development version
</li><li class="listitem">Added ``Upgrade Now`` action to update dialog.
</li><li class="listitem">Added Test Tags field (new, since Robot Framework 6.0) to Test Suites settings. This field will replace Default and Force Tags settings, after Robot Framework 7.0</li>
<li class="listitem">
and this project adheres to <a class="ulink" href="http://semver.org/spec/v2.0.0.html" target="_top">Semantic Versioning</a>.</p><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_ulink_url_https_github_com_robotframework_ride_unreleased_ulink"></a>1. <a class="ulink" href="https://github.com/robotframework/RIDE" target="_top">Unreleased</a></h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_added"></a>1.1. Added</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Added auto update check when development version is installed
</li><li class="listitem">
Added menu option ``Help→Check for Upgrade`` which allows to force update check and install development version
</li><li class="listitem">
Added ``Upgrade Now`` action to update dialog.
</li><li class="listitem">
Added Test Tags field (new, since Robot Framework 6.0) to Test Suites settings. This field will replace Default and
Force Tags settings, after Robot Framework 7.0
</li><li class="listitem">
Added content help pop-up on Text Editor by pressing ``Ctrl`` for text at cursor position or selected autocomplete list item
</li><li class="listitem">
Added Exclude option in context nenu for Test files, previously was only possible for Test Suites folders
Expand All @@ -15,8 +19,8 @@
Added variables creation shortcuts (``Ctrl-1,2,5``) to fields Arguments in Grid Editor
</li><li class="listitem">
Added support for JSON variables, by using the installed Robot Framework import method
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed"></a>1.2. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem">Fixed resource files dissapearing from Project tree on Windows
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed"></a>1.2. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Fixed resource files dissapearing from Project tree on Windows
</li><li class="listitem">
Fixed missing indication of link for User Keyword, when pressing ``Ctrl`` in Grid Editor
</li><li class="listitem">
Expand All @@ -31,11 +35,16 @@
Position of cursor in Text Editor auto-suggestions when line contains multibyte characters
</li><li class="listitem">
Drag and drop of variables defined with comments between resource files
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_changed"></a>1.3. Changed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem">Improved RIDE Log and Parser Log windows to allow Zoom In/Out with ``Ctrl-Mouse Wheel``
</li><li class="listitem">Hide continuation markers in Project Tree
</li><li class="listitem">Improved content assistance in Text Editor by allowing to filter list as we type
</li><li class="listitem">Improved file changes detection to only consider valid formats
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_changed"></a>1.3. Changed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Improved Move up/down, ``Alt-UpArrow``/``Alt-DownArrow`` in Text Editor, to have proper indentation and selection
</li><li class="listitem">
Improved <span class="strong"><strong>RIDE Log</strong></span> and <span class="strong"><strong>Parser Log</strong></span> windows to allow Zoom In/Out with ``Ctrl-Mouse Wheel``
</li><li class="listitem">
Hide continuation markers in Project Tree
</li><li class="listitem">
Improved content assistance in Text Editor by allowing to filter list as we type
</li><li class="listitem">
Improved file changes detection to only consider valid formats
</li><li class="listitem">
Improved keyword ``Find Usages`` to return more matches. Fails to find mixed spaces and ``_``
</li><li class="listitem">
Expand Down
3 changes: 2 additions & 1 deletion src/robotide/application/releasenotes.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ def set_content(self, html_win, content):
</ul>
<p><strong>New Features and Fixes Highlights</strong></p>
<ul class="simple">
<li>Improved Move up/down, <b>Alt-UpArrow</b>/<b>Alt-DownArrow</b> in Text Editor, to have proper indentation and selection</li>
<li>Added auto update check when development version is installed</li>
<li>Added menu option <b>Help-&gt;Check for Upgrade</b> which allows to force update check and install development version</li>
<li>Added <b>Upgrade Now</b> action to update dialog.</li>
Expand Down Expand Up @@ -246,6 +247,6 @@ def set_content(self, html_win, content):
<pre class="literal-block">
python -m robotide.postinstall -install
</pre>
<p>RIDE {VERSION} was released on 10/Oct/2023.</p>
<p>RIDE {VERSION} was released on 17/Oct/2023.</p>
</div>
"""
Loading

0 comments on commit a285e17

Please sign in to comment.