How can I change editor preferences programmatically?

Hello,

I would like to add to the "Exclude from Import and completion" list through a plugin. What is the best way to do this?

thanks
Siddharth

0
2 comments

com.intellij.codeInsight.daemon.impl.actions.AddImportAction#excludeFromImport should work

0

since I didn't want any UI invoked while changing, I am reading/writing directly from CodeInsightSettings.

0

Please sign in to leave a comment.