Mac Android Studio 常用快捷键

    xiaoxiao2026-02-28  8

    设置KeyMap

    1>Android Studio ->Preferences 

    2>KeyMap

    Edit

    Go to declaration: command+”B”

    Delete line/block:command+”delete”

    Duplicate line/block:command+”D”

    Find next/Move to next occurrence:command+”G”

    Find previous/Move to previous occurrence:shift +command+”G”

    Select all occurrences:option+command+”G”

    Find:command+”F”

    Find in path:shift +command+”F”

    Find Usage:option+“F7”

    Extend selection:option+”向上箭头”

    Shrink selection:option+”向下箭头”

    Navigate

    Back:command + “[”

    Foreward:command + “]”

    Last edit location:shift+command+backspace

    Toggle bookmark:”F3”

    Show bookmarks: command+”F3”

    Code

    Override method:control+”O”

    Implements method:control+”I”(字母“I”)

    Generate… : command+”N”

    Commend with line commend:command+”/”

    Commend with block commend:command+option+”/”

    Surround with … :command+option+”T”

    Reformat code:command+option+”L”

    Move statement down:command+shift+”向下箭头”

    Move statement up:command+shift+”向上箭头”

    Refactor

    Rename… :shift+”F6”

    Run

    Run app:control +”R”

    Clean and rerun app :command+control+”R”

    Toggle breakpoint:command+”F8”

    View breakpoints:shift+command +”F8”

    转载请注明原文地址: https://ju.6miu.com/read-1307460.html
    最新回复(0)