cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Visual studio keep aligning assignment o
Visual studio keep aligning assignment operator
Mar 16, 2024 at 12:32am UTC
rudiHammad
(19)
Hi,
I want to turn off this type of formatting
1
2
someLongVariable =
false
; shortVar =
true
;
I prefer this
1
2
someLongVariable =
false
; shortVar =
true
;
I went to tools | options | c/c++ | code style | formatting | spacing and set the option don't change spaces around assignment operators. But it keeps doing it when I create a new assignment in the next line.
Any idea how to turn that off?
thanks
Mar 20, 2024 at 2:18am UTC
rudiHammad
(19)
found it.
In text editor | all languages | tabs | indenting -> check block. NOT smart.
Topic archived. No new replies allowed.