Can i set a custom line width (Hard wrap at) different file
Can i set a custom line width (Hard wrap at) for different file/folder
for example, in my routes folder, i want the Hard wrap at:120 because at 80 the routes wrap is hard to look at
as in another file, I would like to keep the hard wrap at 80
Please sign in to leave a comment.
There is no way to specify different code styles on a per-scope or a per-file basis.
However, it works fine with the .editorconfig support. So, you may create different .editorconfig files in each folder respectively, that should do the trick:
The option that you are looking for is called "max_line_length".
Hope it helps!
Thnx