# A tiny bit better autocomplete in Idea

**URL:** <https://openrndr.discourse.group/t/a-tiny-bit-better-autocomplete-in-idea/789>\
**Category:** Tutorials\
**Created:** [October 19, 2026, 8:37am UTC](https://openrndr.discourse.group/t/a-tiny-bit-better-autocomplete-in-idea/789 "2026-10-19T08:37:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [October 19, 2026, 8:37am UTC](https://openrndr.discourse.group/t/a-tiny-bit-better-autocomplete-in-idea/789/1 "2026-10-19T08:37:42Z")

</div>

When you type something like `Rectangle` in IntelliJ Idea, a dropdown window is shown asking you "Which Rectangle do you mean?. Some of the suggested options are not related to OPENRNDR, which can be distracting:

 ![Suggested packages mixing openrndr and awt](https://global.discourse-cdn.com/free1/uploads/openrndr/original/1X/d49a2a1b96034bd93e28f171fdd57888f042717d.png)

But there’s a way to filter out those unwanted options: add a `.idea/codeInsightSettings.xml` file to your project with the following content:

```xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="JavaProjectCodeInsightSettings">
    <excluded-names>
      <name>java.awt</name>
      <name>javax.swing</name>
      <name>sun.awt</name>
      <name>com.sun.awt</name>
    </excluded-names>
  </component>
</project>

```

What this does is to disable suggestions related to `awt` and `swing`, so we get this instead:

 ![After adding the xml file](https://global.discourse-cdn.com/free1/uploads/openrndr/original/1X/d840a0c2b389ff94d38f88b1d129fe3590f5b23f.png)

If there are any additional lines you would add to that xml file, please share! 🙂
