Eclipse usage and tips 20: a fast printing technique

Source: Internet
Author: User

Print statements are often used during debugging. When the strings to be added are mixed with the values to be printed, you must first write a string, for example, "the string here is ", then enter the value of the variable. In this way, it is still troublesome to go. The following describes a method to greatly improve efficiency.
Step 1: to print the Temp value, enter the complete print string:

Step 2: Select temp and press Ctrl + 1:

Step 3: select the prompt option. Deleting double quotation marks is a success. This method can greatly speed up input when obfuscation of variables to be printed in the prompt string.

 

 

In the previous article, Eclipse's usage and skills 19: Eclipse's workspace modification:
Http://blog.csdn.net/ts1122/article/details/9325023
In the next article, Eclipse's usage and skills 21: ways to demonstrate projects:

Http://blog.csdn.net/ts1122/article/details/9568001

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.