antoniusnaumann / annoying-semicolon

An IntelliJ plugin to avoid producing Kotlin code with lots of unnecessary semicolons when you let your C++ or Java friends write Kotlin code unsupervised

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Annoying Semicolon - An IntelliJ Plugin for semicolon-free Kotlin code

Build Version Downloads

Template ToDo list

What is this?

Ever worked on a Kotlin project with a friend or colleague who codes in C++ or Java most of their time?

Then you probably know this: Let them code unsupervised and suddenly, you end up with Kotlin code scattered with useless semicolons on each and every line end. (Yes, IntelliJ has a warning for this - but your otherwise VIM-only friend will not care)

You wonder how to avoid this? Look no further, this plugin got you covered! It marks every useless semicolon as an error (and provides a quickfix to remove it), so they really get annoying and therefore desirable to avoid.

(This plugin was made as a demo, maybe talking to your friend first might be a more acceptable way to fix this issue)

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "annoying-semicolon" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...


Plugin based on the IntelliJ Platform Plugin Template.

About

An IntelliJ plugin to avoid producing Kotlin code with lots of unnecessary semicolons when you let your C++ or Java friends write Kotlin code unsupervised

License:MIT License


Languages

Language:Kotlin 91.6%Language:HTML 8.4%