Idea usage record 1


1.Information:java:javacTask: Source release 1.8 requires target release 1.8

Error:(31, 62) java: lambda expressions are not supported in -source 1.7
  (please use -source 8 or higher to enable lambda expressions)

 

  There are three places to modify the compiled version in the idea.
  Two places are confirmed in Project Structure->Modules: Project sdk and project language level Project Structure->Language level   Settings->java Compiler->Per-module bytecode Version
  in Sources in Modules

2. Shortcut keys for adding multi-line comments at one time

First select the area to be annotated, then

ctrl+/ This is a multi-line code line comment, one comment symbol per line

ctrl+shift+/ This is a multi-line code comment in a block, only with comment symbols at the beginning and end


3. Cancel multi-line comment shortcuts

How to add shortcut keys, cancel with the same method,

Such as ctrl+/ to add a comment, then ctrl+/ to uncomment

ctrl+shift+/ to add a comment, then ctrl+shift+/ to uncomment

4. Change the theme package in idea


https://jingyan.baidu.com/article/c910274b80af45cd361d2db6.html


5. How to change the font size in idea


https://www.cnblogs.com/CATHY-MU/p/5971647.html

6. No debug is displayed in idea, only messages are displayed

 

You need to click run/debug on the toolbar under the menu bar before you can see the debug console

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324969540&siteId=291194637