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

Setting lua.format.lineWidth seems to no longer work in VS code #51

Open
daw00kie opened this issue Jul 6, 2018 · 3 comments
Open

Setting lua.format.lineWidth seems to no longer work in VS code #51

daw00kie opened this issue Jul 6, 2018 · 3 comments
Labels

Comments

@daw00kie
Copy link

daw00kie commented Jul 6, 2018

It just uses the default of 120 no matter what you put in

@trixnz
Copy link
Owner

trixnz commented Dec 23, 2018

I haven't been able to reproduce this, is this still an issue in later versions of VSCode? Its working as intended in my version:

Version: 1.31.0-insider (user setup)
Commit: e02e44464c02d617b98d0a3265bf5efef7794436
Date: 2018-12-21T06:20:35.852Z
Electron: 3.0.10
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17763

@trixnz trixnz added the bug label Dec 23, 2018
@geoffw123
Copy link

Can someone please explain, how or where I set the lua.format.lineWidth = x

This extension is great, but documentation is a bit lacking :(
Thanks

@mcbits
Copy link

mcbits commented Aug 22, 2019

@geoffw123 That is a setting that the extension supplies to VSCode.

Nowadays there is a GUI for settings (ctrl+comma), but there is also a tiny button to open the underlying settings.json file, and that's where you would see/change the "lua.format.lineWidth" value if you change it from the default 120.

In the GUI it appears as "Lua > Format: Line Width".

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

No branches or pull requests

4 participants