Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 10 of 10 total |
Project Manager sorting |
Thu, Nov 10 2016 11:18 AM | Permanent Link |
Trinione | Currently units are listed in the order they are added. Is there any way to order by unit name?
|
Thu, Nov 10 2016 12:03 PM | Permanent Link |
Raul Team Elevate | On 11/10/2016 11:18 AM, Trinione wrote:
> Currently units are listed in the order they are added. Is there any way to order by unit name? Not sure about auto sort but you can manually drag them around to reorder Raul |
Thu, Nov 10 2016 1:46 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | << Currently units are listed in the order they are added. Is there any way to order by unit name? >>
I've been back and forth on this - the issue is that, currently, moving around the units changes their order in the .wbp source code. In other words, the order that you see in the Project Manager reflects their order in the contains clause in the project source file. I would have to remove that "feature" in order to do alpha sorting. Tim Young Elevate Software www.elevatesoft.com |
Thu, Nov 10 2016 2:29 PM | Permanent Link |
Trinione | Raul wrote:
<< Not sure about auto sort but you can manually drag them around to reorder >> Thanks Raul. Dragging and dropping is fine with me. |
Thu, Nov 17 2016 10:30 AM | Permanent Link |
Trinione | HOWTO: Project Manager Sorting
---------------------------------------------------- Version: EWB 2.05 If you desire sorting here is how it can be done. Note: This HOWTO uses Notepad ++ with TextFX plugin. You can use an online list sorting option if you wish. 1) Open the project file. Go to 'Project | View Source. 2) Copy the class names after the 'contains'. 3) Paste the text into NotePad++. Be sure to replace the semi-colon on the last line with a comma. Or include one if you did not copy it from the EWB source file. 4) Place the cursor at the start of the file (Line 1 | Column: 1). 5) Go to Search | Replace (or hit Ctrl+H). 6) Set 'Find what' to a comma and one blank space, as in - ', ' (no quotes). Set 'Replace with' to a comma-space-backslash r, as in ', \r' (no quotes) Set 'Search Mode' to Extended Ensure 'Direction' is set to Down. Click 'Replace All' button. 7) To remove the blank lines, go to: 'Edit | Line Operations | Remove Empty Lines'. 8) To remove spaces to the start of lines, go to: 'Edit | Blank Operations | Trim Leading Space'. 9) Place the cursor at the start of the file (Line 1 | Column: 1). 10) Now, to sort the lines. Go to: TextFX | TextFX Tools | Sort lines case sensitive (at column)'. 11) Go to the last line and replace comma with a semi-colon. 12) Copy All lines from Notepad++. Paste into EWB projet source file right after the 'contains'. 13) Compile project to ensure all is well. Any errors would most likely be due to you not including closing semi-colon. 14) Close the project and re-open it. VOILA! Project Manager names are sorted! |
Thu, Nov 17 2016 10:48 AM | Permanent Link |
Matthew Jones | Trinione wrote:
> VOILA! Project Manager names are sorted! Yes, but alphabetically. Who wants that? 8-) I have mine sort of ordered by their "group". So a main form followed by the sub-forms, and any units they use. The units are typically sorted by the base classes and then the derived. What I'd really quite like is a group or folder hierarchy. Some way to organise them. I can see that would be awkward from a UI perspective though. Essentially, it would mean abandoning the default of ordering by "contains" and having an external control. -- Matthew Jones |
Thu, Nov 17 2016 8:30 PM | Permanent Link |
Trinione | "Matthew Jones" wrote:
<< Yes, but alphabetically. Who wants that? 8-) >> Hahaha. My app is heading toward 100 forms/units soon. When it got past 25 or so it became increasingly difficult to locate files quickly. Learning that the 'contains' area controlled the Project Manager ordering served me in good stead. |
Fri, Nov 18 2016 4:35 AM | Permanent Link |
Matthew Jones | Trinione wrote:
> My app is heading toward 100 forms/units soon Only a small project then? 8-) You made me check, and I'm currently at 111 forms/units and still about 20 to go I expect. EWB handles this quite well I think. Manual sorting is of course an option for anyone that cares. -- Matthew Jones |
Fri, Nov 18 2016 7:05 AM | Permanent Link |
Trinione | "Matthew Jones" wrote:
<< EWB handles this quite well I think. >> Creation Order is fine. Just shared a way one can get it done for Alphabetical order. I love the way EDB Manager has both sort by Creation Order and sort by Alphabetical Order. As Tim mentioned this would require some effort I don't think its issue enough as one can do this above method rather quickly in EWB. Much prefer Tim spends that time on components, IDE, the compiler etc. |
Fri, Nov 18 2016 7:14 AM | Permanent Link |
Trinione | "Matthew Jones" wrote:
<< I have mine sort of ordered by their "group". So a main form followed by the sub-forms, and any units they use. The units are typically sorted by the base classes and then the derived. >> << What I'd really quite like is a group or folder hierarchy. Some way to organise them.>> I forgot to mention that this comment made me wonder if Tim would allow Plug-Ins for the EWB IDE. Similar to how one can have Plug-Ins like GExperts in Delphi, or like in NotePad++ where there are a bunch of them. That certainly would open up the developer side of things. For example, I have a few utilities and components that I created that can be shared. Plug-Ins would be a great way to do so. |
This web page was last updated on Saturday, May 4, 2024 at 12:54 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |