hindent icon indicating copy to clipboard operation
hindent copied to clipboard

line-length not respected on VSCode

Open tillydray opened this issue 6 years ago • 0 comments

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.

tillydray avatar May 04 '18 12:05 tillydray