[Ide] Only initialize the Extension Chain for files.