Jump to content

Translations:KDevelop4/Manual/Working with source code/76/uk: Difference between revisions

From KDE UserBase Wiki
Yurchor (talk | contribs)
Created page with "* '''Фрагменти''': на цій панелі буде наведено фрагменти тексту, які використовують вами регулярно, ..."
 
(No difference)

Latest revision as of 11:36, 24 June 2011

Information about message (contribute)
Это сообщение не имеет описания. Если вы знаете, где или как это сообщение используется, то можете помочь другим переводчикам, добавив к нему описание.
Message definition (KDevelop4/Manual/Working with source code)
* '''Snippets''': This provides sequences of text that one uses over an over and doesn't want to write every time. For example, in the project from which the picture above was created, there is a frequent need to write code like <br />
{{Input|1=<nowiki>for (typename Triangulation&lt; dim&gt;::active_cell_iterator cell
     = triangulation.begin_active();
   cell != triangulation.end();
   ++cell)</nowiki>}}<br />This is an awkward expression but it will look almost exactly like this everytime you need such a loop &mdash; which would make it a good candidate for a snippet.
  • Фрагменти: на цій панелі буде наведено фрагменти тексту, які використовують вами регулярно, і які ви не хочете повторно вводити кожного разу. Наприклад, на основі якого було створено знімок екрана, була потреба часто використовувати фрагмент коду
for (typename Triangulation&lt; dim&gt;::active_cell_iterator cell
      = triangulation.begin_active();
   cell != triangulation.end();
   ++cell)


Вираз доволі незграбний, але використовується майже у такій формі кожного разу, коли вам потрібен цикл, — чудовий кандидат на включення до списку фрагментів.