Setting Languages with Keyboard Shortcuts
If you often switch between the same languages, assign a keyboard shortcut to each of them:
Make sure that the language is active, which means it’s selected in Settings > Languages. For more about active languages, see Active Languages.
Choose Editor > Syntax Coloring from the menu bar and note the name of the language you want a shortcut for, such as
Objective-C.Open System Settings, select Keyboard in the sidebar, then click Keyboard Shortcuts.
Select App Shortcuts in the list on the left, then click the + button below the list on the right.
Click the Application pop-up menu and choose SnippetsLab. In the Menu title field, enter the exact name of the language from step 2. In the Keyboard shortcut field, press the key combination you want to use.
Click Done.
Press the assigned keyboard shortcut to set the language of the current snippet.
To learn more about app-specific shortcuts, see Create keyboard shortcuts for apps.