SlideShare une entreprise Scribd logo
1  sur  11
WELCOME TO THIS PRESENTATION
Topic:
SHORTCUT KEYS IN ANDROID STUDIO
GROUP MEMBERS:
• ATIQ-UR-REHMAN 20-ARID-3438
• HAMMAD NAWAZ 20-ARID-3460
• NAJEEB-UR-REHMAN 20-ARID-3532
Introduction
Android Studio is the official integrated development
environment (IDE) for developing Android apps. It
provides a comprehensive set of tools and features to
streamline the app development process.
Android
Studio
Importance of Shortcut Keys
Using shortcut keys in Android Studio can greatly
improve your coding efficiency and productivity. By
memorizing and utilizing these shortcuts, you can
perform common tasks quickly and easily, saving
time and effort.
Basic Navigation
• To navigate between open files, use Ctrl + Tab.
• To navigate to a specific file, use Ctrl + Shift + N
and type the name of the file.
Moving Between Classes
Moving Between Files
• To navigate to a class, use Ctrl + N and type the name of the class.
• To navigate to a symbol (method, variable, etc.) within a class, use
Ctrl + Shift + Alt + N and type the name of the symbol.
Moving Between Methods
• To navigate to a method, use Ctrl + F12 and type the name of the method.
• To navigate to the declaration of a method, use Ctrl + B.
• To navigate back to the previous location, use Ctrl + Alt + Left.
Code Editing
• Copy: Ctrl + C
• Paste: Ctrl + V
• Delete the current line: Ctrl + Y
• Duplicate the current line: Ctrl + D
General Editing Commenting Code
• Comment: Ctrl + /
• Uncomment: Ctrl + Shift + /
Code completion
• Control + Space: Displays basic
suggestions for variables, types,
methods, expressions,
• Control + Shift+ Space: Displays
relevant options based on the context.
Search
• Shift + F3: Find Next/Previous
• Ctrl + Shift + B: Find Implementations
• Ctrl + F7: Find Usages/Find Usages in File
Refactoring
• Use the shortcut Shift + F6 to
quickly rename variables
throughout your codebase.
• Use the shortcut Ctrl + Alt + M to
extract a block of code into a
separate method.
Renaming Variables Extracting Methods
Optimizing Imports
• Use the shortcut Ctrl + Alt + O to
remove unused imports and organize
the remaining ones.
Debugging
• Set a breakpoint by clicking on the left margin of a
line of code.
• Toggle a breakpoint by pressing Ctrl+F8.
• Remove a breakpoint by clicking on the
breakpoint icon in the left margin of the code
editor.
• Step over a line of code by pressing F8
• Step into a method by pressing F7
• Step out of a method by pressing Shift+F8
Breakpoints Stepping Through Code
Inspecting Variables
• View the value of a variable by hovering over it
with the mouse.
• Add a variable to the Watches window by right-
clicking on it and selecting 'Add to Watches'.
• Evaluate an expression by typing it into the
'Evaluate Expression' window.
Build and Run
• Ctrl + F9 - Compile the current
file
• Shift + F9 - Compile and run the
current file
• Shift + F10 - Run the app
• Shift + F9 - Debug the app
• Ctrl + Shift + F10 - Run all
tests in the current file
• Ctrl + Shift + F9 - Debug all
tests in the current file
Compiling Code
Deploying the App
Running Tests
Version Control
• Ctrl + T - Update project from the repository.
• Ctrl + Shift + T - Update project from the
repository and rebase local changes.
Updating from Repository
• Ctrl + K - Commit changes to the
repository.
• Ctrl + Shift + K - Push commits to the
remote repository.
Committing Changes Resolving Conflicts
• Ctrl + Alt + Shift + R - Resolve
conflicts in the current file.
• Ctrl + Alt + Shift + G - Resolve
conflicts in the entire project.
Other Shortcuts
• Ctrl + F: Find
• Ctrl + R: Replace
• Ctrl + Shift + F: Find in Path
• Ctrl + Shift + R: Replace in Path
Navigating to Specific Lines
• Ctrl + G: Go to Line
• Ctrl + E: Recent Files
• Ctrl + Shift + E: Recent Locations
• Ctrl + B: Go to Declaration/Definition
• Ctrl + Alt + O: Optimize Imports
• Ctrl + Alt + L: Reformat Code
• Ctrl + Shift + Alt + L: Reformat File
Organizing Imports
Searching for Code
Shortcut keys of Android Studio , Complete about android studio

