這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Ace Edit

外掛說明

This plugin will improve the build in theme and plugin editor in WordPress with typical code editor features like syntax highlighting. It is very lightweight, since it will simply replace the default textarea with an instance of ACE.

Features

  • syntax highlighting with themes
  • code folding
  • line numbering
  • highlight matching parentheses
  • auto indentation and outdent

Use cases

Sometimes, you need to make some small adjustments on a theme or fix some bug in a plugin – but either you don’t have ftp acces or maybe you are on the road and don’t have access to your code editor. Then Ace Editor will come in handy and help you doing your work – with less chances of typos thanks to syntax highlighting and some basic syntax checking.

螢幕擷圖

  • Theme Editor
  • Plugin Editor

安裝方式

  1. Install Ace Edit either via the WordPress.org plugin directory, or by uploading the files to your server
  2. After activating Ace Edit, visit either the theme editor or the plugin editor and enjoy the new features.

常見問題集

Where can I learn more about Ace?

Ace is a open source code editor written in JavaScript. You can learn more on ace.ajax.org or on its github page.

Are there any known issues?

If you try to edit the Ace Edit plugin itself (with the plugin active), Google Chrome will fall back to the default textarea after saving the plugin. This is due to Chrome’s security features which refuse to run any JavaScript that was just part of a POST request sent to the current page.

What about planned features?

While we try to keep Ace Editor as lightweight as possible, we will introduce a settings page in near future to let users choose one of the included themes for syntax highlighting and set options like word wrap, hidden characters and more.

使用者評論

2017 年 5 月 31 日
Thanks for this excellent IDE for WordPress. I saw there were only two ratings (both 5 stars), and felt you needed another. I can't believe this plugin has been maintained for over 4 years, and there's only two reviews and around 400 users. So here's another FIVE STARS from this user. Great work. Thanks for maintaining this despite the relatively low interest in it. I guess most users don't want a decent editor in WordPress?
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Ace Edit〉的開發相關工作。

參與者

將〈Ace Edit〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1

  • enabled syntax highlighting for JavaScript files
  • updated ace.js to latest version

1.0

  • Initial release