Files
openide/ideTipsAndTricks/resources/tips/CompleteStatement.html
2025-04-30 13:26:44 +04:00

25 lines
1.5 KiB
HTML

<!-- OpenIDE Project -->
<!-- Copyright (C) 2025 “Open Development Platform” Ltd. (https://openide.ru) -->
<!-- -->
<!-- This program is free software: you can redistribute it and/or modify -->
<!-- it under the terms of the GNU Affero General Public License version 3 or later as published by the Free Software Foundation. -->
<!-- -->
<!-- This program is distributed in the hope that it will be useful, -->
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
<!-- GNU Affero General Public License for more details. -->
<!-- -->
<!-- You should have received a copy of the GNU Affero General Public License -->
<!-- along with this program. If not, see http://www.gnu.org/licenses/. -->
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body><p><b>Create code constructs with completion</b></p>
<p>You can create code constructs using statement completion. Start typing a method declaration, a method call or a statement such as
<span class="code_emphasis">if</span>, <span class="code_emphasis">do-while</span>, <span class="code_emphasis">try-catch</span>,
or <span class="code_emphasis">return</span>. Press <span class="shortcut">&shortcut:EditorCompleteStatement;</span> to complete the
statement into a syntactically correct construct.</p>
<p class="image"><img src="images/ij-tips-complete_statement.png" alt="Complete statement" style="border: 1px solid #55555;"/></p></body>
</html>