Relative Content

Tag Archive for vscode-extensions

Check if vscode extension is enabled/disabled

Is there a VSCode API to check if the extension is enabled or disabled? I have tried using, vscode.extensions.getExtension("<EXTENSION-ID>").isActive but it always returns false.

Snippet filtering by extension inside of a custom-language?

I want to filter out snippets based on just file extension inside our project which uses a single custom language. As a result, I can’t use “scope” since it only applies to languages, and our entire project is just 1 language with many file extension types.

Set a hidden or read-only setting value

Could be possible to store a setting value that doesn’t show in the Setting UI section for a particular extension? a read only setting could be an option too. I just want to avoid that the user manually can change it. The value should be only modified via a particular command.

How to see inline suggestions from tabnine/codium/copilot and the native quick suggestions widget of the vscode, at the same time in VScode?

I have recently started using an ai autocomplete extension on vscode. But now it is facing conflicts with the already present autocomplete feature.
I want that both inline suggestion from the extension and native quick suggestion widget get shown at the same time. And when I press the tab inline suggestion get accepted and with enter the quick suggestion.
Right now when quick suggestion is there, there is no inline suggestions.
you can take reference from the similar kind of question
VS Code suggestion widget and inline suggestions conflict

VS Code Extension For Language Support Only Highlighting Lowercase syntax (want to use uppercase)

I’ve been working on a new vs code exention for MEL (Medical Expression Lanaguage) and I’m running into some issues with it not working with uppercase Syntax. Most of the existing code has uppercase syntax and I would love to be able to copy and paste it into vs code and have syntax highlighting. I’ve been creating an extension to do just that but I’m running into an issue where is it is highlighting the syntax but only if it is completely lowercase. Here are my yo code files: