You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tool to comment/uncomment Lines could be more elegant, adding all the # to the BEGINNING of lines!
And I saw a bug, it failing today, couldn't uncomment had to use REPLACE tool.
Works well to comment, but to uncomment, FAILED.
My suggestion is like this:
Nowadays | Desired
----------------------------------------------------
# code # code
# code # code
# code # code
The text was updated successfully, but these errors were encountered:
You did not mention which language you were working in. From the '#', I suspect it was Python.
Note that uncommenting with ^E only works if the line was commented with the same command.
By default, Geany comments with '# ~ ' (you can change that in Preferences | Editor | Toggle comment marker).
Take care with the '' (space) at the end of that field - it's there! Of course '#' is implied - that depends on Python.
So, if you comment with ^E, it inserts '# ~ '. If you try to uncomment, that will only work if it finds '# ~ ' in the line(s).
About the comment formatting - That is a question of taste, I'm afraid...
Since nobody has asked for this formatting before (@osergioabreu you did search for existing open or closed issues before you raised this didn't you? 😁) users either don't care because they only use it to temporarily comment out code and will remove it quickly, or they like it like that.
So if "somebody" made a pull request which made the formatting an option it likely would be accepted so both tastes are accommodated.
Or it was put in a plugin (if it isn't in one already?)
The tool to comment/uncomment Lines could be more elegant, adding all the # to the BEGINNING of lines!
And I saw a bug, it failing today, couldn't uncomment had to use REPLACE tool.
Works well to comment, but to uncomment, FAILED.
The text was updated successfully, but these errors were encountered: