I am using Webstorm 7 and want to set a max line length in the view to be 80 and not 120 (as the default ruler is set to).
I've searched all over and the closest I can find is the JSLinter (https://www.jetbrains.com/webstorm/webhelp/jslint.html) but I cannot seem to see how to actually change the ruler in the IDE.
Question: How do I set the ruler for the line length in Webstorm 7?
This rule has a number or object option: "code" (default 80 ) enforces a maximum line length. "tabWidth" (default 4 ) specifies the character width for tab characters. "comments" enforces a maximum line length for comments; defaults to value of code.
In VSCode, go 'Code -> Preferences -> Settings' and search for "python formatting black args". A few notes about line lengths in Python: PEP8 recommends a line length of 79 characters (72 for docstrings) Black sets line lengths to 88 characters by default.
Settings > Editor > Code style > Hard wrap at [...] columns (default is 120)
Quite late to the party and wrong version of Webstorm. But I got sent here by Google and in latest Webstorm (version 10) this option has been moved to Preferences > Editor > Code style - Right margin (columns).
Hope it helps someone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With