美文网首页
Mac版Android studio --- flutter开发

Mac版Android studio --- flutter开发

作者: 肉肉要次肉 | 来源:发表于2023-06-01 10:32 被阅读0次

抽取方法(extract method) option+command+m

style抽取(refactor--extract--style自己设置的)    Ctrl+command+m

复制整行(duplicate Entire Lines)  command+d

删除整行(Delete Line)  command+delect

大小写转换(Toggle Case)        command + Shift + U

注释代码(comment with line comment)      command + /

注释代码(comment with block comment)  command + Shift + /

格式化代码 (reformat code)        Ctrl + option + L

清除无效包引用(优化导入的类和包 optimize imports)    option + Ctrl + O

查找 (find)              command + F

查找+替换 (replace)        command + R

全局查找(Edit ->Find ->find in path)    command+Shift+F

全局替换: (Edit ->Find -> Replace in path)  command+Shift+R

重构-重命名(rename)        Shift+F6 

快速定位错误代码(next highlighted error)      F2

自动生成全局变量(field)      option+command+F

自动生成局部变量 (variable)    option+command+V

可以跳转到上次编辑的地方    command+Shift+Backspace

光标多选(操作多个地方):option + shift +鼠标点击

相关文章

网友评论

      本文标题:Mac版Android studio --- flutter开发

      本文链接:https://www.haomeiwen.com/subject/xsuuedtx.html