0 vote
Hi.
Re Syntax highlighting in SSH/terminal.
I am wondering would it be feasible to implement functionality of having Syntax Highlighting for different templates or per connection?
It would be nice to have multiple presets of Syntax highlighting which can be re-used in various parts when needed only.
So far I am finding Syntax Highlighting unusable for me since it is enabled globally for all SSH connections and I am working with both Network equipment and Linux servers so highlighting is a bit messy, but the most annoying thing is that when highlighting is enabled it very veeery slows down output in terminal, for example when I am doing cat or grep of any log files which sometimes are quite bulky my RDM just get frozen for 10-15 secs, then spits our portion of text, then get frozen again and so on... So for such kind of SSH connections it would be perfect to have Syntax Highlighting disabled, while for others enabled. And having various sets for different purposes.
OS: Macos 12.6
RDM: 2022.2.12.0
Hello,
I think we have had this request a few years ago to create syntax highlighting presets that can be used on the session-level rather than having it be global. I'll add your request to that ticket, and see if we can increase the priority.
As for the slowness issue, I will open a ticket so we can see if it's something we can improve.
Regards,
Hubert Mireault
Hi Hubert,
Just to add - it seems regex processing is slowing down output/rendering. For instance by even having this short regex it is slowing down output in terminal:
\w*[Ee]rr\w*|\w*[Ff]ail\w*|\w*[Cc]rash\w*
But I also tried to use more complex set of Syntax Highlighting profiles with 10+ rules which consists of long regex expressions, and they are just "hanging" RDM as I wrote in my initial post.
Thank you for the additional information, we will be sure to test performance with these kinds of configuration.
Regards,
Hubert Mireault
Any progressing on this requirement?
Hello,
Both the ticket for improving performance of syntax highlighting, and the ticket for having syntax highlighting presets are still opened. Unfortunately we don't have an estimate on when we will be able to work on this.
Regards,
Hubert Mireault
I'd just like to add a vote to this, as I've just discovered syntax highlighting, as my colleagues were telling me they have this in SecureCRT.
One other related feature/advantage to having the syntax highlighting per session/type is that it should take into account the terminal colours set on that session. For example, my global ANSI Red colour is 240, 77, 81 because that works great with my linux terminals. But for my Cisco terminals, I want 255, 85, 85 as that works better with the different background I have for Cisco sessions.
Also, I might not want the same words highlighted in Linux as I do in Cisco.
Hi
Just check again, any chance to priority this request? Syntax hightligh is quite different base on different devices. A global syntax highlight setting is not flexible enough to cover all the requirement.
Hello,
I will see if we can add this to a roadmap in the near future.
Regards,
Hubert Mireault
Hello,
Good news, we will have syntax highlighting profiles available starting with RDM 2024.2, coming in late June. You will be able to configure syntax highlighting profiles in the System Settings, and configure usage for them in your SSH Shell entry, either by linking directly to one, or by using the default profile configured there. Let us know if there's anything missing from the feature once you're able to try it out.
Regards,
Hubert Mireault
Hi,
Thanks sounds great! Thanks for the update.
Thanks team, good news