有没有办法让Eclipse的内置Java代码格式化程序忽略注释?每当我运行它,它会变成这样:
/*
* PSEUDOCODE
* Read in user's string/paragraph
*
* Three cases are possible
* Case 1: foobar
* do case 1 things
* Case 2: fred hacker
* do case 2 things
* Case 3: cowboyneal
* do case 3 things
*
* In all cases, do some other thing
*/
Run Code Online (Sandbox Code Playgroud)
进入这个:
/*
* PSEUDOCODE Read in user's string/paragraph
*
* Three cases are possible Case 1: foobar do case 1 things Case 2: fred
* hacker do …Run Code Online (Sandbox Code Playgroud)