Home Download Buy Blog Forum Support

Naming conventions for settings

Naming conventions for settings

Postby bizoo on Tue Apr 19, 2011 12:17 pm

Are there any naming conventions for settings in plugins to avoid name clash (and to easy identify them) ?
Something like:
plugin_<plugin name>_<setting name>
eg:
plugin_word_highlight_color_scope_name

What bother me is that it's really long.
Maybe simply:
_<plugin name>_<setting name>
eg:
_word_highlight_color_scope_name

What do you think about ?
bizoo
 
Posts: 880
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 4 guests