This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit 7edaad8f9c15081b494f3ff004ed481d615b42e3 Author: Navyashree0923 <[email protected]> AuthorDate: Wed Jun 8 14:24:16 2022 +0530 Get Camel lsp in Emacs blog Fixes #856 --- content/blog/2022/06/index.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/content/blog/2022/06/index.md b/content/blog/2022/06/index.md index 01f56560..193e192c 100644 --- a/content/blog/2022/06/index.md +++ b/content/blog/2022/06/index.md @@ -8,17 +8,19 @@ preview: "Client implementation of the Apache Camel Language Server Protocol for # Text Editing capabilities of Camel URI with Camel XML DSL -For instance, code completion for Camel XML Dsl. The capabilities are based on the Camel Language Server. +The capabilities are based on the Camel Language Server. - +For instance, code completion of Camel URI with Camel XML Dsl: -Error detection for Camel XML Dsl + - +Diagnostic of Camel URI attribute value with Camel XML Dsl: -Spell correction for Camel XML Dsl + - +Diagnostic of Camel URI attribute name with Camel XML Dsl: + + # How to configure Emacs? @@ -51,7 +53,8 @@ In a `~/.emacs.d/init.el` file: (add-hook 'nxml-mode-hook #'lsp) ``` -* Create `~/.emacs.d/lsp-camel.el` +* Create `~/.emacs.d/lsp-camel.el`file with the following content: + In a `~/.emacs.d/lsp-camel.el` file: @@ -130,9 +133,8 @@ In a `~/.emacs.d/lsp-camel.el` file: * Loading Camel LS by calling: `M-x lsp-install-server` and choosing `camells` - -Follow this link to know more about configuring Emacs - (https://github.com/camel-tooling/camel-lsp-client-emacs) +Follow [this link](https://github.com/camel-tooling/camel-lsp-client-emacs) to know more about configuring Emacs and have up-to-date information. Then you can enjoy editing capabilities of Camel URI. -NOTE - The configuration will be simplified with next release of lsp-mode +NOTE - The configuration will be simplified with next release of [lsp-mode](https://github.com/emacs-lsp/lsp-mode) thanks to [built-in support of Camel Language Server](https://github.com/emacs-lsp/lsp-mode/issues/3528).
