Reply to topic

kate and magically moving comments

charterc
Registered Member
Posts
2
Karma
0

kate and magically moving comments

Tue Jun 16, 2015 4:52 pm
I must have tweaked a setting somewhere and have no clue what it was.
say I have the line
Code: Select all
int foo=0;
and proceed to add a trailing comment
Code: Select all
int foo=0; //...

the comment block will jump up to the previous line like so:
Code: Select all
//...
int foo=0;

Any guess on how might stop this maddening behavior?
User avatar scummos
Global Moderator
Posts
1138
Karma
7
OS
Wow, I've never seen that. The only thing that could potentially do that imo is the C++ indenter. Try changing the indenter to something else and see if it still happens.


I'm working on the KDevelop IDE.
charterc
Registered Member
Posts
2
Karma
0
Yes, that's the problem. The C++/ Boost indentation thinks it knows best where I want to place comments. Bug report time. I can fix it by switching to normal or C style

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], garyf, Google [Bot], hbalk, rwayland, Samiur, Sogou [Bot]