Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

SRP Editor Suggestion Box

Has SRP ever thought of grouping favorites via tabs at the top of the Favorites Bar or (preferably due to witdh considerations) collapsible header entries in the list that Procedures (etc.) can be attached to?

I am working on five projects at once at the moment and the list of files I attack frequently is getting quite long (requiring a decent scroll)!!

Comments

  • Yes, I've made that suggestion many times. However, I don't rank very high within our team so my suggestions always get shot down. ;-)
  • Give me a minute to create a few more forum accounts and lets see if we can *Bump* this a few dozen more times!
  • I keep putting this feature off in lieu of others, though I'm not sure why. I'd probably benefit the most considering how many OI products I work on. Consider it bumped, though I won't offer any specific ETA.
  • Hooray!!!



    Here's to you kind sir!!
  • @KevinFournier
    Since I have read in the forums that the Editor will be undergoing some work in the near future I thought I would bump this suggestion again as I was thinking about it just last week.

    And while I am here, have you ever given any thought to allowing vertical multi-panel editing?
    With UltraWide monitors these days, one could happily have 2 or 3 code window panels viewable at once across a screen!
  • @KevinFournier
    It has been a while so I thought I might give this one the obligatory bump for both the favorites grouping and multi-panel editing :)
  • Good timing as I am working on SRP Editor 4.0 as we speak. The Favorites panel is on my todo list. I've already discussed moving to a project-based panel with Don, and he's on board with the idea. Will that meet the need you're after?

    As for side-by-side code editing, I am still limited by the MDICLIENT window. I could possibly simulate it within the MDICLIENT window. I'll give it a look-see.
  • edited June 2024
    @KevinFournier.
    You are Legen.....wait for it..Dary. Legendary!!!

    Project based would be awesome. Would a single procedure be able to span multiple projects in this scenario?

    I know I am asking for a bit with side by side in OI. I am an UEStudio user for 2 decades and I think nothing of dragging a tab to do an immediate side by side. In fact, in the absence of doing that in OI, I copy code out to do exactly that. Then again, I also copy code like JSON to UES out to do Lint-ing etc so its not like I am goin to give up my supporting programs any time soon. It would be a nicety for sure but better favorite management is my #1 wishlist item!

  • Yes, you'll be able to have a procedure appear in any number of projects.

    I hear you. As a Visual Studio user, I'm used to doing easy side-by-sides as well. I'll be giving this some thought on how I might pull this off. No guarantees, but this idea is not being dismissed out of hand.
  • edited April 2025
    @KevinFournier.
    Obligatory 2025 bump for favorite grouping, or at least collapsible (and maybe re-orderable) Fav/Open headers.
    Also, I know that multi-panel editing was not prmoised but I wont give up hope on that either until you say so!

    Finally, a couple of new ones (though not strictly Editor but related in use)
    • Add an 'Export' function to get out the matching Table/Key/Line list from a Table search.
    • SRP_Date utility to have a "Unformat" option for completeness (this would basically be a wrapper for IConv the same way 'Format' wraps OConv). This would apply to DateTime and Time as well.
  • SRP_Date utility to have a "Unformat" option for completeness (this would basically be a wrapper for IConv the same way 'Format' wraps OConv). This would apply to DateTime and Time as well.

    So you want to be able to provide a date in virtually any format and be able to get an internal OI date back?
  • Well, that would be awesome but I needn't go that far ;-)

    I mean I know I can use
    OIDate = IConv(HumanDate, "[SRP_DATE]")
    or
    OIDate = IConv(HumanDate, "[HRM1_DATE,4]")

    but since I dont need to use OConv for the opposite transaction ....
    HumanDate= SRP_Date("Format", OIDate)

    I figured something like
    OIDate= SRP_Date("UnFormat", HumanDate)
    would be more consistent and read better. It also means SRP_DATE would be a onestop shop for everything date related.

    I was looking at it just using current locale but I can definately see the power in your suggestion!
    2 digit years, 4 digit years, UTC... the possibilities are endless!!!!


  • There is the Parse service.
  • There is indeed!

    I knew there was something for what I wanted and went looking, knowing it HAD to be there. I did glance at Parse on the Wiki and as soon as I looked at it I saw a table with year/month/day breakdown, I immediately confused it in my head with the Decode service and moved on without really reading it.

    I am going to be embarrassingly honest. I have used Parse before. A number of times. Probably why I knew something had to be there. Surprised when 'it was not'. Not at all surprised that I got it wrong though!!

    I do apologise for wasting your time @KevinFournier and @DonBakke.
    However, my other Suggestion Box items still apply :)
  • It really wasn't a burden. What programmer can honestly say they haven't been there.

    Your other bumps are not forgotten. The SRP Editor is undergoing some big changes and will take some time.
  • @kevinFournier

    I love using F12 to jump to a label. How about a reverse jump. Say F11 if it is available, takes me back to where the previous jump originated. I tried using bookmarks, but the code I am currently working on uses debug statements in all of the 'else' options on read writes, etc.

    Second request: a pair of edit lines to the right of the label dropdown at the top of the editor. Type an OI date into the left one, and the right one displays the humandate. And just the opposite if I type in a humandate first. I use the options in the pop-up menu all the time, but often I have to find someplace to type a date, and on occasion, I forget to delete it. Sigh, this getting old is tough....

    Thanks Kevin

  • I want the F11 option myself... one day hopefully.

    I appreciate the idea of a tool that can do conversions on demand, but I don't think having dedicated fields is the right approach. I'll ponder this one.
  • Thanks Kevin..... my mom always said take care of yourself first.... I will be watching for that F11 option soon. lol
  • @KevinFournier

    This post serves two purposes. First, the obligatory bump for Editor Favorites. 🙂

    Second, in the absence of improvements there, I’m trying to come up with a better way to manage my favourites. I’ve accumulated so many now that the feature has basically become pointless — it’s honestly quicker to just use File → Open. If everything is a favourite, then nothing is a favourite!

    My thought was to create a TCL procedure that could be run from within the Editor which simply opens a predefined set of procedures/inserts in the Editor.

    Something like:

    WILL_FAVS PROJECT1

    …which would automatically open the 10–15 procedures and inserts related to Project 1.

    I had a poke around but couldn’t find what I’d need in order to open items directly in the Editor, assuming it’s even possible.

    Is this possible?
  • There's a routine: SRP_EDITOR_OPEN(Type, ID, LineNumber). LineNumber is optional, but passing it opens to that line. Type can be:

    "Procedure" or "Insert" -- ID is the EntityID to open

    "Record" -- ID is Table:@FM:Row

    "DOS" -- ID is a path to a file
  • @KevinFournier.

    Only one response for that.


  • Hey Legend! I thought at one point you were considering a folder/file structure for the favorites. When working on different projects, it would be a good organizing tool, and being able to remove an entire folder would be a plus.
  • And one more thought... I have lots of these if I don't have to code them. :-) How about a link from within a licensed editor that would allow me to store my favorites AND my selected options on an SRP server? I would even pay a small fee for that ability. Working remotely is a royal PIA every time a client decides to change their setup.
Sign In or Register to comment.