File -> Setting search by terminal
replace shell path with you cygwin batch
C:devCygwinCygwin.bat
save and exit
reference documents:
https://www.jianshu.com/p/15ed849bcdde