2022-03-28 15:03:21 +02:00
|
|
|
#+title: :lang kotlin
|
|
|
|
#+subtitle: A Java(Script) that won't depress you
|
|
|
|
#+created: March 28, 2019
|
|
|
|
#+since: 21.12.0
|
2019-12-24 12:55:13 -05:00
|
|
|
|
2021-10-16 01:28:32 +02:00
|
|
|
* Description :unfold:
|
|
|
|
This module adds [[https://kotlinlang.org/][Kotlin]] support to Doom Emacs.
|
2019-12-24 12:55:13 -05:00
|
|
|
|
2021-10-16 01:28:32 +02:00
|
|
|
** Maintainers
|
|
|
|
*This module needs a maintainer.* [[doom-contrib-maintainer:][Become a maintainer?]]
|
2019-12-24 12:55:13 -05:00
|
|
|
|
2021-10-16 01:28:32 +02:00
|
|
|
** Module flags
|
|
|
|
- +lsp ::
|
2022-09-26 02:19:42 +08:00
|
|
|
Enable LSP support for ~kotlin-mode~. Requires [[doom-module::tools lsp]] and a langserver
|
2021-10-16 01:28:32 +02:00
|
|
|
(supports [[https://github.com/emacs-lsp/lsp-mode][kotlin-language-server]]).
|
2019-12-24 12:55:13 -05:00
|
|
|
|
2021-10-16 01:28:32 +02:00
|
|
|
** Packages
|
2022-09-26 02:19:42 +08:00
|
|
|
- [[doom-package:flycheck-kotlin]] if [[doom-module::checkers syntax]]
|
|
|
|
- [[doom-package:kotlin-mode]]
|
2019-12-24 12:55:13 -05:00
|
|
|
|
2021-10-16 01:28:32 +02:00
|
|
|
** Hacks
|
|
|
|
/No hacks documented for this module./
|
2019-12-24 12:55:13 -05:00
|
|
|
|
2021-10-16 01:28:32 +02:00
|
|
|
** TODO Changelog
|
|
|
|
# This section will be machine generated. Don't edit it by hand.
|
|
|
|
/This module does not have a changelog yet./
|
2019-12-24 12:55:13 -05:00
|
|
|
|
2022-11-19 10:56:17 +00:00
|
|
|
* Installation
|
2021-10-16 01:28:32 +02:00
|
|
|
[[id:01cffea4-3329-45e2-a892-95a384ab2338][Enable this module in your ~doom!~ block.]]
|
|
|
|
|
2022-11-19 10:56:17 +00:00
|
|
|
Install kotlin through your distribution's package manager, eg:
|
|
|
|
|
|
|
|
#+begin_src shell
|
|
|
|
sudo apt install kotlin # Ubuntu
|
|
|
|
sudo pacman -S kotlin # Arch Linux
|
|
|
|
brew install kotlin # MacOS
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
or by getting the [[https://github.com/JetBrains/kotlin/releases/latest][latest]] release and adding to your =$PATH= manually.
|
|
|
|
|
|
|
|
** Formatter
|
|
|
|
|
|
|
|
Formatting is handled using the [[doom-module::editor format]] module via [[https://pinterest.github.io/ktlint/install/cli/][ktlint]].
|
2021-10-16 01:28:32 +02:00
|
|
|
|
|
|
|
* TODO Usage
|
|
|
|
#+begin_quote
|
2023-09-16 20:19:11 +02:00
|
|
|
This module has no usage documentation yet. [[doom-contrib-module:][Write some?]]
|
2021-10-16 01:28:32 +02:00
|
|
|
#+end_quote
|
|
|
|
|
|
|
|
* TODO Configuration
|
|
|
|
#+begin_quote
|
2023-09-16 20:19:11 +02:00
|
|
|
This module has no configuration documentation yet. [[doom-contrib-module:][Write some?]]
|
2021-10-16 01:28:32 +02:00
|
|
|
#+end_quote
|
2019-12-24 12:55:13 -05:00
|
|
|
|
|
|
|
* Troubleshooting
|
2021-10-16 01:28:32 +02:00
|
|
|
/There are no known problems with this module./ [[doom-report:][Report one?]]
|
|
|
|
|
|
|
|
* Frequently asked questions
|
|
|
|
/This module has no FAQs yet./ [[doom-suggest-faq:][Ask one?]]
|
|
|
|
|
|
|
|
* TODO Appendix
|
|
|
|
#+begin_quote
|
2023-09-16 20:19:11 +02:00
|
|
|
This module has no appendix yet. [[doom-contrib-module:][Write one?]]
|
2021-10-16 01:28:32 +02:00
|
|
|
#+end_quote
|