Skip to main content

Code Editor

Editor Features

The JARU IDE editor is optimized for writing JARU code efficiently.

Syntax Highlighting

The editor automatically highlights:

  • Keywords - if, then, else, while, for, func, class, etc.
  • Strings - Text strings in quotes
  • Numbers - Numeric values
  • Comments - Lines with // or blocks /* */
  • Modules - GPIO, Display, Math, etc.
  • Functions - Function calls

Autocompletion

Autocompletion activates automatically while typing or with Ctrl+Space.

It suggests:

  • Language keywords
  • Standard functions
  • Declared variables
  • Module methods
  • Object properties
// Type "pri" and autocompletion will suggest:
// - print
// - println
// - private

Code Folding

You can fold code blocks to improve readability:

  • Click the - icon next to the line number
  • Or use Ctrl+Shift+[ to fold
  • And Ctrl+Shift+] to unfold

Find and Replace

  • Type the text to find
  • Type the replacement text
  • Use "Replace" or "Replace All"

Search Options

  • Match case
  • Whole word
  • Regular expressions