Contenu connexe

Similaire à Shortcut keys of Android Studio , Complete about android studio

Getting the Most from Xamarin Studio - Michael Hutchinson
Getting the Most from Xamarin Studio - Michael HutchinsonGetting the Most from Xamarin Studio - Michael Hutchinson
Getting the Most from Xamarin Studio - Michael Hutchinson
Xamarin
 
IntelliJIDEA_ReferenceCard.pdf
IntelliJIDEA_ReferenceCard.pdfIntelliJIDEA_ReferenceCard.pdf
IntelliJIDEA_ReferenceCard.pdf
DvrIsis2
 
c programming L-1.pdf43333333544444444444444444444
c programming L-1.pdf43333333544444444444444444444c programming L-1.pdf43333333544444444444444444444
c programming L-1.pdf43333333544444444444444444444
PurvaShyama
 

Similaire à Shortcut keys of Android Studio , Complete about android studio (20)

Productivity Hero. Know Your Tools
Productivity Hero. Know Your ToolsProductivity Hero. Know Your Tools
Productivity Hero. Know Your Tools
 
Zend Studio Tips and Tricks #zendcon 10
Zend Studio Tips and Tricks #zendcon 10Zend Studio Tips and Tricks #zendcon 10
Zend Studio Tips and Tricks #zendcon 10
 
Andrii Yatsenko "Make the most of Twig"
Andrii Yatsenko "Make the most of Twig"Andrii Yatsenko "Make the most of Twig"
Andrii Yatsenko "Make the most of Twig"
 
40 Powerful Shortcuts of Xcode 6.x
40 Powerful Shortcuts of Xcode 6.x40 Powerful Shortcuts of Xcode 6.x
40 Powerful Shortcuts of Xcode 6.x
 
Rstudio ide-cheatsheet
Rstudio ide-cheatsheetRstudio ide-cheatsheet
Rstudio ide-cheatsheet
 
Rstudio ide-cheatsheet
Rstudio ide-cheatsheetRstudio ide-cheatsheet
Rstudio ide-cheatsheet
 
C++11 Was Only the Beginning
C++11 Was Only the BeginningC++11 Was Only the Beginning
C++11 Was Only the Beginning
 
Getting the Most from Xamarin Studio - Michael Hutchinson
Getting the Most from Xamarin Studio - Michael HutchinsonGetting the Most from Xamarin Studio - Michael Hutchinson
Getting the Most from Xamarin Studio - Michael Hutchinson
 
IntelliJIDEA_ReferenceCard.pdf
IntelliJIDEA_ReferenceCard.pdfIntelliJIDEA_ReferenceCard.pdf
IntelliJIDEA_ReferenceCard.pdf
 
Object Oriented Programming using C++ - Part 1
Object Oriented Programming using C++ - Part 1Object Oriented Programming using C++ - Part 1
Object Oriented Programming using C++ - Part 1
 
C++: a fast tour of a fast language
C++: a fast tour of a fast languageC++: a fast tour of a fast language
C++: a fast tour of a fast language
 
IntelliJ IDEA Default Keymap
IntelliJ IDEA Default KeymapIntelliJ IDEA Default Keymap
IntelliJ IDEA Default Keymap
 
Sublime
SublimeSublime
Sublime
 
IntelliJ IDEA - Gems you can find inside
IntelliJ IDEA - Gems you can find insideIntelliJ IDEA - Gems you can find inside
IntelliJ IDEA - Gems you can find inside
 
c programming L-1.pdf43333333544444444444444444444
c programming L-1.pdf43333333544444444444444444444c programming L-1.pdf43333333544444444444444444444
c programming L-1.pdf43333333544444444444444444444
 
Working Effectively with Routine Tasks
Working Effectively with Routine TasksWorking Effectively with Routine Tasks
Working Effectively with Routine Tasks
 
Sql dbx
Sql dbxSql dbx
Sql dbx
 
Word keyboard shortcuts
Word keyboard shortcutsWord keyboard shortcuts
Word keyboard shortcuts
 
Php storm reference_card
Php storm reference_cardPhp storm reference_card
Php storm reference_card
 
Эффективная работа с рутинными задачами
Эффективная работа с рутинными задачамиЭффективная работа с рутинными задачами
Эффективная работа с рутинными задачами
 

Dernier

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
heathfieldcps1
 

