Files
openide/ideTipsAndTricks/resources/localization/zh/CN/tips/IntroduceVariable.html
2025-04-30 13:26:44 +04:00

14 lines
1.4 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>提取变量重构</b></p><p><span class="control">提取变量</span> 重构可以将所选表达式包装成一个变量。它会添加新的变量声明,并将该表达式用作初始值设定项。请选择一个表达式并按 <span class="shortcut">&shortcut:IntroduceVariable;</span> (<span class="control">重构 | 提取/引入 | 变量</span>)。</p><p class="image"><img src="images/ij_tips_extractvariable.png" alt="extract variable" style="border: 1px solid #55555;" /></p></body></html>