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

Function gnuIndentOrig

plugins/customscript/customscript_plugin.cpp:246–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246SourceFormatterStyle gnuIndentOrig()
247{
248 SourceFormatterStyle result(QStringLiteral("GNU_indent_orig"));
249 result.setCaption(i18n("Gnu Indent: Original Berkeley indent style"));
250 result.setContent(QStringLiteral("indent -orig"));
251 result.setUsePreview(true);
252
253 result.setMimeTypes(ISourceFormatter::mimeTypesSupportedByBuiltInStyles());
254 return result;
255}
256
257SourceFormatterStyle clangFormat()
258{

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