auto open project dir when ino file is opened
update
add some improvements