|
|
|
|
@ -307,14 +307,6 @@ bool Notebook::open(const boost::filesystem::path &file_path_, Position position
|
|
|
|
|
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); |
|
|
|
|
} |
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
======= |
|
|
|
|
else if(Source::IsClangType(language_id)) { |
|
|
|
|
Terminal::get().print("\e[33mWarning\e[m: could not find ClangD language server for C/C++.\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); |
|
|
|
|
} |
|
|
|
|
>>>>>>> e7c897b (Added support for configuration of space between lines in editor. Updated IsClangType to use a set.) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
source_views.emplace_back(new Source::GenericView(file_path, language)); |
|
|
|
|
@ -549,11 +541,7 @@ bool Notebook::open(const boost::filesystem::path &file_path_, Position position
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
#ifdef JUCI_ENABLE_DEBUG |
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
if(dynamic_cast<Source::ClangView *>(view) || view->language_id == "rust") { |
|
|
|
|
======= |
|
|
|
|
if(Source::IsClangType(view->language_id) || view->language_id == "rust") { |
|
|
|
|
>>>>>>> e7c897b (Added support for configuration of space between lines in editor. Updated IsClangType to use a set.) |
|
|
|
|
view->toggle_breakpoint = [view](int line_nr) { |
|
|
|
|
if(view->get_source_buffer()->get_source_marks_at_line(line_nr, "debug_breakpoint").size() > 0) { |
|
|
|
|
auto start_iter = view->get_buffer()->get_iter_at_line(line_nr); |
|
|
|
|
|