From 68202c648ad779c29178d1526e9d44e2398ddb56 Mon Sep 17 00:00:00 2001 From: eidheim Date: Mon, 7 Jun 2021 14:27:46 +0200 Subject: [PATCH] Added warning messages on missing go or julia language server --- src/notebook.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/notebook.cpp b/src/notebook.cpp index bef2af1..cd57c82 100644 --- a/src/notebook.cpp +++ b/src/notebook.cpp @@ -211,6 +211,16 @@ bool Notebook::open(const boost::filesystem::path &file_path_, Position position Terminal::get().print("You will need to restart juCi++ after installing Rust.\n"); shown.emplace(language_id); } + else if(language_id == "go") { + Terminal::get().print("\e[33mWarning\e[m: could not find Go language server.\n"); + Terminal::get().print("For installation instructions please visit: https://gitlab.com/cppit/jucipp/-/blob/master/docs/language_servers.md#go.\n"); + shown.emplace(language_id); + } + else if(language_id == "julia") { + Terminal::get().print("\e[33mWarning\e[m: could not find Julia language server.\n"); + Terminal::get().print("For installation instructions please visit: https://gitlab.com/cppit/jucipp/-/blob/master/docs/language_servers.md#julia.\n"); + shown.emplace(language_id); + } } } source_views.emplace_back(new Source::GenericView(file_path, language));