Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android int replaced with android.R.integer in eclipse

Probably a simple one but I can't seem to find out where to stop this. Each time I type in

int

it gets instantly replaced with

integer

and the package

import android.R.integer;

is automatically included.

Anyway of stopping this from happening in Eclipse?

Thanks

like image 339
tempvar Avatar asked Nov 19 '12 08:11

tempvar


1 Answers

Perhaps you may try this:

Preferences -> Java -> Code Style -> Organize Imports -> (check) Do not create imports for types starting with a lowercase letter

I'm not sure if it helps but lets give a try :)

like image 94
waqaslam Avatar answered Oct 20 '22 15:10

waqaslam