nirm03 / SublimeLinter-clang

SublimeLinter plugin for C/C++, using clang
MIT License
56 stars 48 forks source link

Javascript #24

Open gurmukhp opened 8 years ago

gurmukhp commented 8 years ago

Hi

Is it possible to update this plugin to support clang-format -style=Google for JS files?

gurmukhp commented 8 years ago

?

Optiligence commented 8 years ago

clang-format is for changing code formatting this plugin is for linting (displaying error and warning messages next to code) of c++ and c am i missing something?

gurmukhp commented 8 years ago

Hey Norbert,

clang-format also code formats JS files. So the workflow I'm after is to run clang on every save in Sublime and for it to auto format my code.

I've managed to get this working with https://packagecontrol.io/packages/Clang%20Format

Apologies for the confusion.

On 15 August 2016 at 15:15, Norbert Pfeiler notifications@github.com wrote:

clang-format is for changing code formatting this plugin is for linting (displaying error and warning messages next to code) of c++ and c am i missing something?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nirm03/SublimeLinter-clang/issues/24#issuecomment-239812780, or mute the thread https://github.com/notifications/unsubscribe-auth/AA26uRDH0IEIAV9P0VVb2biEjzR9iP9Oks5qgHSWgaJpZM4GzjMf .