This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to show white spaces in the beginning of a line?

Tags: None
(comma "," separated)
bazinevis
Registered Member
Posts
6
Karma
0
Hi I want Kdevelop to show white spaces in the beginning of a line.
Now I can show trailing white spaces but I think there is not any option to show all the white spaces.

Here is the picture of KDevelop with showing trailing white spaces:
Image

I would like something like this:
Image

How can I do that?
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Sorry, not possible right now as far as I know.


I'm working on the KDevelop IDE.
bazinevis
Registered Member
Posts
6
Karma
0
I can't understand philosophy behind showing only trailing white spaces. I think showing leading white spaces is more important than trailing ones. Because they are necessary for checking indentations.
flherne
Registered Member
Posts
23
Karma
0
bazinevis wrote:I can't understand philosophy behind showing only trailing white spaces. I think showing leading white spaces is more important than trailing ones. Because they are necessary for checking indentations.


KDevelop does show indentation, see the line immediately below your cursor.

It also shows tab characters, so all the information is there.
bazinevis
Registered Member
Posts
6
Karma
0
I just want KDevelop to show the space characters.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
bazinevis wrote:I can't understand philosophy behind showing only trailing white spaces. I think showing leading white spaces is more important than trailing ones. Because they are necessary for checking indentations.

The philosophy is that you will notice wrong leading whitespace anyways because your code is misindented (lines not aligned optically; indent lines don't look correct), while trailing whitespace is completely invisible.

I understand your wish and it's a valid idea, but kdevelop just doesn't have this feature at the moment.


I'm working on the KDevelop IDE.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]