Importing OpenMRS formatter in intellij


(Kakumirizi Daud) #1

Any one to help me on how to import OpenMRS formatter in intellij IDE


(CLIFF GITA) #2

Hello Daud , try out this https://wiki.openmrs.org/display/docs/Developer+How-To+Setup+And+Use+IntelliJ it will help you out


(Kakumirizi Daud) #3

gcliff Oh yes! I followed it very well and at got stuck when i reached on importing openmrs formatter. Under scheme in code style for java the drop down does not provide OpenMrs formatter and when i click in import scheme it takes me to my hard drive


(CLIFF GITA) #4

oh okay, personally am using eclipse and not familiar with intellij but have you tried re-installing intellij afresh to see the result


(Kakumirizi Daud) #5

@gcliff, I did it but still am unable to import OpenMrs formatter into intelllij


(CLIFF GITA) #6

am kindly suggesting that you try using eclipse


(Kakumirizi Daud) #7

Am quit familiar with Intellij, have been working with it quit for a long time


(CLIFF GITA) #8

i understand , may be u try the latest version of Intellij


(Kakumirizi Daud) #9

I installed the latest version


(CLIFF GITA) #10

try out the video https://www.youtube.com/watch?v=IzBbva6qU24


(Kakumirizi Daud) #11

Thanks @gcliff! I finally succeeded, I had to clone the openmrs-core and then went into Intellij idea under scheme and imported the OpenMrs formatter through this directory tools/src/main/resources/eclipse/OpenMRSFormatter.xml.


(CLIFF GITA) #12

Bravo man :clap: