PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, April 28, 2022

[FIXED] How to turn off Eclipse warning "The import is never used"?

 April 28, 2022     eclipse, eclipse-plugin, warnings     No comments   

Issue

I have a lot of this warnings in project and I would like to turn it off. I'm not interested in removing those imports, so please don't tell me how to do it.

I'm using eclipse 3.4.2.


Solution

To change for the entire workspace:

Window > Preferences > Java > Compiler > Errors/Warnings > Unused Import > Ignore.

To override workspace settings for a single project:

Project > Properties > Java Compiler > Errors/Warnings > Unused Import > Ignore.



Answered By - Isaac Truett
Answer Checked By - Katrina (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing