Total.js platform
Total.js platform

JavaScript platform for everyone

Set up your Sublime Text editor for Total.js

Set up your Sublime Text editor for Total.js

  • syntax highlighting for View Engine markup
  • syntax highlighting for View Engine localization
  • syntax highlighting for Tangular template engine
  • snippets for Controllers, Schemas and jComponents
  • Node.js build system for running Node.js apps directly in the editor

How to install it?

  • install package via Package Control: JavaScriptNext - ES6 Syntax
  • install theme via Package Control: Theme - SoDaReloaded
  • install theme via Package Control: Theme - Spacegray

Sublime User preferences:

Then download my .zip file and extract it into the Sublime Packages directory and rewrite all existing files. Then restart Sublime Text Editor.

Sublime Packages

How to use Total.js syntax highlighting?

  • open some view and set the syntax like this:

Total.js Syntax

The same procedure with Total.js configuration files, resources and logs.

How to use Sublime Node.js build system?

  • it works in macOS (Windows/Linux users have to change a path in /User/nodejs.sublime-build file.

Sublime Node.js Build system

Snippets

Total.js Controller

Controller

Total.js Schema

Schema

jComponent

jComponent