In the latest release kdevelop (and kate) seems to be misbehaving for me. When I edit .coffee (but applies to other file types too) files. If I have a construct e.g. $(".uploads > li").on 'click', -> and I position myself at the end of line and press return the cursor moves underneath the $ and I then press tab to indent. All well and good so far. I then type 3 characters and the line shifts one tab to the left. If I don't notice it and retab I get an error when trying to test the code. It doesn't appear to matter what settings I have Configure -> Editing -> Indentation Any help much appreciated. Kieran
This is a bug in KTextEditor, I think affected versions are .36 and .37 or something like that. Sorry. Either update to a newer version of KTextEditor, downgrade to an earlier one, or use the AppImage from kdevelop.org/download.
IIRC what you can also do as a stupid workaround is to set the indenter to cstyle for all cases you care about, that should not have this issue.
Created attachment 108978 [details] attachment-28735-0.html I am on 38 from fedora 26 updates testing. That has the bug. Kieran On Mon, 20 Nov 2017, 12:11 Sven Brauch, <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=387148 > > --- Comment #2 from Sven Brauch <mail@svenbrauch.de> --- > IIRC what you can also do as a stupid workaround is to set the indenter to > cstyle for all cases you care about, that should not have this issue. > > -- > You are receiving this mail because: > You reported the bug.
Yeah, I just checked -- actually, it's only fixed in .40+ :/