Spanish Total.js
English
Documentation For AI agents
Contents

Get help with Total.js and jComponent

TotalEdit knows the API of Total.js 5 and of jComponent 20. It completes it, explains it and has snippets of the usual code, with nothing to install.

.md GitHub
On this page

Where it works

It turns on by itself when the folder open is a Total.js 5 project: total5 is in its package.json, or its index.js requires it.

FilesHelp
JavaScript files of the serverTotal.js 5
HTML files, and the JavaScript and CSS files in a public folderjComponent 20

The bar at the bottom says which one the file has, next to its language.

What it does

  • Completes functions and what each call gives. After DATA.find() and a dot, you get where, sort and the rest.
  • Explains a name when the pointer is on it: how to call it, what it does, its arguments and what it gives.
  • Follows the arguments while you write a call, with the one that you are writing in bold. Esc hides it.

The snippets

They are among the completions. Write the start of the name, choose it, and fill in the parts: Tab goes to the next one.

WhereSome of them
ServerNEWACTION, ROUTE API, ROUTE GET, ROUTE SOCKET, AUTH, MIDDLEWARE, plugin (server), DATA find, RESTBuilder
InterfacePLUGIN, COMPONENT, TAPI, exports.watch, exports.ajax, SETTER notify
HTMLui-component, ui-plugin, ui-bind, ui-input, @{if}, @{foreach}

Turn it on or off

In Settings, Help for Total.js 5 and jComponent 20 has three choices:

  • In projects that use Total.js 5, the one at the start;
  • Always, in any folder and also in single files;
  • Never.

Colours, icons and identifiers such as UID() are in Insert colours, icons and values, and work in every project.

Made in Europe