Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

Ability to disable autoformatting #20

Open
dreuter opened this issue Sep 3, 2018 · 2 comments
Open

Ability to disable autoformatting #20

dreuter opened this issue Sep 3, 2018 · 2 comments

Comments

@dreuter
Copy link

dreuter commented Sep 3, 2018

Hi :)

I really like your project, it makes developing in VSCode for ROS so much nicer.
Unfortunately our team uses a different formatting style, which means, that I always need to disable this plugin, because it messes with the c/c++ formatting build into VSCode.

Would you be open to adding a option, which would allow to disable formatting?

(This is also loosely related to #18 )

@jorgenfb
Copy link

I have the same problem. The official cpp extension for vscode has clang-format support and want to use that one with my own config. This extension now conflicts with it. My temporary workaround is to open ~/.vscode/extensions/ajshort.ros-0.3.0/out/src/extension.js in an editor and comment out line 51:

 //context.subscriptions.push(vscode.languages.registerDocumentFormattingEditProvider("cpp", new cpp_formatter_1.default()));

@PymZoR
Copy link

PymZoR commented Apr 2, 2019

Thanks @jorgenfb for the workaround. Still, would be nice to have one parameter in the UI to disable it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants