Any support for code style for .ini files?

I've been looking around for any type of code style support in PHPStorm for .ini files. I can't seem to find any.

I got the pretty colors from the Ini4Idea plugin https://plugins.jetbrains.com/plugin/6981?pr= but I'd like to be able to setup code styles like I can for PHPCode.

 
[letters]
a = 'z'
aa = 'zz'
aaaa = 'zzzz'
aaaaaaaa = 'zzzzzzzz'
aaaaaaaaaaaaaaaa = 'zzzzzzzzzzzzzzzz'
b = 'bbbbbbbbbbbbbbbb'
bb = 'bbbbbbbb'
bbbb = 'bbbb'
bbbbbbbb = 'bb'
bbbbbbbbbbbbbbbb = 'b'
cccccccc = 'c'
cccc = 'cc'
cc = 'cccc'
c = 'cccccccc'

[formattedletters]
a                = 'z'
aa               = 'zz'
aaaa             = 'zzzz'
aaaaaaaa         = 'zzzzzzzz'
aaaaaaaaaaaaaaaa = 'zzzzzzzzzzzzzzzz'
b                = 'bbbbbbbbbbbbbbbb'
bb               = 'bbbbbbbb'
bbbb             = 'bbbb'
bbbbbbbb         = 'bb'
bbbbbbbbbbbbbbbb = 'b'
cccccccc         = 'c'
cccc             = 'cc'
cc               = 'cccc'
c                = 'cccccccc'


Since a picture is worth 1000 words.... this:

Screenshot.png

Am I missing something obvious?

0

Hi there,

There is no settings for .ini code style as all possible settings are basically hardcoded (e.g. "key = value" (spaces around =) ; empty line before [section name] .. not sure if there are any more).

I may only suggest to create Feature Request ticket on Issue Tracker asking for such additional settings.

1
Avatar
Permanently deleted user

"key = value" (spaces around =)

auto install this plugin & auto reformat my ini file

JVM_ARGS="-server xxxxx"

TO

JVM_ARGS = "-server xxxxx"

Kill My Server

 

0

请先登录再写评论。