MUSHcode Unformatter

Posted by Rashan2 on Wed 18 Jul 2001 02:47 PM — 2 posts, 13,707 views.

USA #0
Are there any plans to extend the capabilities of the Notepad window for formatting softcode? Specifically, I think what I'm looking for would be a builtin unformatting system that would take formatted softcode, strip out the comments, carrage returns, extra spaces and tabs, and send it to the world.

Optional features could include source control systems for logging of changes and revisions.

There are a couple of 'standard' unformatters out there for linux systems, including Unformat.pl writen by Adam Dray. Most of these are simply Perl or C scripts which do the deed for you. While I suppose it's possible to port one of these with the scripting capabilities of MUSHclient, I think a built-in one that used the same rules would be more intuitive and hopefully allow for additional functionality.

Thanks!

Rashan
Australia Forum Administrator #1
There is an unformatter built into the "paste to world" function. If you go to the Configuration screen -> Paste/Send -> Paste and then click on the Help button you can read about it.

The idea is that you work on your formatted code in the notepad, and then copy it to the clipboard and do a "paste to world" (Shift+Ctrl+V) and click the "commented softcode" box.