IntelliJ IDEA এর Built-in Key Bindings গাইড ও নোট

Java Technologies - ইন্টেলিজ আইডিয়া f(Intellij Idea) - IntelliJ IDEA এর Key Bindings এবং Shortcuts
359

IntelliJ IDEA একটি অত্যন্ত শক্তিশালী IDE যা Java সহ বিভিন্ন প্রোগ্রামিং ভাষার জন্য উন্নত ফিচার সরবরাহ করে। একদিকে এটি কোড লেখার জন্য উন্নত code completion, refactoring এবং debugging সুবিধা প্রদান করে, অন্যদিকে এটি keyboard shortcuts বা key bindings এর মাধ্যমে আপনার কাজের গতি বাড়ানোর জন্য অনেক সুবিধা প্রদান করে। Key bindings বা keyboard shortcuts আপনাকে মাউস ব্যবহার না করে দ্রুত কোড সম্পাদনা, নেভিগেশন, এবং কমান্ড এক্সিকিউট করতে সহায়ক হয়।

IntelliJ IDEA তে বেশ কিছু built-in key bindings রয়েছে যা আপনার ডেভেলপমেন্ট কাজের দক্ষতা বাড়াতে সাহায্য করবে। এখানে, আমরা IntelliJ IDEA এর কিছু গুরুত্বপূর্ণ key bindings বা keyboard shortcuts নিয়ে আলোচনা করব।


1. Basic Navigation and Editing

1.1. Move Between Files and Tabs

  • Switch between open files:
    • Windows/Linux: Ctrl + Tab
    • macOS: Command + Tab
  • Navigate to a specific file:
    • Windows/Linux: Ctrl + Shift + N
    • macOS: Command + Shift + O
  • Navigate to the last edit location:
    • Windows/Linux: Ctrl + Shift + Backspace
    • macOS: Command + Shift + Backspace

1.2. Moving Between Code Blocks

  • Move the caret to the beginning of the file:
    • Windows/Linux: Ctrl + Home
    • macOS: Command + Up Arrow
  • Move the caret to the end of the file:
    • Windows/Linux: Ctrl + End
    • macOS: Command + Down Arrow
  • Move between method/parameter:
    • Windows/Linux: Ctrl + Left/Right Arrow
    • macOS: Option + Left/Right Arrow

1.3. Code Editing Shortcuts

  • Undo:
    • Windows/Linux: Ctrl + Z
    • macOS: Command + Z
  • Redo:
    • Windows/Linux: Ctrl + Shift + Z
    • macOS: Command + Shift + Z
  • Cut:
    • Windows/Linux: Ctrl + X
    • macOS: Command + X
  • Copy:
    • Windows/Linux: Ctrl + C
    • macOS: Command + C
  • Paste:
    • Windows/Linux: Ctrl + V
    • macOS: Command + V
  • Find:
    • Windows/Linux: Ctrl + F
    • macOS: Command + F
  • Find and Replace:
    • Windows/Linux: Ctrl + R
    • macOS: Command + R
  • Select all:
    • Windows/Linux: Ctrl + A
    • macOS: Command + A

2. Code Completion and Refactoring

2.1. Code Completion

  • Basic code completion (e.g., method names, variable names):
    • Windows/Linux: Ctrl + Space
    • macOS: Command + Space
  • Smart code completion (suggests types, methods, etc.):
    • Windows/Linux: Ctrl + Shift + Space
    • macOS: Command + Shift + Space

2.2. Refactoring Shortcuts

  • Rename element (class, method, variable, etc.):
    • Windows/Linux: Shift + F6
    • macOS: Shift + F6
  • Reformat code (auto-indent and format code):
    • Windows/Linux: Ctrl + Alt + L
    • macOS: Command + Option + L
  • Extract method:
    • Windows/Linux: Ctrl + Alt + M
    • macOS: Command + Option + M
  • Generate code (getter, setter, constructor, etc.):
    • Windows/Linux: Alt + Insert
    • macOS: Command + N

3. Debugging

3.1. Running and Debugging

  • Run the current configuration:
    • Windows/Linux: Shift + F10
    • macOS: Control + R
  • Debug the current configuration:
    • Windows/Linux: Shift + F9
    • macOS: Control + D

3.2. Breakpoints and Debugging

  • Toggle breakpoint:
    • Windows/Linux: Ctrl + F8
    • macOS: Command + F8
  • Step over (skip the current line of code):
    • Windows/Linux: F8
    • macOS: F8
  • Step into (go inside a method call):
    • Windows/Linux: F7
    • macOS: F7
  • Step out (exit the current method):
    • Windows/Linux: Shift + F8
    • macOS: Shift + F8
  • Evaluate Expression (inspect values during debugging):
    • Windows/Linux: Alt + F8
    • macOS: Option + F8

4. Version Control Shortcuts

4.1. Git and Version Control

  • Commit changes:
    • Windows/Linux: Ctrl + K
    • macOS: Command + K
  • Push changes to repository:
    • Windows/Linux: Ctrl + Shift + K
    • macOS: Command + Shift + K
  • Update project from repository (pull changes):
    • Windows/Linux: Ctrl + T
    • macOS: Command + T
  • Show Git log:
    • Windows/Linux: Alt + 9
    • macOS: Command + 9

5. Navigation Shortcuts

5.1. Moving Between Files and Code

  • Go to file:
    • Windows/Linux: Ctrl + Shift + N
    • macOS: Command + Shift + O
  • Go to class:
    • Windows/Linux: Ctrl + N
    • macOS: Command + N
  • Go to symbol:
    • Windows/Linux: Ctrl + Shift + Alt + N
    • macOS: Command + Option + O
  • Go to definition (e.g., method, class, variable):
    • Windows/Linux: Ctrl + B or Ctrl + Click
    • macOS: Command + B or Command + Click
  • Go to last edit location:
    • Windows/Linux: Ctrl + Shift + Backspace
    • macOS: Command + Shift + Backspace

6. Search and Find

6.1. Searching Code

  • Find in file:
    • Windows/Linux: Ctrl + F
    • macOS: Command + F
  • Find in project:
    • Windows/Linux: Ctrl + Shift + F
    • macOS: Command + Shift + F
  • Find class, file, or symbol:
    • Windows/Linux: Ctrl + N (for classes), Ctrl + Shift + N (for files)
    • macOS: Command + N (for classes), Command + Shift + O (for files)
  • Find usages of a method or class:
    • Windows/Linux: Alt + F7
    • macOS: Option + F7

IntelliJ IDEA তে keyboard shortcuts বা key bindings ব্যবহারের মাধ্যমে আপনি আপনার কোডিং কাজকে দ্রুত এবং আরও কার্যকর করতে পারেন। এই key bindings এর মাধ্যমে আপনি code navigation, editing, refactoring, debugging, version control, এবং searching আরও দ্রুত করতে পারবেন। IntelliJ IDEA তে বিভিন্ন built-in key bindings ব্যবহারের মাধ্যমে আপনি কাজের গতি বৃদ্ধি করতে পারেন এবং আপনার ডেভেলপমেন্টের অভিজ্ঞতা আরও উন্নত করতে পারবেন।

আপনি যদি এই key bindings এবং shortcuts ব্যবহার করেন, তবে IntelliJ IDEA তে কোড লেখা এবং সমস্যা সমাধান আরও কার্যকরী এবং দ্রুত হবে।

Content added By
Promotion
NEW SATT AI এখন আপনাকে সাহায্য করতে পারে।

Are you sure to start over?

Loading...