Android Open Source - AndroidStudioSandbox Android Studio Shortcuts






From Project

Back to project page AndroidStudioSandbox.

License

The source code is released under:

Apache License

If you think the Android project AndroidStudioSandbox listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package at.mg.androidstudiosandbox;
/*from www . j av a2s  . c o m*/
import android.text.TextUtils;
import android.widget.Toast;

/**
 * Created by Markus on 26.09.2014.
 *
 * list of key shortcuts and sandbox for AndroidStudio features
 *
 *
 *
 * Common shortcuts:
 *
 * SmartType Ctrl + Shift + Space
 * to insert possible values
 *
 * Alt + Enter
 * for quick help
 *
 *
 * Shift + Mouseclick close an open tab when clicking on it
 *
 *
 *
 * Alt + Insert show a code generator
 */
class AndroidStudioShortcuts {


    /**
     * rename with Shift + F6
     *
     * @param messages
     * @return
     */
    private final boolean rename(String messages){
        String mes;
        if(TextUtils.isEmpty(messages)){
            return false;
        }

        //press Alt + Enter to create an int
        messages.charAt(1);

        //change to messages.concat("t") with Ctrl + Space and then Tab --> replace split
        messages.split("t");


        if(messages.equals("rename")){
            return true;
        }

        return false;
    }

    /**
     * override methods with Ctrl + O
     * @return
     */
    @Override
    public String toString() {
        return "AndroidStudioShortcuts";
    }


}




Java Source Code List

at.mg.androidstudiosandbox.AndroidStudioShortcuts.java
at.mg.androidstudiosandbox.ApplicationTest.java
at.mg.androidstudiosandbox.WearHomeActivity.java
at.mg.androidstudiosandbox.activities.HomeActivity.java
at.mg.androidstudiosandbox.activities.ToolbarActivity.java
at.mg.androidstudiosandbox.activities.VoiceSearchableActivity.java
at.mg.androidstudiosandbox.adapters.RecyclerAdapter.java
at.mg.androidstudiosandbox.fragments.NavigationDrawerFragment.java
at.mg.androidstudiosandbox.fragments.PlaceholderFragment.java
at.mg.androidstudiosandbox.fragments.RecyclerFragment.java
at.mg.androidstudiosandbox.things.RecyclerDataObject.java
at.mg.androidstudiosandbox.things.RecyclerListViewHolder.java