syntax selection from extension