idea的html文件會有很多下划線,怎么去除


一下為自己總結的idea的一些設置和操作技巧:

  1. 設置-editor-color Scheme - html,每個選項中會有Effcts選項,這個就是下划線生效,底下還有一個選框,Underscored(有下划線)... 只要去掉Effects的小對號就取出煩人的下划線了。

  2. 還有個mapper.xml中sql的顏色問題,這個要在sql和xml和general中都設置,

    比如 insert into sys_permissions(permission,description,available,rid)values(#{permission},#{description},#{available},#{rid});這里參數顏色在sql-parameter設置,而 sys_permissions(...)要在general- code - Injected language fragment設置前景色。3 還有一個跳出右邊的括號或者大括號,在 Settings->Editor->General->Smart Keys 中就能找到 Jump outside closing bracket/quote with T。在idea2018.2以后的版本里面4、方法體分割線的顯示和顏色設置:  (https://stackoverflow.com/questions/52013181/draw-lines-between-methods-in-code-editor-of-intellij)  1: In Preferences > Editor > General > Appearance, check the Show method separators box.  2: You can even control the color of the line drawn between methods.   See Preferences > Editor > Color Scheme >   General > Code > Method separator color > Foreground   field where you can type in a the hex triplet code for a color in RGB.   The default in the Dracula scheme is 4D4D4D5 我自定義的“收起/展開”方法體,xml中是ctrl+. ; java中是ctrl+shift+. 6 ctrl+c選中光標所在行的文字。7 一般用ctrl+leftbutton查看源碼,也可以用F3代替。如果想臨時打開源碼,就ctrl+shift+i小窗口看源碼(自己改為  ctrl+shift+x,方便單手操作)。

     

  3. 方法體分割線的顯示和顏色設置:   (https://stackoverflow.com/questions/52013181/draw-lines-between-methods-in-code-editor-of-intellij)   1: In Preferences > Editor > General > Appearance, check the Show method separators box.   2: You can even control the color of the line drawn between methods.   See Preferences > Editor > Color Scheme >   General > Code > Method separator color > Foreground   field where you can type in a the hex triplet code for a color in RGB.   The default in the Dracula scheme is 4D4D4D

  4. 還有一個跳出右邊的括號或者大括號,在 Settings->Editor->General->Smart Keys 中就能找到 Jump outside closing bracket/quote with T。在idea2018.2以后的版本里面

  5. 我自定義的“收起/展開”方法體,xml中是ctrl+. ; java中是ctrl+shift+.

  6. ctrl+c選中光標所在行的文字。

  7. 一般用ctrl+leftbutton查看源碼,也可以用F3代替。如果想臨時打開源碼,就ctrl+shift+i小窗口看源碼(自己改為   ctrl+shift+x,方便單手操作)。

  8. idea按照行號跳躍, 在keyMap里面搜索Line/Column 查看快捷鍵。

  9. idea的.properties文件中文問題。Editor-File Encodings-Transparents native-to-ascii conversion 打勾。

  10. hierarchy快捷鍵 ,keymap里面的 type hierarchy的快捷鍵。我的是F4.

  11. s

  12. v

  13.  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM