Writing code is the step taken within the code editor window of the code block, and is what carries out the functionality that’s intended to be performed by the block.
CJT is providing users with a number of tools for writing code. One of these powerful tools is the Advanced Code Editor (ACE) with syntax highlighting and error checking. The editor can also support a majority of the modern functions that’s currently being used by a lot of code editors like: folding, unfolding, collapsing and expanding code regions.
More helpful tools that can be utilised include: restore block revisions, switch editor languages, switch editor themes, full-width and full-screen mode, adjust font sizing, and the Code Auto Complete (CAC) extension.
The following languages are currently being supported:
- CSS (Cascading Style Sheet)
- HTML (HyperText Markup Language)
- PHP (PHP: Hypertext Preprocessor)
CJT is not going to insert any tags or wrappers for any language. Setting the editor language is currently a conduit for syntax highlighting and error checking. CJT does not alter the code at all, so users have the ability and freedom to do whatever they like while writing code.