In the picture, the editor’s built-in completion function has been disabled due to the installation of a plugin. How can we achieve a similar effect through the API
To best of my knowledge you can’t do that via API
What should be done to achieve a similar effect as shown in the picture
Just in case, does it work if you create an empty .noai
file in your project?
The JetBrains AI Assistant is supposed to disable itself when this file is present. I can’t say for the other integrated AI-powered features.
Is it created like this, but I’ve tried it and it seems like JetBrains AI Assistant hasn’t been disabled yet
It does not disable the plugin, only its features. Restrict or Disable AI Assistant features | AI Assistant Documentation
But, I don’t know it this is helpful here.
I tried, but it didn’t work. I think this can be used for the creation of the current project. What I want is to develop a plugin, install it, and then disable JetBrains AI Assistant. Instead of manual operation
I’m not sure if a plugin should be able to disable other plugins… Users can still disable the AI Assistant and/or all the other AI-related plugins, and that’s it. The AI Assistant plugin no longer reactivates itself silently or on IDE upgrade (I know this was an issue in the past, but that’s fixed now).
Otherwise, there could be some alternatives (I did not check):
- (free) populate the
disabled_plugins.txt
file to include the AI Assistant plugin - (paid) if you’re in a corporate environment, your company can manage a list of authorized plugins. JetBrains has an offer for that. I think this is IDE Provisioner by JetBrains
I added the ID of the AI Assistant plugin in the disabled. plugins. txt file. Is this ID correct or does it have no effect? Is it a problem with where I configured it
Why can other plugins disable this completion
Oh, wait, I think this completion is not handled by the AI Assistant. You may want to disable these:
Disable them in your IDE, then you will find their ID in the generated disabled_plugins.txt file.
Also, I see you’re trying to disable plugins in a sandboxed IDE? You may want to proceed this way: Disabling plugins during dev deployments? e.g. codeWithMe - #2 by jonathanlermitage.1
These are the plugin IDs that come with 5 editors, all of which are included, but still have no effect
This is the effect of my plugin, which was not disabled. I am curious about how the image plugin I posted above was disabled
I’m not sure to understand. In the last screenshot, the code completions are all disabled. So, it worked?