The shortcut keys we refer to for code comments are
ctrl+/
But after the comment "//" automatically placed at the beginning of the line, not indented, like this
This looks very unattractive, how to let "//" appear at the beginning of the sentence rather than the start of the line?
Solve:
Enter Java, code Style, Settings, select "Code Generation" tab on the right, and then find the Comment code block,
Line comment At first column
Block comment at first column
Two front check boxes are removed.
check box do not tick. effect-------------------Add a Find shortcut keyCtrl + f is found in the currently open filesuch as a JSP fileDouble-click to select picfileupload, press Ctrl+f to find in the current JSP file. Ctrl+shift+f represents full-text search, which is the search for the entire projectDouble-click to select picfileupload, press ctrl+shift+f, getNotice
, I changed this shortcut to Shift+f.
IntelliJ How does the idea Comment line automatically indent?