A tiny bit better autocomplete in Idea

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:

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 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:

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

4 Likes

hmm I should check it up next time I open Idea and code even though it may be annoying to some people for me I find this feature is always because some times I like to see what else I can do or try to experiment with things without the need to go to the documentation it is something like let see what error this rectangle will throw or maybe I find something interesting

This and many other IDE improvements are going to be part of the v2.0 OPENRNDR Idea plugin: