How to fix Engine Idle issue.
Air filter (gets clogged easily due to oily filter, Clean Air intact valve sensor (Canadian tire has mass air flow system sensor cleaner)
Use good gas station. use injector cleaner. change engine oil on time. Try disconnect battery and reconnect to boot the computer. Hope fully will help. It worked on mine Touring CIVIC Turbo 2016.