Inline substituion for resource strings

I'm missing something obvious but as a newbie to Intellij I'm kind of like a rabbit in the headlights with so many great options.

Somehow the code editor replaced some Java call for fetchnig resource string values with the actual strings (hiliting the string text black in zenburn theme). e.g

Log.d("ASYNC", c.getString(R.string.eoa));

read as

Log.d("ASYNC", "End of Asynchronous Call"); //<--- string text was black

What's this functionality called in the editor formatter and how do I use/turn it off?

EDIT : here is what I mean after I restarted the IDE following make processes not ending : note the cursor over the string value pops up the actual code. How do I manually trigger/toggle this?

shot-20140121-01.58.11.jpg

thanks

r.

1 comment
Comment actions Permalink

Ha. I've answered my own Q : it's a form of folding.

C+/- does the job.

Hopefully not too much noise : I'll leave the query there in case it helps anyone else.

http://confluence.jetbrains.com/display/IntelliJIDEA/Folding

regards

r.

0

Please sign in to leave a comment.