Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line-length not respected on VSCode #497

Open
tillydray opened this issue May 4, 2018 · 0 comments
Open

line-length not respected on VSCode #497

tillydray opened this issue May 4, 2018 · 0 comments

Comments

@tillydray
Copy link

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.

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

No branches or pull requests

2 participants