123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="generator" content="Asciidoctor 2.0.15">
- <title>IntelliJ IDEA Tips and Tricks</title>
- <link rel="stylesheet" href="css/site.css">
- <link href="css/custom.css" rel="stylesheet">
- <script src="js/setup.js"></script><script defer src="js/site.js"></script>
- </head>
- <body class="article"><div id="banner-container" class="container" role="banner">
- <div id="banner" class="contained" role="banner">
- <div id="switch-theme">
- <input type="checkbox" id="switch-theme-checkbox" />
- <label for="switch-theme-checkbox">Dark Theme</label>
- </div>
- </div>
- </div>
- <div id="tocbar-container" class="container" role="navigation">
- <div id="tocbar" class="contained" role="navigation">
- <button id="toggle-toc"></button>
- </div>
- </div>
- <div id="main-container" class="container">
- <div id="main" class="contained">
- <div id="doc" class="doc">
- <div id="header">
- <h1>IntelliJ IDEA Tips and Tricks</h1>
- </div>
- <div id="content">
- <div class="ulist">
- <ul>
- <li>
- <p>Scratch File</p>
- </li>
- <li>
- <p>Scratch Buffer</p>
- </li>
- <li>
- <p>选择历史粘贴(ctrl + shift + v)</p>
- </li>
- <li>
- <p>Select All Occurrences(找到所有与当前选中单次相同的单词并选中,然后可以进行批量修改)</p>
- </li>
- <li>
- <p>Language Expression (Check Regexp)</p>
- </li>
- <li>
- <p>parameter info</p>
- </li>
- <li>
- <p>surround with</p>
- </li>
- <li>
- <p>join line</p>
- </li>
- <li>
- <p>Hide All Tool Window</p>
- </li>
- <li>
- <p>Add or Remove Caret</p>
- </li>
- <li>
- <p>Inspect Code</p>
- </li>
- <li>
- <p>http文件</p>
- </li>
- <li>
- <p>recent files(ctrl + e) show edited files</p>
- </li>
- <li>
- <p>recent location (ctrl + shift + e)</p>
- </li>
- <li>
- <p>go to Test(ctrl + shift + t)</p>
- </li>
- <li>
- <p>navigate back/forward (ctrl + alt + 左右箭头)</p>
- </li>
- <li>
- <p>find usage</p>
- </li>
- <li>
- <p>next highlighted error alt + N</p>
- </li>
- <li>
- <p>Reformatting Code Ctrl + Alt + L</p>
- </li>
- <li>
- <p>Chained method calls 格式化长的方法调用,常用于stream或者lambda或者Builder</p>
- </li>
- <li>
- <p>Project alt + 1</p>
- </li>
- <li>
- <p>run anything 双击ctrl</p>
- </li>
- <li>
- <p>insert live template (Ctrl + Alt + Shift + J)</p>
- </li>
- <li>
- <p>Ctrl + Shift + Enter Complete Current Statement 效果是马上跳转到行尾,并且如果行尾没有分号自动添加分号</p>
- </li>
- </ul>
- </div>
- <div class="paragraph">
- <p><a href="https://blog.jetbrains.com/idea/2020/03/top-15-intellij-idea-shortcuts/">top-15-intellij-idea-shortcuts</a></p>
- </div>
- <div class="paragraph">
- <p><a href="https://blog.jetbrains.com/idea/2020/06/code-formatting/">code-formatting</a></p>
- </div>
- </div>
- <div id="footer">
- <div id="footer-text">
- Last updated 2024-03-18 05:44:42 UTC
- </div>
- </div>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.3/highlight.min.js"></script>
- <script>
- if (!hljs.initHighlighting.called) {
- hljs.initHighlighting.called = true
- ;[].slice.call(document.querySelectorAll('pre.highlight > code')).forEach(function (el) { hljs.highlightBlock(el) })
- }
- </script>
- <script src="https://utteranc.es/client.js"
- repo="pxzxj/articles"
- issue-term="title"
- label="utteranc"
- theme="github-light"
- crossorigin="anonymous"
- async>
- </script>
- </div>
- </div>
- </div>
- </body>
- </html>
|