SlideShare une entreprise Scribd logo
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

Productivity Hero. Know Your Tools
Productivity Hero. Know Your ToolsProductivity Hero. Know Your Tools
Productivity Hero. Know Your Tools
Artjoker
 
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
Roy Ganor
 
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"
Fwdays
 
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
Ho Kim
 
Rstudio ide-cheatsheet
Rstudio ide-cheatsheetRstudio ide-cheatsheet
Rstudio ide-cheatsheet
Dr. Volkan OBAN
 
Rstudio ide-cheatsheet
Rstudio ide-cheatsheetRstudio ide-cheatsheet
Rstudio ide-cheatsheet
Dieudonne Nahigombeye
 
C++11 Was Only the Beginning
C++11 Was Only the BeginningC++11 Was Only the Beginning
C++11 Was Only the Beginning
Mateusz Pusz
 
Differents Keyboard Shortcuts for noobs.pptx
Differents Keyboard Shortcuts for noobs.pptxDifferents Keyboard Shortcuts for noobs.pptx
Differents Keyboard Shortcuts for noobs.pptx
JhonMendoza547212
 
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
 
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
University College of Engineering Kakinada, JNTUK - Kakinada, India
 
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
Adrian Ostrowski
 
IntelliJ IDEA Default Keymap
IntelliJ IDEA Default KeymapIntelliJ IDEA Default Keymap
IntelliJ IDEA Default Keymap
Thanh Nguyen
 
Sublime
SublimeSublime
Sublime
Creditas
 
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
Milan Krystek
 
c programming L-1.pdf43333333544444444444444444444
c programming L-1.pdf43333333544444444444444444444c programming L-1.pdf43333333544444444444444444444
c programming L-1.pdf43333333544444444444444444444
PurvaShyama
 
Working Effectively with Routine Tasks
Working Effectively with Routine TasksWorking Effectively with Routine Tasks
Working Effectively with Routine Tasks
Ivan Katunou
 
Sql dbx
Sql dbxSql dbx
Sql dbx
Yimy Matos
 
Word keyboard shortcuts
Word keyboard shortcutsWord keyboard shortcuts
Word keyboard shortcuts
Rakesh Kumar Pandey
 
Php storm reference_card
Php storm reference_cardPhp storm reference_card
Php storm reference_card
AlexanderAlekhin4
 

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
 
Differents Keyboard Shortcuts for noobs.pptx
Differents Keyboard Shortcuts for noobs.pptxDifferents Keyboard Shortcuts for noobs.pptx
Differents Keyboard Shortcuts for noobs.pptx
 
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

Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
TechSoup
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
khuleseema60
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
 
Stack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 MicroprocessorStack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 Microprocessor
JomonJoseph58
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
Celine George
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
heathfieldcps1
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
National Information Standards Organization (NISO)
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
National Information Standards Organization (NISO)
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
 
skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)
Mohammad Al-Dhahabi
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
Celine George
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 

Dernier (20)

Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
 
Stack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 MicroprocessorStack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 Microprocessor
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
 
skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 

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