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

x/tools/gopls: Option to wrap long lines #42015

Open
rendaw opened this issue Oct 16, 2020 · 0 comments
Open

x/tools/gopls: Option to wrap long lines #42015

rendaw opened this issue Oct 16, 2020 · 0 comments
Labels
Milestone

Comments

@rendaw
Copy link

@rendaw rendaw commented Oct 16, 2020

Recent changes removed the option to prevent gopls from formatting code in the context of VS Code: mvdan/gofumpt#83

gofumpt is specially being integrated into gopls, but this leaves users of other tools like https://github.com/segmentio/golines out in the cold now having to choose between better in-editor diagnostics or code formatting.

I (at least) am not particular about how long lines are automatically wrapped, so if you aren't interested in adding an option to wrap lines perhaps bringing back options that would allow golines to coexist with gopls would be great.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.