line-length not respected on VSCode
tillydray opened this issue · comments
Jason commented
Visual Studio Code 1.23.0
macOS 10.13.3
~/.hindent.yaml:
indent-size: 2
line-length: 100
force-trailing-newline: true
relevant settings: (tried with and without --line-length=100
{
"hindentFormat.command": "/Users/jason.fry/.local/bin/hindent --line-length=100",
"editor.wordWrapColumn": 100,
"editor.wordWrap": "wordWrapColumn",
"editor.formatOnSave": true
}
I have had a lot of issues getting hindent to work at all with our team's docker setup, and have abandoned that and am just trying to get it to work on the metal now. The only way I've been able to get --line-length=100
to be respected is to run it at the command line. Neither running VSCode's >Format Document
command manually nor when saving respects --line-length=100
. I've spent hours trying to get this to work, and could really use some input. I'm trying to assume it's my fault but with something so incredibly simple, I'm just not sure.