https://bugs.kde.org/show_bug.cgi?id=452158

            Bug ID: 452158
           Summary: block comment should start with '# '
           Product: kate
           Version: 21.12.3
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: indentation
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: opendr...@gmail.com
  Target Milestone: ---

Created attachment 147886
  --> https://bugs.kde.org/attachment.cgi?id=147886&action=edit
Block comment should start with '# ' (E265)

SUMMARY
When commenting code in Python with ctrl + d, there is no space between the #
and the code.
LSP shows the following error:
Block comment should start with '# ' (E265)
Python Recommendations
https://peps.python.org/pep-0008/#block-comments

Also, if the code is indented, then # is not placed at the beginning of the
line and LSP also show an error.
Unexpected indentation (comment) (E116)
Python Recommendations
https://peps.python.org/pep-0008/#indentation

Is it possible to fix this? It is very inconvenient to fix it by hand every
time.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220330
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2
Kernel Version: 5.16.15-1-default (64-bit)
Graphics Platform: X11

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to