Beautyfier error
-
Hi
make sure you run it on a CPP/H file. not QML.
It wont format QML as far as i know. -
Hi @mrjj ,
When I try to run it on a cpp/h file I get the following error message:
Error in Beautifier: Failed to format: The command "C:\AStyle\bin\AStyle.exe" terminated with exit code 1..Is there any beautifyer to format QML?
Thank you.Hi
Not sure what it means by that.
Please try this config. and see.--style=kr --indent=spaces=4 --align-pointer=name --align-reference=name --convert-tabs --attach-namespaces --max-code-length=100 --max-instatement-indent=120 --pad-header --pad-oper
I have not seen any external formatters for QML but I think the build in works pretty ok ?
-
Hi
Not sure what it means by that.
Please try this config. and see.--style=kr --indent=spaces=4 --align-pointer=name --align-reference=name --convert-tabs --attach-namespaces --max-code-length=100 --max-instatement-indent=120 --pad-header --pad-oper
I have not seen any external formatters for QML but I think the build in works pretty ok ?
@mrjj
The built in QML formatter works great.
I entered the codes you recommended into Options - Beautifier - Artistic Style - Options - Use customized style - edit, but got the same error message
Error in Beautifier: Failed to format: The command "C:\AStyle\bin\AStyle.exe" terminated with exit code 1.. -
@mrjj
The built in QML formatter works great.
I entered the codes you recommended into Options - Beautifier - Artistic Style - Options - Use customized style - edit, but got the same error message
Error in Beautifier: Failed to format: The command "C:\AStyle\bin\AStyle.exe" terminated with exit code 1..Hi
Ok, that is a bit odd.If you open a command prompt and type (past)
C:\AStyle\bin\AStyle.exe
it does run the tool and it lists its options ? -
Hi
Ok, that is a bit odd.If you open a command prompt and type (past)
C:\AStyle\bin\AStyle.exe
it does run the tool and it lists its options ?Hi @mrjj ,
The command generated the error message below:
C:\AStyle\bin\Atyle.exe : The term 'C:\AStyle\bin\Atyle.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1- C:\AStyle\bin\Atyle.exe
-
+ CategoryInfo : ObjectNotFound: (C:\AStyle\bin\Atyle.exe:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Thank you for your help.
-
Hi @mrjj ,
The command generated the error message below:
C:\AStyle\bin\Atyle.exe : The term 'C:\AStyle\bin\Atyle.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1- C:\AStyle\bin\Atyle.exe
-
+ CategoryInfo : ObjectNotFound: (C:\AStyle\bin\Atyle.exe:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Thank you for your help.