C++ “通用登图”;(STDERR):找不到文件indentinput.cpp“;错误
我想知道是否有人用过 我正在尝试使用它,运行时会出现以下错误 没有适当的文档或教程如何使用它,如果有人使用过它,请帮助我C++ “通用登图”;(STDERR):找不到文件indentinput.cpp“;错误,c++,formatting,format,universalindentgui,C++,Formatting,Format,Universalindentgui,我想知道是否有人用过 我正在尝试使用它,运行时会出现以下错误 没有适当的文档或教程如何使用它,如果有人使用过它,请帮助我 Indenter returned with exit code: 1 Indent console output was: (STDOUT): (STDERR):Cannot find file indentinput.cpp 调用字符串为: "/Users/rbang/Desktop/Tools/UniversalIndentGUI_macx/indenters/a
Indenter returned with exit code: 1
Indent console output was:
(STDOUT):
(STDERR):Cannot find file indentinput.cpp
调用字符串为:
"/Users/rbang/Desktop/Tools/UniversalIndentGUI_macx/indenters/astyle"
indentinput.cpp
--options="/Users/rbang/Desktop/Tools/UniversalIndentGUI_macx/temp/.astylerc"
我经历了同样的问题,但是如果你在UI顶部的下拉菜单中切换到不同的压头(正好低于文本“压入设置”),并使用不同的压头(我使用Uncrustify(C++,C +,C,Objul-C)它起作用了。我怀疑这与以下事实有关:所有压头可能没有与下载捆绑在一起,但uncrustify是。我尝试过的大多数压头都有这个问题,但我唯一关心的是uncrustify。
在安装UniversalIndentGUI的目录中打开压头/uigui_astyle.ini
,并找到以下内容天然气性质:
inputFileName=indentinput
inputFileParameter=
outputFileName=indentinput
outputFileParameter=none
将其更改为:
inputFileName=
inputFileParameter=stdin
outputFileName=
outputFileParameter=stdout
瞧