Morten Fyhn Amundsen

Results 26 comments of Morten Fyhn Amundsen

I would also really love to have this made possible, maybe as a default off option (although Black doesn't like having too many options, which I respect). For what it's...

> [...] > > ```python > # this is a very long comment that should probably be on multiple lines if I was to decide > > # this is...

Just for reference, here are some examples of how ClangFormat handles inline comments: ```cpp int main() { int fairly_long_variable_name_1 = 9384759837459; // Short inline comment. int fairly_long_variable_name_2 = 9384759837459; //...

My opinion: > I want this feature so much, but I don't think it is possible to do it in a sensible way. > > Does this > > ```python...

> The concern raised about commented code goes the other way too. If we have a line that is just under the limit, and is then commented, bringing it over...

I think the main issue is that Black fixes all of your too-long code lines, but not your too-long comment lines. So if you format to some line length with...

Maybe we just need to write a separate tool for this, outside of Black? While I personally would like to have this feature in Black, because it would be convenient...

Looks like a bad font. Have you selected one of the powerline patched fonts for your terminal? If you have, you could try another.

This would be great. I love difftastic, but it's inconvenient to not easily see what's changed between two long strings. I notice this in Python and C++, but I suppose...

I've updated our systems so they run v0.6.13 now, and it certainly works. Thank you!