How do you determine which formatter is being used for VS Code?

Starting with the 1.33 release (March 2019), attempting to format a file for which there are multiple formatters registered results in a popup like this: Note that the notification is “silent” if formatting happened implicitly via “format on save” or “format on paste”, meaning that you need to click the bell in the lower right … Read more

Create Custom Language in Visual Studio Code

It’s possible with the new version 0.9.0. There’s an official documentation on how to add a custom language: https://github.com/microsoft/vscode-docs/blob/main/release-notes/v0_9_0.md You need a .tmLanguage file for the language you want to add. You can find existing files e.g. on GitHub or you can define your own language file. Look here to get an idea of how … Read more