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

25 lines
1.3 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>Code generation</b></p>
<p>IDE can generate getter and setter methods for fields in your class. With the caret inside the class, press <span class="shortcut">&shortcut:Generate;</span>
(<span class="control">Code | Generate</span>).</p>
<p class="image"><img src="images/ij_tips_generate_getter_setter.png" alt="Generate getter and setter" style="border: 1px solid #55555;"/>
</p></body>
</html>