Dernier (20)

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
How to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryHow to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 Inventory
 
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
ANTI PARKISON DRUGS.pptx
ANTI         PARKISON          DRUGS.pptxANTI         PARKISON          DRUGS.pptx
ANTI PARKISON DRUGS.pptx
 
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
 
How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 

Shortcut keys of Android Studio , Complete about android studio

  • 1. WELCOME TO THIS PRESENTATION
  • 2. Topic: SHORTCUT KEYS IN ANDROID STUDIO GROUP MEMBERS: • ATIQ-UR-REHMAN 20-ARID-3438 • HAMMAD NAWAZ 20-ARID-3460 • NAJEEB-UR-REHMAN 20-ARID-3532
  • 3. Introduction Android Studio is the official integrated development environment (IDE) for developing Android apps. It provides a comprehensive set of tools and features to streamline the app development process. Android Studio Importance of Shortcut Keys Using shortcut keys in Android Studio can greatly improve your coding efficiency and productivity. By memorizing and utilizing these shortcuts, you can perform common tasks quickly and easily, saving time and effort.
  • 4. Basic Navigation • To navigate between open files, use Ctrl + Tab. • To navigate to a specific file, use Ctrl + Shift + N and type the name of the file. Moving Between Classes Moving Between Files • To navigate to a class, use Ctrl + N and type the name of the class. • To navigate to a symbol (method, variable, etc.) within a class, use Ctrl + Shift + Alt + N and type the name of the symbol. Moving Between Methods • To navigate to a method, use Ctrl + F12 and type the name of the method. • To navigate to the declaration of a method, use Ctrl + B. • To navigate back to the previous location, use Ctrl + Alt + Left.
  • 5. Code Editing • Copy: Ctrl + C • Paste: Ctrl + V • Delete the current line: Ctrl + Y • Duplicate the current line: Ctrl + D General Editing Commenting Code • Comment: Ctrl + / • Uncomment: Ctrl + Shift + / Code completion • Control + Space: Displays basic suggestions for variables, types, methods, expressions, • Control + Shift+ Space: Displays relevant options based on the context. Search • Shift + F3: Find Next/Previous • Ctrl + Shift + B: Find Implementations • Ctrl + F7: Find Usages/Find Usages in File
  • 6. Refactoring • Use the shortcut Shift + F6 to quickly rename variables throughout your codebase. • Use the shortcut Ctrl + Alt + M to extract a block of code into a separate method. Renaming Variables Extracting Methods Optimizing Imports • Use the shortcut Ctrl + Alt + O to remove unused imports and organize the remaining ones.
  • 7. Debugging • Set a breakpoint by clicking on the left margin of a line of code. • Toggle a breakpoint by pressing Ctrl+F8. • Remove a breakpoint by clicking on the breakpoint icon in the left margin of the code editor. • Step over a line of code by pressing F8 • Step into a method by pressing F7 • Step out of a method by pressing Shift+F8 Breakpoints Stepping Through Code Inspecting Variables • View the value of a variable by hovering over it with the mouse. • Add a variable to the Watches window by right- clicking on it and selecting 'Add to Watches'. • Evaluate an expression by typing it into the 'Evaluate Expression' window.
  • 8. Build and Run • Ctrl + F9 - Compile the current file • Shift + F9 - Compile and run the current file • Shift + F10 - Run the app • Shift + F9 - Debug the app • Ctrl + Shift + F10 - Run all tests in the current file • Ctrl + Shift + F9 - Debug all tests in the current file Compiling Code Deploying the App Running Tests
  • 9. Version Control • Ctrl + T - Update project from the repository. • Ctrl + Shift + T - Update project from the repository and rebase local changes. Updating from Repository • Ctrl + K - Commit changes to the repository. • Ctrl + Shift + K - Push commits to the remote repository. Committing Changes Resolving Conflicts • Ctrl + Alt + Shift + R - Resolve conflicts in the current file. • Ctrl + Alt + Shift + G - Resolve conflicts in the entire project.
  • 10. Other Shortcuts • Ctrl + F: Find • Ctrl + R: Replace • Ctrl + Shift + F: Find in Path • Ctrl + Shift + R: Replace in Path Navigating to Specific Lines • Ctrl + G: Go to Line • Ctrl + E: Recent Files • Ctrl + Shift + E: Recent Locations • Ctrl + B: Go to Declaration/Definition • Ctrl + Alt + O: Optimize Imports • Ctrl + Alt + L: Reformat Code • Ctrl + Shift + Alt + L: Reformat File Organizing Imports Searching for Code