Neovim PDE —Flutter, Kotlin, Ruby, and Other Languages

Configure a PDE for Flutter, Kotlin, Ruby, and other languages.

alpha2phi

--

Neovim PDE — Flutter, Kotlin, Ruby, and Other Languages

In this article, we will continue our journey to set up a personalized development environment (PDE) for other programming languages.

This article is part of the Neovim PDE series.

The Neovim configuration files are available in this repository.

Flutter

In the Neovim for Beginners series, we discussed setting up Dart and Flutter's development environment.

Check out the article to set up the Flutter environment.

Using lazy.nvim, we configure Dart and the Flutter plugin in the lua/pde/flutter.lua file.

  • Using Tree-sitter, we install the Dart language parser.
  • We configure the flutter-tools.nvim plugin that helps to build Flutter and Dart applications using the native LSP. It adds the ability to quickly launch Flutter applications, debug them, as well as extend/expose LSP functionality such as the widget guides, an outline view of your widgets, and hot reloading.
  • We configure the Flutter Riverpod snippets plugin that provides snippets for Riverpod.
  • For unit testing, we configure neotest-dart.

Now we are ready to develop Flutter applications.

Run A Flutter Application

Kotlin

In the Neovim for Beginners series, we discussed setting up the development environment for Kotlin.

Check out the article to set up Kotlin.

Using lazy.nvim, we configure the development environment for the Kotlin language in the lua/pde/kotlin.lua file.

--

--

alpha2phi

Software engineer, Data Science and ML practitioner.