Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Refactor JSLint into an extension #3094

@DennisKehrig

Description

@DennisKehrig

Places in the code referring to JSLint

  • base-config/keyboard.json
    • Defines keyboard shortcuts for navigate.gotoJSLintError
  • brackets.config.json
    • Sets config.enable_jslint to true
  • brackets.js
    • Loads JSLintUtils - only needed for the menu entries and the point below
    • Exports JSLintUtils for tests - affects Performance-test.js
  • command/Commands.js
    • Defines Commands.TOGGLE_JSLINT
    • Defines Commands.NAVIGATE_GOTO_JSLINT_ERROR
  • command/DefaultMenus.js
    • Adds menu item for Commands.TOGGLE_JSLINT
    • Adds menu item for Commands.NAVIGATE_GOTO_JSLINT_ERROR
  • config.json - automatically generated by tasks/write-config.js
    • Sets config.enable_jslint to true (inherited from brackets.config.json)
  • htmlContent/main-view.html
    • Adds toolbar jslint-results
  • language/JSLintUtils
    • Main code for JSLint support
  • nls/*/strings.js
    • Defines various translations for JSLint related strings - can probably stay there
  • search/QuickOpen.js
    • References JSLintUtils in two comments
  • styles/brackets.less
    • Defines the CSS classes jslint-disabled, jslint-errors and jslint-valid
  • thirdparty/jslint/
    • JSLint library
  • widgets/StatusBar.html
    • Adds the gold star for JSLint's status - should be possible to initially movie this elsewhere (e.g. JSLintUtils) since StatusBar.addIndicator is called for this already

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions