Mma's Code
13.03.2025
1. Commenting Code
Shortcut: Ctrl + / (Windows/Linux) or Cmd + / (Mac).
Description: Quickly comment or uncomment a line of code. This is especially useful for debugging or when you want to leave notes for yourself or others in the code.
2. Finding and Replacing Text
Shortcut: Ctrl + F (Windows/Linux) or Cmd + F (Mac) for find; Ctrl + H (Windows/Linux) or Cmd + Option + F (Mac) for replace.
Description: Quickly search for specific text or code in your file. The replace function is invaluable for making batch changes throughout your codebase.
3. Navigating Between Files
Shortcut: Ctrl + Tab (Windows/Linux) or Cmd + Tab (Mac).
Description: Switch between open files without using the mouse. This is vital for multitasking, especially when working on multiple components or files.
4. Code Completion
Shortcut: Ctrl + Space (Windows/Linux) or Cmd + Space (Mac).
Description: Code completion allows you to auto-suggest variable names, methods, and classes. It saves you time by reducing the need to type out every character, minimizing typos and errors
5. Code Formatting
Shortcut: Ctrl + Shift + F (Windows/Linux) or Cmd + Option + F (Mac).
Description: Automatically format your code according to the style guidelines of your project. This helps maintain consistency and readability.