2019-04-22 03:10:25 -04:00
|
|
|
;; -*- lexical-binding: t; no-byte-compile: t; -*-
|
|
|
|
;;; lang/java/doctor.el
|
|
|
|
|
|
|
|
(assert! (or (not (featurep! +lsp))
|
|
|
|
(featurep! :tools lsp))
|
|
|
|
"This module requires (:tools lsp)")
|
|
|
|
|
|
|
|
(unless (executable-find "javac")
|
|
|
|
(warn! "Couldn't find the javac executable, are you sure the JDK is installed?"))
|
2020-09-07 15:34:43 +02:00
|
|
|
|
2020-10-06 17:38:10 +02:00
|
|
|
(when (featurep! :editor format)
|
|
|
|
(unless (executable-find "clang-format")
|
|
|
|
(warn! "Couldn't find clang-format. Code formatting will not work.")))
|