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 Project
option and open the project folder - Choose
Import project from external model
option and chooseMaven
from the list and click finish - Run
npm install
inside of the project folder in order to install all necessary libraries locally. - Install a
Prettier
plugin in IntelliJ IDEA. - Navigate to
Languages & Frameworks > JavaScript > Prettier
insidePreferences
of IntelliJ and choose desiredNode interpreter
andPrettier package
(both should be autodetected by the IDE, if not the prettier package can be found innode_modules/prettier
folder inside the project folder) - In order to trigger the formatter press
Shift+Command+A
(for macOS) andShift+Control+A
(for Windows/Linux) to triggerFind Action
and search forReformat with Prettier
option - Other recommended plugins for IntelliJ IDEA are:
Lombok