mIRC Home    About    Download    Register    News    Help

Topic Options
#265481 - 10/05/19 01:12 PM Script Editor: Collapsible Code Sections
mruno Offline
Ameglian cow

Registered: 10/12/02
Posts: 29
I know this probably would take some work, but it would be very beneficial if the script editor was collapsible for different code sections.
Example: If you paste some json code at https://jsonformatter.curiousconcept.com/ you can collapse it by section. See this imgur post to visualize what I am talking about.

Sections such as alias, raw, ON EVENTS could be set as collapsible and would help the readability for those of us with large scripts.
Thank you

Top
#265485 - 14/05/19 04:17 PM Re: Script Editor: Collapsible Code Sections [Re: mruno]
WKN Offline
Ameglian cow

Registered: 10/02/09
Posts: 20
I think mIRC is "mainly" an IRC client, not a code editor.

So in my opinion, it is most worthy Khaled is concentrated on that functionality than "wasting" time in functions for the buildin script tool.

If you want more, use an external editor to script.

Top
#265490 - 15/05/19 11:46 PM Re: Script Editor: Collapsible Code Sections [Re: mruno]
KindOne Offline
Fjord artisan

Registered: 23/02/11
Posts: 311
Have you tried mSLDev?

https://forums.mirc.com/ubbthreads.php/ubb/showflat/Number/241147/

It can only collapse the entire alias/OnEvent/whatever, not sections inside of them.

Development has stalled so anything added after December 2014 (like "on *:PARSELINE:{}") will give errors.

The download link on the front page has a version from March 2013.

If you want to try the latest version from December 2014: http://msldev.com/download/win/latest_build.zip
_________________________
irc.swiftirc.net #msl (mIRC Scripting Language)

Top
#265491 - 16/05/19 12:29 AM Re: Script Editor: Collapsible Code Sections [Re: KindOne]
Loki12583 Online
Hoopy frood

Registered: 22/01/04
Posts: 1268
The VS Code mIRC extension supports collapsing and has been updated to all keywords as of 2017, it's on github so you can fork as needed.

https://marketplace.visualstudio.com/items?itemName=lol2k.mirc
https://github.com/lol2k/vscode-mirc

Top