Darek created NETBEANS-736:
------------------------------
Summary: .clang-format: configuration parsing errors are not show
- clang-format not used
Key: NETBEANS-736
URL: https://issues.apache.org/jira/browse/NETBEANS-736
Project: NetBeans
Issue Type: Bug
Components: editor - Formatting & Indentation
Reporter: Darek
When trying to use clang-format using .clang-format file, IDE does not use
correct configuration, or clang-format at all. It seems that my .clang-format
configuration is not supported by IDEs clang-format (configuration prepared for
newer version?), but there is no information why it does not work.
std_errors.error_code error = FormatGlobals.parseConfiguration(new
StringRef(profileId), fs);
if (error.$bool()) {
fs = FormatGlobals.getLLVMStyle();
}
c = new CodeStyle(fs, true);
Please add possibility to specify custom clang-format binary, or at least
please provide some kind of information why .clang-format is not working as
user wants (errorLog, terminal output)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists