Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: New ERM Editor
Thread: New ERM Editor
Bersy
Bersy


Honorable
Supreme Hero
posted January 15, 2020 10:33 PM bonus applied by Maurice on 16 Jan 2020.
Edited by Bersy at 23:29, 15 Jan 2020.

New ERM Editor

New ERM Editor



The EPM editor was developed on the basis of the beautiful and highly functional Sublime Text editor.
(It is highly recommended to familiarize yourself with the site of the editor developer, where many features of the software product are illustrated in the form of gif animation)

Main features:
-) Support for multiple cursors / selections allows you to edit a large number of document locations simultaneously.
-) Built-in Python plugin system and package manager.
-) Visual mini-map of the document, a panel with a file tree.
-) Ability to organize files into projects, search for hundreds of files at the same time.
-) Fast fuzzy search by IDs, ads, files. Go to function declarations.
-) Powerful autocomplete support based on any words found in opened files.
-) Sessions, AutoSave sessions, splitting of the working window into subwindows.
-) Search and replace by regular expression and more.

EPM support features:
-) Full syntax highlighting, including interpolated variables (%Y2), function and label names, macros, etc.
-) Quick input of triggers by "_xx" + ENTER and "on" + ENTER.
-) Quick input of receivers by " xx "+ ENTER, for example "UN"=>"!!UN:".
-) The autocompletion of Era event names.
-) Tooltips, allowing to jump to function declaration when hovering over the function name. Does not work for functions with dots in the name, but works the name selection + F12.
-) Support for snippets "if", "ife" for quick input of conditions, "exi", "exif", "exifo" for quick input of exit conditions from the trigger.
-) "For" snippet for quick input of loop with counter.
-) Quick jump to named triggers by CTRL + R.
-) Quickly navigate through open files and project files using CTRL + P.
-) Quick jump to any line by CTRL + G.
-) And other…

The editor will be distributed as part of the Era installer.
You can buy a license to disable registration reminders on the developer's website.

Download: link (14 MB)
Download only EPM support files for Sublime Text: link (7 KB)
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Baronus
Baronus


Promising
Supreme Hero
posted January 16, 2020 05:14 PM

This can be helpfull.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
gamemaster
gamemaster


Adventuring Hero
posted January 16, 2020 06:44 PM

Good Job!

Did quick look and all seem ok to me.
Just one minor note: clear recent opened file list in your distribution. ^^

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted January 16, 2020 08:45 PM

Already cleaned right after release, thanks. Will be ok in Era package.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Zur13
Zur13

Tavern Dweller
posted February 21, 2020 05:29 PM

Good job!

One small suggestion, in a lot of my scripts I'm using asterisk symbols to comment receivers, but they looks too bright. For example, this line looks bright white while it commented out:

*!IF&v6390>-1:M^L.side hero %V6390 recalls Armageddon^;

I'd prefer the commented lines to look dimmed like the end line comments. I've added this rule into erm.sublime-syntax to fix it

   - match: '*'
     scope: comment.line.erm
     push:  comment


 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted February 21, 2020 06:18 PM

In most languages comments start with some character or character combination.
*!IF:M is not a comment technically, but just currently not recognized and skipped characters. Maybe it's forgotten command, maybe misspelling. Who knows? There were cases of broken commands left with this asterisks. Thus I prefer to highlight everything, that is not intentionally marked as comment with ; prefix.

Anyway, you already made a solution for own needs
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0329 seconds