-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
- PyDev Formatter version: Included in PyDev 9.3.0.220203051235
- Python version: 3.10.7 (via pyenv)
- Operating System: Ubuntu 20.04
Description
In the Eclipse preferences (PyDev>Editor>Code Style>Code Format), I have the "Use space before and after operators" checked. However, when I format code where a line has been wrapped with several instances of the "+" operator, the space after the operator gets removed.
Apparently it's getting confused between cases where we are adding things, and cases where "+" is the sign.
What I Did
This code:
result = some_function(some_list_with_a_long_name
+ some_other_list_with_a_long_name
+ yet_another_list)gets formatted like this:
result = some_function(some_list_with_a_long_name
+some_other_list_with_a_long_name
+yet_another_list)
^Metadata
Metadata
Assignees
Labels
No labels