Translations:KDevelop4/Manual/Working with source code/76/en

From KDE UserBase Wiki
Revision as of 05:00, 18 April 2018 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • 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
for (typename Triangulation< dim>::active_cell_iterator cell
      = triangulation.begin_active();
   cell != triangulation.end();
   ++cell)


This is an awkward expression but it will look almost exactly like this everytime you need such a loop — which would make it a good candidate for a snippet.