Skip to content

Commit

Permalink
turns out ive been spelling refractor wrong my whole life (not very l…
Browse files Browse the repository at this point in the history
…ong lmao)

refactor
  • Loading branch information
AnAwesomGuy authored Dec 28, 2024
1 parent e76d7ef commit b85d003
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions develop/ide-tips-and-tricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ To change how IntelliJ formats code, see the settings at `File > Settings > Edit

#### Context Actions {#context-actions}

Context actions allow for specific sections of code to be refractored based on the context.
To use it, simply move your cursor to the area you want to refractor, and press <kbd>⌥/ALT</kbd>+<kbd>Enter</kbd> or click the lightbulb to the left.
Context actions allow for specific sections of code to be refactored based on the context.
To use it, simply move your cursor to the area you want to refactor, and press <kbd>⌥/ALT</kbd>+<kbd>Enter</kbd> or click the lightbulb to the left.
There will be a popup showing context actions that can be used for the code selected.

![Example of context actions](/assets/develop/misc/using-the-ide/context_actions_01.png)
Expand Down Expand Up @@ -230,7 +230,7 @@ If you notice that you are using too many of them, consider refactoring your cod

### Disabling the Formatter {#disabling-formatter}

Comments can also disable the formatter during code refractoring mentioned above by surrounding a piece of code like so:
Comments can also disable the formatter during code refactoring mentioned above by surrounding a piece of code like so:

```java
//formatter:off (disable formatter)
Expand Down

0 comments on commit b85d003

Please sign in to comment.