I've been using vs2013 for quite some time and noticed something that is quite bothering me.
In the Code Editor, lines that contain nothing but symbols (such as '{', '/' '*' etc..) have a different line‑height / font‑size than other lines that also contain letters.
I search through the settings and couldn't find a way to turn this behavior off.
My question is if there's a way to turn this behavior off, and have consistent line heights throughout my entire code.
For VS 2015/2017/2019 After installing it, just go to the Tools menu > Options > LinePress > Options and there you can change the line height of the text editor to your liking.
Type “Indentation” into the search field then head to the “Editor: Tab Size” section. Replace the default space number with your preferred one: Your setting will be applied and reflected immediately. If this doesn't happen (it's a little lag sometimes), just reload or restart your VS Code.
=>for multiline at same time you can use Shift + Alt + Up/Down arrow key then edit your code or remove/add space.
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.
You probably have Productivity Power Tools installed with Syntactic line compression enabled. You can turn it off in VS Options - Productivity Power Tools - Other Extensions.
For the VS2019 it is quite similar to the provided solutions:
Tools -> Options-> Productiviry Power Tools -> General
Under "Syntatic line compression options" you uncheck: "Compress lines that does not have any alphanumeric characters" like {,[ and so on
You also can uncheck "Compress blank lines" but this will be only for lines without anything in it.
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