How to expand C++ macro in Android Studio? -


i writing c++ code in android studio , using macros. example:

#define use_key(param) "key_" #param, param void keys::savetopreferences() {      setstring(use_key(token)); } 

i want see expansion of macro in ide verify working expect (same available in eclipse in explore macro expansion functionality).

so example macro expansion be:

setstring("key_" "token", token); 

is feature available in android studio?

found answer. feature called macro replacement , not expansion in android studio. available default when hover on macro mouse (you need expand box see this):

screen shot android studio


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -