Jump to content

Translations:KDevelop5/Manual/Working with source code/138/uk: Difference between revisions

From KDE UserBase Wiki
Yurchor (talk | contribs)
Created page with "Замість введення тексту подібного типу знову і знову (із усіма можливими друкарськими помилкам..."
 
(No difference)

Latest revision as of 06:15, 23 October 2020

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (KDevelop5/Manual/Working with source code)
Rather than typing this kind of text over and over again (with all the concomitant typos one introduces), the <menuchoice>Snippets</menuchoice> tool of '''KDevelop''' can help here. To this end, open the tool view (see [[Special:myLanguage/KDevelop5/Manual/Working with source code#Tools and views|Tools and views]] if the corresponding button isn't already on the perimeter of your window). Or, go to <menuchoice>Window -> Tool views</menuchoice> in the top menubar, and turn on <menuchoice>Snippets</menuchoice>. Then click on the <menuchoice>Add repository</menuchoice>button (a slight misnomer &mdash; it allows you to create a named collection of snippets for source codes of a particular kind, e.g. C++ sources) and create an empty repository. Then click <menuchoice>Add Snippet</menuchoice> to add a snippet, to get a dialog like the following:

Замість введення тексту подібного типу знову і знову (із усіма можливими друкарськими помилками), ви можете скористатися інструментом KDevelop Фрагменти. Для цього відкрийте панель інструментів (див. Інструменти і панелі перегляду, якщо відповідної кнопки ще немає на периметрі вашого вікна). Крім того, ви можете скористатися пунктом Вікно -> Панелі інструментів на верхній панелі меню і увімкнути Фрагменти. Далі, натисніть кнопку Додати сховище (дещо оманлива назва — за допомогою цього пункту можна створити іменовану збірку фрагментів для початкових кодів певного типу, наприклад, коду C++) і створіть порожнє сховище. Потім натисніть Додати фрагмент, щоб додати фрагмент і відкрити діалогове вікно, подібне до такого: