Changing colors


Improved Search

JavaScript editor customization

HTML editor customization

YAML editor customization

HTML Preview

Copyright 2013-2024 - Brainwy Software Ltda.
Theme by orderedlist

It's possible to customize the JavaScript editor JSHint/Beautify.js integration by creating a custom .javascript.liclipseprefs file.

Note: if you wish to use a different jshint.js/beautify.js, you can specify the location to be used in preferences > LiClipse > Javascript.

As for the customization of JSHint/Beautify.js, it must be done per-project by creating a file such as:




The default file considered if none is provided is:

# Note that this is a YAML file with jshint_opts for JSHint in JSON format.

# Option determining whether JSHint should be run
enable_jshint: true

# Json contents to be passed to JSHint (it's passed directly as specified
# and may be configured based on
jshint_opts: |-
        "undef": true,
        "browser": true,
        "jquery": true

# Option determining whether code-formatting (Ctrl+Shift+F) is enabled.
enable_beautify_js: true

# Json contents to be passed to beautify.js (it's passed directly as specified
# and may be configured based on
beautify_js_opts: |-
        "indent_size": 4,
        "indent_char": " ",
        "preserve_newlines": true,
        "max_preserve_newlines": 2147483647,
        "jslint_happy": false,
        "space_after_anon_function": false,
        "brace_style":  "collapse",
        "space_before_conditional": true,
        "unescape_strings": false,
        "wrap_line_length": 2147483647,
Currently it's possible to customize whether jshint will be run by changing the value of enable_jshint and the options used by JSHint to do the analysis through the value of jshint_options. Note that JSHint also accepts comments inline in a file for configuration.

/* jshint undef: true, unused: true */
in the top of a file.

for more details.