This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/master by this push:
     new e6af7d7  provide blogpost announcement of VS Code language Support for 
Apache Camel 0.0.30
e6af7d7 is described below

commit e6af7d72eca5470e71b877c6e8d4e1c3197085ea
Author: Aurélien Pupier <apup...@redhat.com>
AuthorDate: Tue Jan 5 15:53:16 2021 +0100

    provide blogpost announcement of VS Code language Support for Apache
    Camel 0.0.30
    
    Signed-off-by: Aurélien Pupier <apup...@redhat.com>
---
 ...ompletionBasicPropertiesCamelkafkaConnector.gif | Bin 0 -> 307097 bytes
 .../completionInsertingDefaultValue.gif            | Bin 0 -> 108936 bytes
 .../completionWithDescriptionforConnectorClass.png | Bin 0 -> 108662 bytes
 .../diagnosticMixedNotation.png                    | Bin 0 -> 70580 bytes
 ...nkSourcepropertyTypematchConnectorClassType.png | Bin 0 -> 59203 bytes
 ...plicatedKeyWithMixDashAndCamelCaseDetection.png | Bin 0 -> 64426 bytes
 .../2021/01/VSCode-LanguageSupport-0.0.30/index.md |  64 +++++++++++++++++++++
 ...melCaseCamelkafkaConnectorunknownProperties.gif | Bin 0 -> 136345 bytes
 8 files changed, 64 insertions(+)

diff --git 
a/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/completionBasicPropertiesCamelkafkaConnector.gif
 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/completionBasicPropertiesCamelkafkaConnector.gif
new file mode 100644
index 0000000..84ba058
Binary files /dev/null and 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/completionBasicPropertiesCamelkafkaConnector.gif
 differ
diff --git 
a/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/completionInsertingDefaultValue.gif
 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/completionInsertingDefaultValue.gif
new file mode 100644
index 0000000..5ad01b7
Binary files /dev/null and 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/completionInsertingDefaultValue.gif
 differ
diff --git 
a/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/completionWithDescriptionforConnectorClass.png
 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/completionWithDescriptionforConnectorClass.png
new file mode 100644
index 0000000..58ef257
Binary files /dev/null and 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/completionWithDescriptionforConnectorClass.png
 differ
diff --git 
a/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/diagnosticMixedNotation.png
 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/diagnosticMixedNotation.png
new file mode 100644
index 0000000..69e4d5a
Binary files /dev/null and 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/diagnosticMixedNotation.png
 differ
diff --git 
a/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/diagnosticSinkSourcepropertyTypematchConnectorClassType.png
 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/diagnosticSinkSourcepropertyTypematchConnectorClassType.png
new file mode 100644
index 0000000..65ad740
Binary files /dev/null and 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/diagnosticSinkSourcepropertyTypematchConnectorClassType.png
 differ
diff --git 
a/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/duplicatedKeyWithMixDashAndCamelCaseDetection.png
 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/duplicatedKeyWithMixDashAndCamelCaseDetection.png
new file mode 100644
index 0000000..0c4f51b
Binary files /dev/null and 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/duplicatedKeyWithMixDashAndCamelCaseDetection.png
 differ
diff --git a/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/index.md 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/index.md
new file mode 100644
index 0000000..6f6ad79
--- /dev/null
+++ b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/index.md
@@ -0,0 +1,64 @@
+---
+title: "New release of VS Code Language Support for Apache Camel 0.0.30"
+date: 2021-01-05
+authors: [apupier]
+categories: ["Releases","Tooling"]
+preview: "New release of VS Code Language Support for Apache Camel 0.0.30: 
catalog updates and Camel Kafka Connector improvements"
+---
+
+A new release of [VS Code Language Support for Apache 
Camel](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-apache-camel)
 0.0.30 is available. It includes upgrade of Camel catalogs and Camel Kafka 
Connector related improvements.
+
+# Camel Catalogs upgrades
+
+The default Camel catalog has been upgraded from 3.6.0 to 3.7.0.
+
+The Camel Kafka Connector catalog has been upgraded from 0.6.0 to 0.7.0.
+
+# Camel Kafka Connector related improvements
+
+#### Completion for Basic Configuration
+
+Some properties are not part of the Camel catalog material, neither of the 
[Kafka Connect](https://kafka.apache.org/documentation/#connectconfigs) 
framework and applies to all Camel Kafka connectors. They are the [Basic 
Configuration 
properties](/camel-kafka-connector/latest/basic-configuration.html).
+
+Completion is now available for these properties:
+
+![Completion for Basic Configuration 
properties](./completionBasicPropertiesCamelkafkaConnector.gif)
+
+#### Diagnostics
+
+Four rules provides diagnostic at design time for the Camel Kafka Connector 
files.
+
+`camel.(source|sink).(endpoint|path).*` property keys are validated against 
the catalog. An error is provided if the property does not exist. it even 
propose a quickfix if a relatively similar value exists:
+
+![Quickfix for unknown 
properties](./quickfixCamelCaseCamelkafkaConnectorunknownProperties.gif)
+
+It is possible to use dash and camel case for properties. If a key is provided 
2 times with a different case, an error is provided:
+
+![Duplicated key property](./duplicatedKeyWithMixDashAndCamelCaseDetection.png)
+
+In case, there is a mix of source and sink properties compared to 
`connector.class`, an error is provided:
+
+![sink/source msimatch with 
connector.class](./diagnosticSinkSourcepropertyTypematchConnectorClassType.png)
+
+In case, both `camel.(source|sink).(endpoint|path).*` and 
`camel.(source|sink).url`, an error is provided:
+
+![diagnostic for list of properties and url property 
notation](./diagnosticMixedNotation.png)
+
+#### Description for connector.class
+
+The connector to use is specified by the `connector.class` value. The value is 
a fully qualified name which sometimes can be difficult to understand the exact 
purpose and scope. A description of the connector is now available on hover and 
on completion:
+
+![Description for connector.class value 
completion](./completionWithDescriptionforConnectorClass.png)
+
+#### Automatic insertion of default value on completion
+
+Completion for properties on `camel.(source|sink).(endpoint|path).*` now 
inserts also the default value:
+
+![Default value inserted on completion](./completionInsertingDefaultValue.gif)
+
+# What's next?
+
+Provide your feedback and ideas!
+You can start discussions on [Zulip camel-tooling 
channel](https://camel.zulipchat.com/#narrow/stream/258729-camel-tooling).
+You can create and vote for issues on github [Camel Language 
Server](https://github.com/camel-tooling/camel-language-server/issues) and [VS 
Code Language support for Apache 
Camel](https://github.com/camel-tooling/camel-lsp-client-vscode/issues) 
repositories.
+You can create and vote for issues on the 
[jira](https://issues.redhat.com/browse/FUSETOOLS2) used by the Red Hat 
Integration tooling team.
diff --git 
a/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/quickfixCamelCaseCamelkafkaConnectorunknownProperties.gif
 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/quickfixCamelCaseCamelkafkaConnectorunknownProperties.gif
new file mode 100644
index 0000000..84c141d
Binary files /dev/null and 
b/content/blog/2021/01/VSCode-LanguageSupport-0.0.30/quickfixCamelCaseCamelkafkaConnectorunknownProperties.gif
 differ

Reply via email to