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

Different settings for each language/project

Tags: None
(comma "," separated)
vincentg
Registered Member
Posts
10
Karma
0
Hello,
I don't see anything in the preferences to set different settings depending on the language or the project.
For example, in the python project I'm working on, the tabulation is 4 spaces while the lua project I have uses 2 spaces. Is there a way to set such things automatically?

Thanks!
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Yes, this can easily be set up by using Kate's Modelines feature. Look in Settings -> Editor -> Open/Save -> Modes&Filetypes under Variables.


I'm working on the KDevelop IDE.
vincentg
Registered Member
Posts
10
Karma
0
Awesome, thank you! :)


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell