Indentation errors
Opened this issue · 0 comments
SHU-red commented
I have some weird indentations, no matter if talking about rules, items or anything else ...
config-file is untouched from openhabian or alternatively using this configuration when accessing through my local machine via ssh im using this config:
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set listchars=tab:\¦\ ,extends:>,precedes:<,space:·
set list
Examples
after auto-format code by typing in
gg=G
rules-file
rule "LoggingTaskStartup"
when
System started
then
// Set Values
// Because rdd4j-persistence does not store strings
lTim_Str.sendCommand("")
lTop_Str.sendCommand("")
lTxt_Str.sendCommand("")
lCol_Str.sendCommand("")
lAct_Str.sendCommand("")
lActCom_Str.sendCommand("")
lActItm_Str.sendCommand("")
lActTxt_Str.sendCommand("")
lIco_Str.sendCommand("")
lDel_Num.sendCommand(-1)
end
items-file
// Socket
Switch dSckLvngRoomTv_Swt "Fernseher" (dDevLeavFct_GrpSwt) {ga="Switch"}
Number dSckLvngRoomTv_PowConsCurr_Num
Number dSckLvngRoomTv_PowConsYstd_Num (cHou_PowConsYstd_GrpNum)
Switch dSckBedRoomTv_Swt "Fernseher" (dDevLeavFct_GrpSwt) {ga="Switch"}
Number dSckBedRoomTv_PowConsCurr_Num
Number dSckBedRoomTv_PowConsYstd_Num (cHou_PowConsYstd_GrpNum)
Switch dSckOffcPeri_Swt "Bildschirm" (dDevLeavFct_GrpSwt) {ga="Switch"}
Number dSckOffcPeri_PowConsCurr_Num
Number dSckOffcPeri_PowConsYstd_Num (cHou_PowConsYstd_GrpNum)
Switch dSckOffcPc_Swt
Number dSckOffcPc_PowConsCurr_Num
Number dSckOffcPc_PowConsYstd_Num (cHou_PowConsYstd_GrpNum)
// GoogleHome
Group dGoo_Stop_GrpSwt
Group dGoo_Vol_GrpDim
Switch dGoo_StopMan_Swt
Am i doing something wrong or did i miss to provide information?