Setting lua.format.lineWidth seems to no longer work in VS code
It just uses the default of 120 no matter what you put in
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
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
@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".