refresh tree after extensions change, support file without extensions
Merge pull request #1827 from diegosarmentero/master

refresh tree after extensions change, support file without extensions