Eclipse Usage and Tricks 20: a quick print trick

Source: Internet
Author: User

You often use Print statements when debugging, and when you need to add a description string that is confused with the value that needs to be printed, you need to write the string such as "the string here" and then enter the value of the variable. It would be more troublesome to go in this way. Here is a method that can greatly improve the efficiency.
Step one: Assume that you need to print the value of temp, first enter the full print string:

Step Two: Select temp, press and hold the CTRL+1 key:

Step three: Select the prompt option, and when you delete the double quotes you are done. The variable that needs to be printed is confused in the hint string, and this method can greatly speed up the input speed.

Previous article, Eclipse usage and tip 19: Eclipse modifies workspace:
http://blog.csdn.net/ts1122/article/details/9325023
Next article, Eclipse usage and Tip 21: The way the project is presented:
http://blog.csdn.net/ts1122/article/details/9568001

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Eclipse Usage and Tricks 20: a quick print trick

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.