类名
驼峰式,首字母大写。例如:
ChinaCity
函数名
驼峰式,首字母小写。例如:
onCreate
findViewById
VIM 代码缩进原则
autocmd FileType kotlin setl shiftwidth=4 tabstop=4 softtabstop=4 colorcolumn=79 expandtab
TAB 需要转换为空格,目前设置为跟 Python 一样的规则。
驼峰式,首字母大写。例如:
ChinaCity
驼峰式,首字母小写。例如:
onCreate
findViewById
autocmd FileType kotlin setl shiftwidth=4 tabstop=4 softtabstop=4 colorcolumn=79 expandtab
TAB 需要转换为空格,目前设置为跟 Python 一样的规则。