Skip to content

camel-tooling/camel-lsp-client-netbeans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Language Support for Apache Camel

Version License Download

FeaturesRequirementsHow To UseIssues

This is the Apache NetBeans extension that adds language support for Apache Camel for XML, Java and YAML DSL code.


Completion for XML DSL

Features

  • Language service support for Apache Camel URIs.
  • Diagnostics for Camel URIs for Java nad XML.
  • Camel K modelines support.
  • Use a specific Camel Catalog version.
  • Use a specific Runtime provider for the Camel catalog.
  • Additional Camel components can be provided.

Requirements

Apache NetBeans 22 is minimal required version of Apache NetBeans IDE.

Java 17+ is currently required to launch the Apache Camel Language Server.

How to use

Language service support for Apache Camel URIs

This feature is supported in XML DSL, Java DSL and YAML DSL. Auto-completion for Camel components, attributes, and the list of attribute values

XML DSL

Language service support for XML DSL

Java DSL

Language service support for Java DSL

YAML DSL

Language service support for YAML DSL

Diagnostics for Camel URIs for Java and XML

When invalid value is entered, diagnostic shows error. Not available for YAML DSLs.

URI diagnostic for XML

URI diagnostic for Java

Camel K modelines support

  • completion for:
    • option names
    • trait definition names
    • trait property names
    • Camel artifact id for dependency
    • mvn dependency
    • Camel properties

Camel K modelines support

Use a specific Camel Catalog version

It is possible to use a specific Camel Catalog version. This can be specified in NetBeans > Settings > Apache Camel > Catalog version.

Please note that the first time a version is used, it can take several seconds/minutes to have it available depending on the time to download the dependencies in the background.

Use a specific Runtime provider for the Camel catalog

It is possible to use a specific Camel Catalog version. This can be specified in NetBeans > Settings > Apache Camel > Runtime provider.

Additional Camel components can be provided

Additional Camel components can be provided. This can be specified in NetBeans > Settings > Apache Camel > Additional components.

Additional Camel components support

You can add a list of Camel components definition. This json definition can be found in jar of the Camel component. You will end up with something like:

[{
      "component": {
        ...
      },
      "componentProperties": {
        ...
      },
      "properties": {
        ...
      }
   }]

Note: While new file is opened, all custom settings may take few seconds to apply or even require reopening content assistant.

Issues

Something is not working properly? In that case, feel free to open issues, add feature requests, report bugs, etc.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages