STS (similar to eclipse) uses

Source: Internet
Author: User
Tags apache tomcat

1. After creating the new workspace, there is no servers, when the direct click Servers is not created normally,
need window--preferences after search runtime Environment--add--apache tomcat 7.0--next--browse know yourself Tomcat
then the JDK final finish
2.server--open--use Tomcat Installation,webapps, best point on punish module contexts to spearate XML files--ctrl+s
3.window--preferences--Search JSP files settings encoding = Utf-8
4.--Search font display colors and fonts Click Base--text Font to set the font size//Search font to kill all fonts
5. Search Content Assist find Java Editor in Auto activation trigger for Java. Add 26 English letters to save alt+/(pros and cons, personal hobbies)
6.project--build automatically (automatic compilation) there's no compilation. You can see it here.
7. New import of a project, personal like copy projects into workspace, right-click on the project name build path,configure build path, found in the library and clicked on the back band (Unbound),
--remove, then add Library, find just deleted, click Finish can.
8. If there is garbled, right-click the item resource--other--utf-8;
9, if there is no servlet error, click on any Java file in front of the class name of the Red Fork Click on the prompt, and then click the bottom of the fix up ... It might be miraculous .
10. Click the current project, do not want to use other items, you can close, right-click the project, close unrelated projects, but remember to open the server after closing.
Install/update--auto update--Cancel automatically find new updates and notify me
12.startup and shutdown--uncheck confirm exit when close last window then remove most unused boot entries
13. Check the STS in the boot does not prompt use it again ..., switch workspace can be under File switch workspace.
14. Search Workspace in the text file encoding Other==utf-8
15. Search save to find the Java Editor in the Save Actions point perform the selected actions on save, you should be able to format and save the code
16. Overall check code, want to indent or rewind the whole can store shift+tab or tab
17. If there is a 8005.8080 port number error, you can find the Shutdown.bat in the bin directory below Tomcat and restart the STS
18.Target Runtime Pivotal tc Server Developer Edition (Runtime 3.1) is not defined
19.MySQL 2003 This computer--management--services and applications--services--turn on MySQL
20. Search compiler set compiler compliance level== 1.7;
21. Set. PNG and. img Open Preview Search file Find file associations--in file type add--. png/.img--in associated Find Photoviewer.fileassoc.tiff--ok in Editors
22. In the menu bar window---Preferences-->java-->code Style-->code templates--> Code----body according to the above Path to find,
Select method Body and click Edit to delete the "//todo auto-generated method Stub" Click OK
23. Search JSP, set utf-8 in encoding so you don't have to change the default encoding when you write JSP code
24. Search Workspace Find Encoding=utf-8

STS (similar to eclipse) uses

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.