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

2 comments
Comment actions Permalink

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

0
Comment actions Permalink

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.