Sublime text editing JSP files in Eclipse development

  • If you want to do good work, you must first sharpen your tools

    When using eclipse to develop a back-end program with pages, the built-in editor has weak functions when editing JSP pages (mainly code completion, code formatting, etc.). In order to pursue the efficiency of development, I wonder if there is any Other methods improve development efficiency (bootstrap, jquery and other front-end components are often used when writing background management page programs. For people like me who only know about front-end components, it is too painful to type code).

  • vscode

    Because I have been using vscode recently when I was playing go and NSIS, the first thing that came to my mind was the vscode editor. Not the desired effect), sometimes css classes cannot be automatically prompted for code. Finally gave up, so I thought of another encoding tool (sublime text).

  • sublime Text (lightweight, low resource usage, fast)

    Sublime has been installed on my computer, but it has been used less recently (it is installed by itself without installation). Preferences->Package Control->Install Package. Install Bootstrap 3 Autocomplete, Bootstrap 3 Snippets, jQuery and other plug-ins. After installation, when editing jsp pages, bootstrap and jquery syntax prompts are supported.

  • eclipse integration

    In eclipse, select the open with item in the right-click menu of the JSP file, and configure the jsp page to be opened with sublime text.

    After the external editor modifies the file, eclipse can automatically perceive it and make the modified JSP take effect, and configure as follows:

    Windows -> Preferences -> General -> Workspace




    


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326166950&siteId=291194637