I imported LWJGL to the libs folder inside the project. The application works fine, but Intellij is highlighting almost every line, thinking that lwjgl is not imported.
Is there any simple solution? I want to avoid importing the library another way.
Try invalidating caches via File → Invalidate caches/restart in the top menu.