MCPcopy Create free account
hub / github.com/KDE/kdevelop / gnuIndentKr

Function gnuIndentKr

plugins/customscript/customscript_plugin.cpp:235–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235SourceFormatterStyle gnuIndentKr()
236{
237 SourceFormatterStyle result(QStringLiteral("GNU_indent_KR"));
238 result.setCaption(i18n("Gnu Indent: Kernighan & Ritchie"));
239 result.setContent(QStringLiteral("indent -kr"));
240 result.setUsePreview(true);
241
242 result.setMimeTypes(ISourceFormatter::mimeTypesSupportedByBuiltInStyles());
243 return result;
244}
245
246SourceFormatterStyle gnuIndentOrig()
247{

Callers 1

predefinedStylesMethod · 0.85

Calls 4

setCaptionMethod · 0.80
setUsePreviewMethod · 0.80
setMimeTypesMethod · 0.80
setContentMethod · 0.45

Tested by

no test coverage detected