Files
openide/ideTipsAndTricks/resources/tips/SurroundWith.html
Nikita Iarychenko 2479c82b21 OPENIDE #97 License and Eula in OpenIDE (add copyright)
(cherry picked from commit c04ce4e31d29757b01124bef5d56341c1d5c3076)
2025-07-23 14:27:10 +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>Surround code fragments</b></p>
<p>You can quickly wrap a code block in useful constructs. Select it in the editor and press <span
class="shortcut">&shortcut:SurroundWith;</span> (<span class="control">Code | Surround With</span>).</p>
<p>The list of available options or wrappers is context-sensitive and depends on the language. For example, you can surround <span
class="code_emphasis">html</span> blocks with tags, and so on. </p>
<p class="image"><img src="images/ij_tips_surround_with.png" alt="Surround with" style="border: 1px solid #55555;"/></p></body>
</html>