Disable SourceKit-LSP for C files

Is there a way to disable the VS Code extension for non-Swift files?

I'm using a different extension for C files, and have to disable SourceKit-LSP every time I edit a C file, otherwise it takes over and pops up the output window to show errors.

I'm not sure what the best way to do this is. Our extension gets an activation event based on this static list of languages and then we say again what documents we support when we create the language client. In theory we could probably add configuration options for this, but maybe vscode has a better global way to configure this? It seems like you don't even really want to activate our extension in this case.

Terms of Service

Privacy Policy

Cookie Policy