dcslin commented on issue #596: Clang-formatter results in different formatting?
URL: https://github.com/apache/singa/issues/596#issuecomment-584462521
 
 
   Hi @chrishkchris , I have tested on windows at my side. Could you please 
check again your configuration? I hope this guide could help: 
https://github.com/apache/singa-doc/blob/0efbdbee811901fbcd7ce1f2d057669cb246e4c9/docs-site/docs/contribute-code.md
   
   You might need to install LLVM in windows, and add below lines to VS Code 
configuration:
   ```
   "[cpp]": {
       "editor.defaultFormatter": "xaver.clang-format"
   },
   "cpplint.cpplintPath": "path/to/cpplint",
   
   "editor.formatOnSave": true,
   "python.formatting.provider": "yapf",
   "python.linting.enabled": true,
   "python.linting.lintOnSave": true,
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to