Skip to content

Commit

Permalink
Building-with-IntelliJ: re-add Lombok plugin information (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Felanbird authored Jan 31, 2024
1 parent 4f53f0c commit 308df4f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Building-with-IntelliJ-IDEA.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

- [Getting started](#getting-started)
- [Importing the project](#importing-the-project)
- [Installing Lombok](#installing-lombok)
- [Building the project](#building-the-project)
- [Running the project](#running-the-project)
- [Conclusion](#conclusion)
Expand Down Expand Up @@ -43,6 +44,20 @@ If everything went well, you should be able to see something like this:

![after-clone-fresh-project](https://i.imgur.com/JOAFeMi.png)

## Installing Lombok

When first viewing the project in IntelliJ IDEA you may come across this error:

![missing-lombok-errors](https://i.imgur.com/a1YDonV.png)

This is because you do not have the [Lombok Plugin](https://plugins.jetbrains.com/plugin/6317-lombok-plugin) installed.

Navigate to the **Plugins** tab under the **File > Settings** menu (**IntelliJ IDEA > Preferences** for Mac). Click the **Marketplace** button and search for **Lombok** to find it. Install the plugin and restart IntelliJ IDEA.

![installing-lombok](img/building-with-intellij/installing_lombok.png)

Success! You should no longer be getting ``Cannot resolve symbol`` or ``Cannot resolve method`` errors.

## Building the project

RuneLite is using [Maven](https://maven.apache.org/) as build tool. It is used for dependency management, resource generation, running tests and any other tooling needed to properly build, run and deploy RuneLite.
Expand Down
Binary file added img/building-with-intellij/installing_lombok.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 308df4f

Please sign in to comment.