This command updates the index using the current content found in the working directory, to prepare the content staged for the next commit. After making any changes to the working directory, and before running the commit command, you must use the add command to add any new or modified files to the index. This command can […]
Kotlin is a programming language and has its own architecture to allocate memory and produce a quality output to the end user. Following are the different scenarios where Kotlin compiler will work differently, whenever it is targeting different other kind of languages such as Java and JavaScript. Kotlin compiler creates a byte code and that […]
Downloading the compiler Every release ships with a standalone version of the compiler. We can download the latest version (kotlin-compiler-1.3.61.zip) from GitHub Releases. Manual Install Unzip the standalone compiler into a directory and optionally add the bin directory to the system path. The bin directory contains the scripts needed to compile and run Kotlin on Windows, OS X and Linux. […]
Setting up the environment First of all, you need the Eclipse IDE installed on your system. You can download its latest version from download page. The “Eclipse IDE for Java Developers” bundle is recommended. To add the Kotlin support to your Eclipse IDE, install the Kotlin Plugin for Eclipse. We recommend installing the Kotlin plugin from Eclipse Marketplace. […]
Setting up the environment: Install a recent version of IntelliJ IDEA. Kotlin is bundled with IntelliJ IDEA starting from version 15. You can download the free Community Edition (or full-fledged Ultimate Edition) from the JetBrains website Creating a new project Once you have IntelliJ IDEA installed, it’s time to create your first Kotlin application. 1. Create a new Project from File […]