Sublime Forum

General configuration file

#1

Nearly all configuration files follow the same format on Linux and now also on Windows:

# comment [section] key = value

Would be nice to have a general cfg/conf/ini/configuration format. The INI format exists but it’s purely Windows INI and not general *nix cfg.

0 Likes

#2

Sublime Text can use TextMate language grammars (.tmLanguage), and I bet one already exists for config files.

0 Likes

#3

I’m asking to get a generic one built-in as there are so many config files which follow this pattern.

0 Likes

#4

Take a look here: INI file syntax definition
I’m using that and php.ini looks great on it.

Also this may help you on editing apache-like conf: github.com/colinta/ApacheConf.tmLanguage

0 Likes