Wednesday, 2 January 2019

How to add Scalastyle plugin in eclipse


Scalastyle is a style checker for Scala. It checks your Scala code against a number of configurable rules, and marks the code which violates these rules with warning or error markers in your source code.


Lets add scalastyle plugin in 4 steps.

  1. Install Scalastyle plugin
  2. Add Scalastyle Nature to your project
  3. Set up a configuration for Scalastyle
  4. Enable Scalastyle for that project


  1. Install Scalastyle plugin
    1. From Eclipse Marketplace install Scala Style 0.9.0



    1. Accept the terms and conditions. Scalastyle is installed in your eclipse.

  1. Add Scalastyle Nature to your project
               Right click project → ScalaStyle → Add Scalastyle nature

  1. Set up a configuration for Scalastyle
    1. Now we need to download the configuration rules from scalastyle.org 

    1. Place this file in your project, where the eclipse can access the file                                 eg: project/src/main/resource/scalastyle_config.xml

    1. Add configuration file to list of available configuration
                     In eclipse windows preference → select scalastyle 
                     configuration page → you can then add the file path of configuration file .


  1. Enable Scalastyle for that project
    1. Finally we need to select the configuration for our project
                      In project properties → select the configuration in 
               drop down list → enable check box




    1. Do a project clean and build, and you should see Scalastyle errors appear in your problems view or in the source code.





18 comments:

  1. Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals.
    apple service center chennai | Mac service center in chennai | ipod service center in chennai | Apple laptop service center in chennai

    ReplyDelete
  2. This is an amazing blog, thank you so much for sharing such valuable information with us.
    Visit for best website design and SEO services at- Website Development Company in India
    best website design services in gurgaon
    web company in delhi
    web desiging company
    web design & development banner
    web design & development company
    web design & development services
    web design agency delhi
    web design agency in delhi
    web design and development services
    web design companies in delhi
    web design company delhi
    web design company in delhi
    web design company in gurgaon
    web design company in noida
    web design company list
    web design company services
    web design company website
    web design delhi
    web design development company
    web design development services
    web design in delhi
    web design service
    web design services company
    web design services in delhi
    web designer company
    web designer delhi
    web designer in delhi
    web designers delhi
    web designers in delhi
    web designing & development
    web designing advertisement
    web designing and development
    web designing and development company
    web designing and development services
    web designing companies in delhi
    web designing company delhi
    web designing company in delhi
    web designing company in gurgaon
    web designing company in new delhi
    web designing company in noida
    web designing company logo
    web designing company sites
    web designing company websites
    web designing delhi
    web designing in delhi
    web designing in gurgaon
    web designing in gurgaon
    web designing service
    web designing services
    web designing services delhi

    ReplyDelete
  3. Nice Post
    "Pressure Vessel Design Course is one of the courses offered by Sanjary Academy in Hyderabad. We have offer professional
    Engineering Course like Piping Design Course,QA / QC Course,document Controller course,pressure Vessel Design Course,
    Welding Inspector Course, Quality Management Course, #Safety officer course."v
    Piping Design Course
    Piping Design Course in India­
    Piping Design Course in Hyderabad
    Welding Inspector Course
    Quality Management Course
    Quality Management Course in india
    Safety officer course

    ReplyDelete
  4. Hey There. I discovered your weblog the use of msn. This is a very
    neatly written article. I will make sure to bookmark it and return to
    read more of your helpful info. Thank you
    for the post. I will certainly return.
    토토사이트
    경마사이트
    경마

    ReplyDelete
  5. This site is known as a walk-by way of for the entire data you wished about this and didn’t know who to ask. Glimpse right here, and you’ll positively discover it.야동

    ReplyDelete
  6. I’d have to talk to you here. Which isn’t something Which I do! I love to reading a post that should get people to think. Also, thank you for allowing me to comment!대딸방

    ReplyDelete
  7. Very good article! We are linking to this particularly great content on our site. Keep up the great writing. Pretty valuable material, overall I consider this is worth a bookmark, thanks 건마탑

    ReplyDelete
  8. What’s up to all, it’s genuinely a fastidious for me to visit this website, it consists of priceless Information 토토

    ReplyDelete
  9. I really enjoy your web’s topic. Very creative and friendly for users. Definitely bookmark this and follow it everyday. 카지노사이트

    ReplyDelete
  10. The kind and easy-to-understand explanation made it easy to understand difficult topics. Your writing skills are great. I want to learn great writing skills.

    스포츠토토링크

    ReplyDelete
  11. Hello! I just want to give you a big thumbs up for your excellent info you have got here on this post 스포츠토토

    ReplyDelete
  12. This is very interesting, You’re an excessively skilled bloggerI have joined your rss feed and sit up for in quest of extra of your wonderful post.
    바카라사이트

    ReplyDelete
  13. So wonderful to discover somebody with a few genuine thoughts on this subject. 중국야동넷

    Click this link
    야설

    ReplyDelete
  14. Nice post. I learn something totally new and challenging on websites 국산야동

    Click this link
    야설

    ReplyDelete
  15. There’s definitely a lot to know about this issue. I really like all the points you made. 한국야동닷컴

    Click this link
    국산야동

    ReplyDelete
  16. That’s why marketing and advertising that you simply applicable exploration previous to publishing. 국산야동

    Click this link
    야설

    ReplyDelete
  17. Great post! The steps are clear and easy to follow. This will definitely help Scala beginners like me. Thanks for sharing such valuable tips! Also, if anyone ever finds themselves in need of expert legal help, feel free to check out this registros de divorcio nueva jersey. It’s always great to have reliable professionals on your side!

    ReplyDelete