You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Darek (JIRA)" <ji...@apache.org> on 2018/04/26 13:16:00 UTC

[jira] [Created] (NETBEANS-736) .clang-format: configuration parsing errors are not show - clang-format not used

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 &amp; 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists