add 'view,new  snippet'