WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Code Editor
[resolved] Great Plugin - Suggestions (14 posts)

  1. nvg
    Member
    Posted 2 years ago #

    This plugin is excellent, syntax coloring and line numbering is exactly what I was looking for. Search & replace also added bonus. 5 stars!

    My wish list for next version:

    • Clear the text entry box when doing a Ctrl-F find. It leaves the last text in there so it would be nice to just be able to hit Ctrl-F and start typing your new search term.
    • Hot keys for indenting code blocks
    • Add a few user preferences such as whether tabs are spaces or actual tab characters, how many spaces a tab equals, etc.

    Great work!
    http://wordpress.org/extend/plugins/advanced-code-editor/

  2. Sebastian Cork
    Member
    Posted 2 years ago #

    I believe that everyone could definitely benefit from those added suggestions.

  3. JUP
    Member
    Posted 2 years ago #

    Firstly, this is a brilliant plugin... Was looking for something like this for a while before finding it...

    I agree with all of the changes suggested above, so i won't bother repeating them.

    Some more adjustments that could really enrich the plugin are as follows:

    • One thing that has changed in the latest version is that you can't see the template name of the php page anymore, which can sometimes be a really useful identifier when you don't remember what filename you used.
    • In full screen mode, and actually just generally, it would be great if you could select the template from a drop down list in the tool bar.
    • Another thing would be if you could select a global default theme as opposed to having to reselect Ruby Blue every time (I like dark backgrounds ;p).
    • I just checked out a plugin called 'Solid Code Editor', which lacks all the great functionality of ACE, but what it does have which would be very very useful is a one click download of the entire theme compressed into a zip file. This would eliminate the need for constantly backing up manually and would be incredibly useful.
    • It would be great to have a little menu that sat in the sticky admin toolbar with a link to the editor and perhaps a dropdown of the php templates so that you could access the code from anywhere on the site immediately
    • Similarly, it would be great if the download zip link was also repeated in the admin bar as it would be nice to reflexively backup the theme at the touch of a button from anywhere on the site
    • Thank you for taking the time to build this useful plugin...

      5 stars indeed... and 6 stars if you implement the above!

  4. Bainternet
    Member
    Plugin Author

    Posted 1 year ago #

    @nvg,

    Clear the text entry box when doing a Ctrl-F find. It leaves the last text in there so it would be nice to just be able to hit Ctrl-F and start typing your new search term.

    It works that way since when you look for something you usually look for it again, what i can do is select the currently entered text when you hit CRTL+F (just like Firefox).

    Hot keys for indenting code blocks
    Add a few user preferences such as whether tabs are spaces or actual tab characters, how many spaces a tab equals, etc

    sound good, will look into it.

    @jtree

    you can't see the template name of the php page anymore

    You can, just hover over the files.

    In full screen mode, and actually just generally, it would be great if you could select the template from a drop down list in the tool bar.

    Could easily implement this feature, but the whole point of full screen edit is less distractions, so maybe.

    Another thing would be if you could select a global default theme

    Its already Working like that but you need to have cookies enabled in your browser for that to work, but if I'll implement some kind of options panel I'll move it there and work with database saved options instead.

    one click download of the entire theme compressed into a zip file

    Already have that and for plugins as well with the ability to download a single file or entire theme/plugin.

    Link in admin menu

    nice but not safe so its a big no no and same goes for download link.

  5. JUP
    Member
    Posted 1 year ago #

    Thanks for the response Bainternet

    I noticed that you added the download file and download zip options... These are great... But the download zip doesn't appear to work for me on any of the sites I'm using it on? On Chrome or Firefox for that matter.

    In terms of the template names, I knew that you could hover over the files, it just feels like one extra step. I still think it would be useful to have the template name, even if it's really small just underneath the filename.

    I'm not sure if it would take up much space having a dropdown menu that allowed you to select the template. Aagain, it was a point mainly about UX really, in the sense that you have to close full screen mode to get to other files. Trying to save as many precious seconds in my workflow...

    Options panel sounds great.

    Anyway, thanks for the useful plugin... Makes our lives a lot easier!

  6. mharpen
    Member
    Posted 1 year ago #

    Is there any way to shorten the height of the editor window. I always have to scroll the browser window up and down. Seems odd that the height of the editor box doesn't adjust based on my browser window size. I use 1280 resolution screen with no toolbars in ie9. It would be nice if the toolbar icons and the editor would fit in the viewport without having to keep scrolling the browser window. TIA

  7. mharpen
    Member
    Posted 1 year ago #

    I'll try again.. Is there any way to force the editor window box size to a smaller height? The height is too large on my 1280x1024 screen. I have to keep scrolling the browser viewport to see the bottom or top of the editor window. Anyone please?

  8. Bainternet
    Member
    Plugin Author

    Posted 1 year ago #

    @mharpen,

    If you have a question then please open your own thread and don't highjack others.

    as for your question it's a known issue with codemirror and ie9 so change browser.

  9. Bainternet
    Member
    Plugin Author

    Posted 1 year ago #

    Short Progress on update:

    Version 2.0 is about to roll out in a few hours which includes:

    • Codemirror Js update to 2.2 .
    • Editor CodeFolding.
    • Settings panel with few Codemirror settings.
    • Toggle file tree on/off
    • Comment code out/in (with hot keys)
    • Auto format and indenting code (with hot keys)
    • Few new editor buttons
    • Built-in version control
    • JS and CSS files are now called using wp_enqueue_script/style
    • Code cleanup
    • Better theme download functionallty
    • and a few more
  10. Bainternet
    Member
    Plugin Author

    Posted 1 year ago #

    updated!

  11. JUP
    Member
    Posted 1 year ago #

    The new version looks really cool... File tree toggle is sweet!

    Few bugs in Chrome or Firefox... (WordPress v3.4.1)

    • The full screen option now spreads across the menu bar (seems like the background isn't loading)...
    • The 'RubyBlue' theme which I found to be the easiest on the eyes doesn't appear to be working properly... Only get a blue font color and a white background?
    • the download theme and download file buttons don't appear to work at all

    Can't wait to see this working as it's going to be super useful!

  12. Bainternet
    Member
    Plugin Author

    Posted 1 year ago #

    The full screen option now spreads across the menu bar (seems like the background isn't loading)...

    No a bug its intended :)

    The 'RubyBlue' theme which I found to be the easiest on the eyes doesn't appear to be working properly... Only get a blue font color and a white background?

    Fixed and will upload soon

    the download theme and download file buttons don't appear to work at all

    silly bug fixed and will upload soon.

    thanks for the feedback.

  13. Bainternet
    Member
    Plugin Author

    Posted 1 year ago #

    Updated just now with better plugin/theme download and error handling.

  14. nvg
    Member
    Posted 1 year ago #

    @Bainternet:

    It works that way since when you look for something you usually look for it again, what i can do is select the currently entered text when you hit CRTL+F (just like Firefox).

    Yeah that would be great, and might I suggest using Ctrl-G to Find Next occurance - this is something I use all the time in many apps including FF.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic