This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/main by this push:
new 2d509f57 Blogpost: Adding extension for camells integration with
sublime text … (#883)
2d509f57 is described below
commit 2d509f579ceb5966035a443854f96f9febb71b37
Author: Navyashree <[email protected]>
AuthorDate: Tue Aug 16 15:11:23 2022 +0530
Blogpost: Adding extension for camells integration with sublime text …
(#883)
* Blogpost: Adding extension for camells integration with sublime text
editor
* Blogpost: Adding extension for camells integration with sublime text
---
.../2022/08/sublime editor/images/javasublime.gif | Bin 0 -> 123811 bytes
.../2022/08/sublime editor/images/xmlsublime.gif | Bin 0 -> 147381 bytes
content/blog/2022/08/sublime editor/index.md | 68 +++++++++++++++++++++
3 files changed, 68 insertions(+)
diff --git a/content/blog/2022/08/sublime editor/images/javasublime.gif
b/content/blog/2022/08/sublime editor/images/javasublime.gif
new file mode 100644
index 00000000..70b4d53e
Binary files /dev/null and b/content/blog/2022/08/sublime
editor/images/javasublime.gif differ
diff --git a/content/blog/2022/08/sublime editor/images/xmlsublime.gif
b/content/blog/2022/08/sublime editor/images/xmlsublime.gif
new file mode 100644
index 00000000..97719f38
Binary files /dev/null and b/content/blog/2022/08/sublime
editor/images/xmlsublime.gif differ
diff --git a/content/blog/2022/08/sublime editor/index.md
b/content/blog/2022/08/sublime editor/index.md
new file mode 100644
index 00000000..a2319f88
--- /dev/null
+++ b/content/blog/2022/08/sublime editor/index.md
@@ -0,0 +1,68 @@
+---
+title: "LSP-camel extension for camells integration with sublime text to
enable Apache Camel Language Server"
+date: 2022-08-16
+authors: [Navyashree0923]
+categories: ["Tooling"]
+preview: "LSP-camel extension for camells integration with sublime text to
enable Apache Camel Language Server"
+---
+
+Two weeks before it became easier to provide language support inside coc.nvim
-[See this blog post](/blog/2022/07/coc-nvim-camel-lsp/). It is now the case
for sublime, thanks to
[camells](https://github.com/camel-tooling/camel-lsp-client-sublime).
+
+It is an [extension for camells](https://github.com/sublimelsp) to enable
[Apache Camel language
server](https://github.com/camel-tooling/camel-language-server) support.
+
+# Camel Language Server Support Demo
+
+For instance, code completion for XML with Camel DSL. The capabilities are
based on the [Camel Language
Server](https://github.com/camel-tooling/camel-language-server/).
+
+
+
+
+For instance, code completion for JAVA with Camel DSL. The capabilities are
based on the [Camel Language
Server](https://github.com/camel-tooling/camel-language-server/).
+
+
+
+## Install LSP plugin
+Tools -> Command palette... -> Package Control: Install Package
+Tools -> Command palette... -> Install LSP
+
+## Configure LSP plugin for Camel
+Download Camel LSP server jar from
(https://jar-download.com/artifacts/com.github.camel-tooling/camel-lsp-server/1.6.0/source-code)
+
+## Preferences:
+Package Setting -> LSP Settings
+Fill LSP.sublime-settings with the following configuration and also please
update path to the camel-lsp-server jar
+```
+{
+
+ "clients":
+ {
+ "Camel":
+ {
+ "command":
+ [
+ "java",
+ "-jar",
+ "PATH/TO/camel-lsp-server-1.6.0.jar"
+ ],
+ "enabled": true,
+ "languages": [
+ {
+ "selector": "text.xml",
+ "priority_selector": "text.xml",
+ },
+ {
+ "selector": "source.java",
+ "priority_selector": "source.java",
+ }
+ ],
+ },
+ },
+}
+```
+## Follow these steps to automatically download the latest Apache Camel
language server jar and create required LSP configurations.
+Run the following command in your terminal. Open a .java or .xml in your
sublime text to enable camel language server
+- Download and install a recent Java Development Kit
+- Java must be added to the system path
+- git clone https://github.com/camel-tooling/camel-lsp-client-sublime.git
~/.config/sublime-text/Packages/LSP-camel
+
+Enjoy the Completion of Camel URI in Sublime.