2013年12月8日星期日

editplus snippet automatically aligned to make it? Seeking to explain ? ? Thank you ! ! !

Just started using editplus, he can make java code snippet automatically align it?
Thank you ! ! !
------ Solution ---------------------------------------- ----
heard , I used Notepad + +, it touches on a pair of parentheses can be marked off. And we are now able to prompt the vertical line is indented look at the first layers .

If you use Eclipse , then it has a Source> Format function code directly to the re- layout, very neat, the future will not be too concerned about the format , because the preparation for others to see before the first format on the line .

------ Solution ------------------------------------ --------
no further use , I had basically been using eclipse. eclipse can help you achieve.
------ Solution ---------------------------------------- ----
shortcut key ( in the case of no input ) Shift + Ctrl + F can be automatically aligned ! ! I hope to help the landlord ! !
------ Solution -------------------------------------- ------
Shift + Ctrl + F automatic formatting

------ Solution ------------------------------------ --------


This is the eclipse you right , editplus also ? ?
------ For reference only -------------------------------------- -
automatic alignment What does this mean ?
------ For reference only -------------------------------------- -
is in a piece of code , each line is so uneven, no format , how to let them have the format
such as:
import java.math.BigInteger;
public class Main
{
public static void main (String args [])
{
int i;
System.out.println ("hello java");
System.out.println ("hello java");
System.out.println ("hello java");
for (i = 1; i <5; i + +)
{
System.out.println ("hello java");
}
}
}
let them in the correct format for each line is aligned
------ For reference only ----------------------- ----------------
that each line of code segment can not be bracketed with
------ For reference only columns and brackets ------ ---------------------------------
eclipse began also used to program , but my computer open this process is relatively slow , can not afford to hurt a little , but this editplus to write programs quickly, but the input and output on cmd, so we chose editplus, but do not know so let code aligned Yeah , copy a piece of code after each line of code is left-aligned, there is no standard indent , so I feel very confused.
Shift + Ctrl + F seemingly impossible . . . .
------ For reference only -------------------------------------- -
play play

没有评论:

发表评论