Files
openide/ideTipsAndTricks/resources/tips/VariableNameCompletion.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>Complete variable names</b></p>
<p>Code completion can suggest a name for a variable when you declare it. For example, start typing <span class="code_emphasis">private FileOutputStream</span>.
The IDE will show you a list with suggestions. </p>
<p class="image"><img src="images/ij_tips_variable_name_completion.png" alt="complete variable name" style="border: 1px solid #55555;"/></p>
<p>You can customize name prefixes for local variables, parameters, instance and static fields in the <span class="control">Settings/Preferences</span>
dialog (<span class="shortcut">&shortcut:ShowSettings;</span>) under <span class="control">Code Style</span>.</p></body>
</html>