This is a base for building plugins for Atheos IDE.
There are 4 required files:
init.js
: which initializes your plugin into the client-side systemplugin.json
: which is what Atheos uses to identify your pluginREADME.md
: which should contain information for the end-userLICENSE.md
: which should contain information for the end-user
There are 4 common optional files:
class.name.php
: contains the class/main engine of your plugin's actions on the servercontroller.php
: handles/processes/verifies the input data and initializes/manages the classdialong.php
: processes requests and displays html back to the userscreen.css
: add custom css styling to the Atheos IDE
You can add files, images, other libraries, etc. as needed for the plugin to operate successfully.
Since you have access to the global atheos
object you can also utilize other components in the system to modify the editor, work with projects, run searches, etc.
Atheos makes use of several css variables to allow your plugin to seamlessly mech with any users preferred theme. Atheos also has the full Font-Awesome at it's disposal for your iconography.
The plugin.json
file describes how the plugin will interact with Codiad. Most of the properties are self explanatory, however:
-
rightbar
is an array of objects used if you want custom plugin actions to appear in the right-hand bar. Theaction
parameter should call a method in the init.js file. -
contextmenu
is similar format torightbar
but gives the ability to add context menu items to the file manager. Theapplies-to
property specifies whether the menu entry will appear fordirectory
(s)file
(s) orboth
.