How do you stop Eclipse from inserting a certain class in Content-Assist?

Posted by fletchgqc.mp on Stack Overflow See other posts from Stack Overflow or by fletchgqc.mp
Published on 2010-05-25T11:51:28Z Indexed on 2010/05/25 12:01 UTC
Read the original article Hit count: 159

Filed under:
|
|
|

I'm using SpringSource Tool Suite (Eclipse) to program with Grails, and I'm also using JFreechart in the program.

In Grails you log by typing log.info("method worked"). Unfortunately JFrechart has a class called "Log" with Static methods like "info". This means that in STS I type log.info and then when I type space or ( Eclipse "assists" me by importing the JFreechart Log class and changing what I've typed to Log.info(message). Very irritating.

I reckon I could turn off the Eclipse option to "insert single proposals automatically", but I like this feature. Can I instruct Eclipse not to give me content assist from this particular JFreechart class?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about grails