This repository keeps track of development of the Java Spring backend code of the LinkedIn Clone project
The project is developed using the IntelliJ IDEA, therefore most of the setup steps will be related to this IDE.
In order to setup the project with Prettier formatting tool on your workstation using IntelliJ IDEA:
- In IntelliJ welcome screen choose the
Import Projectoption and open the project folder - Choose
Import project from external modeloption and chooseMavenfrom the list and click finish - Run
npm installinside of the project folder in order to install all necessary libraries locally. - Install a
Prettierplugin in IntelliJ IDEA. - Navigate to
Languages & Frameworks > JavaScript > PrettierinsidePreferencesof IntelliJ and choose desiredNode interpreterandPrettier package(both should be autodetected by the IDE, if not the prettier package can be found innode_modules/prettierfolder inside the project folder) - In order to trigger the formatter press
Shift+Command+A(for macOS) andShift+Control+A(for Windows/Linux) to triggerFind Actionand search forReformat with Prettieroption - Other recommended plugins for IntelliJ IDEA are:
Lombok