WordPress.org

Forums

Better File Editor
[resolved] add a "Beautify" Option? (2 posts)

  1. Michael Stursberg
    Member
    Posted 1 year ago #

    I was wondering if you can add a "Beautify" Option?
    Like: http://cssbeautify.com/

    https://wordpress.org/plugins/better-file-editor/

  2. Bryan Petty
    Member
    Plugin Author

    Posted 6 months ago #

    I just pushed an update that includes a very experimental, and frankly still unusable beautify feature built into the ACE editor. For what it's worth though, this seems to hint that this feature could become a reality in a future update.

    If you're interested in pushing this feature forward, consider getting involved in the ACE editor project where it's being developed:
    https://github.com/ajaxorg/ace/blob/v1.1.7/lib/ace/ext/beautify.js

    Right now it only formats PHP code, not CSS or anything else. Also, it's default key binding that provides access is not ideal since every browser already ties to that keyboard shortcut (Ctrl+Shift+B).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Better File Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic