New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Code unformatter built-in with keystroke to send #475

BlackRookSix opened this Issue Jun 5, 2017 · 0 comments


None yet
1 participant

BlackRookSix commented Jun 5, 2017

I would love to see a feature that allows you to past formatted (tabs, line returns, comments) mushcode into the input window, and an alt-enter (or similar) keybinding strips out the following before sending to the MU*:

  • removes line returns (both \n and \r\n types),
  • removes extraneous white space (tabs and multiple spaces at beginning of line),
  • removes all text after a configurable comment marker (#, @@, ##, etc)

This text is stripped through the above rules, which compacts it into a MUSH-readable single line of text, then sent to the game.

This would enhance Potato to be a coder's platform, eliminating steps to unformat text before pasting into the send window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment