Code formatter and negative numbers
Brought to you by:
fabioz
The issue is with negative numbers if Auto-Format is on, and "use space before and after operators" is selected.
This has already been addressed in 2682974, but still does not seem to work in some cases.
E.g., while in the line "a = -1" no blank is inserted before "1", in the line "return -1" the blank is still inserted, i.e. I get "return - 1".
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "(deprecated) Please use https://www.brainwy.com/tracker/PyDev/"
Same problem here.
It formats dictionaries badly:
{'test': -1} goes to {'test':-1}
as well as keywords badly:
enumerate([1, 2, 3], start=-6) goes to enumerate([1, 2, 3], start= -6)
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "(deprecated) Please use https://www.brainwy.com/tracker/PyDev/"
Note: I am on pydev 2.5.0 with eclipse 3.7
Thanks,