Premise:
My version of Eclipse is as follows:
Newer or old capital than this version can achieve the following effect.
Implementation steps:
The display of dashed lines on code is set up in the following ways:
1, if you do not use plug-ins, Eclipse is not support dashed line, can only be the point of the horizontal bar, the effect is as follows:
The configuration is as follows:
"Window", "Preferences", "General", "Editors", "Text Editors"
2, the use of plug-ins, is generally the plug-in indentguide, Google can search for a bit, the effect is as follows:
First Officer Net Download plug-in package: https://sschaef.github.io/IndentGuide/
Download the contents of the compressed package as follows:
After entering the folder there will be three folders, as long as the Pdt_tools.indentGuide.updateSite folder.
Unzip this folder into Eclipse's Dropins directory, as shown below:
Then restart Eclipse, enter "window", "Preferences", "General", "Editors", "Text Editors" and "Indent Guide", configured as follows:
Then re-open a Java file after you configure it, and then open it before opening to see the effect.
Plugin offline Download: Link: https://pan.baidu.com/s/1gfeiBdD Password: pc3u
Eclipse Code Dash Alignment settings