Skip to content

Creating the base

DeerisLeGris edited this page Jan 6, 2018 · 8 revisions

Creating the base of your module

Introduction

Firstly, you need to know Javascript and a little bit the JSON for create modules (and HTML/CSS for create UI).

And secondly, you need to choose what type of module you want to create and then click on him for know how to create him:

  • Theme
  • Addon
  • Compilator (not available currently)
  • Code editor language (not available currently)
  • Translation (not available currently)

Type of modules

Theme

  • Create folder for your module files in your computer

  • Create the files "infos.json" and "theme.json" in the folder like this:

  • Add this content in the "infos.json" file and modify it:

{
  "ModuleName": "Theme name",
  "ModuleAuthor": "Author name",
  "ModuleDescription": "Module description",
  "ModuleType": 1,
  "SceMinimalVersionRequired": 1.0,
  
  "ModuleVersion":
  {
      "Major": 1,
      "Minor": 0,
      "Revision": 0
  }
}

ModuleName: name of your module

ModuleAuthor: your name or nickname, whatever !

ModuleDescription: description of your module

ModuleType = 1: defined your module as a theme (so don't touch at this value)

SceMinimalVersionRequired: the minimal version of Serris Code Editor required for your module work correctly (you going to see in the documentation or in the tutorial the minimal version required for access to a certain function)

ModuleVersion: version of your module

  • Now it's time to create your theme !

Addon

Clone this wiki locally