Source insight: After {, press enter to enable automatic code indent.
Source: Internet
Author: User
However, the use of source insight has been plagued by a problem: After {, if you press enter, the cursor is wrapped, but it is not automatically indented, it is not used to it, you need to check the tab every time ~~ The effect of not typing a tab is as follows: Fun ()
{
Int x = 0;
} Write as above ProgramNot standard. I hope to press enter after { CodeAuto indent. (The depressing way is to press the Enter key and then press the tab) Fun ()
{
Int x = 0;
} Think about it. A professional editor like source insight will never be so intelligent ~~~ There must be something you can set. I did not find the menu after turning it over several times. Later, I found a solution in Google. I would like to thank the Chinese Hacker Alliance for its post. 1. Go to document Options 2, click auto indent 3, and deselect the two check boxes in smart indent options! This is done!
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.