You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2026/08/04 11:55:41 UTC

(camel) branch main updated: camel-jbang - TUI update F1 help text with YAML editor tab completion details

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.git


The following commit(s) were added to refs/heads/main by this push:
     new fc3b584366ab camel-jbang - TUI update F1 help text with YAML editor tab completion details
fc3b584366ab is described below

commit fc3b584366ab7875a661521ac03ba9918fef77b3
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Aug 4 13:55:23 2026 +0200

    camel-jbang - TUI update F1 help text with YAML editor tab completion details
    
    Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
    Signed-off-by: Claus Ibsen <cl...@gmail.com>
---
 .../org/apache/camel/dsl/jbang/core/commands/tui/SourceTab.java   | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/SourceTab.java b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/SourceTab.java
index 5d9e28eaf2b1..584a97808d38 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/SourceTab.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/SourceTab.java
@@ -347,8 +347,14 @@ class SourceTab extends AbstractTab {
                 - Value completion with enum choices, boolean values, and `{{placeholder}}` suggestions
 
                 **YAML DSL routes:**
+                - On `uri:` lines (or inline EIPs like `to:`, `from:`), Tab shows a list of
+                  Camel component names filtered by role: consumer endpoints (e.g. `from:`)
+                  exclude producer-only components, and producer endpoints (e.g. `to:`) exclude
+                  consumer-only components. Type to filter by name or label (e.g. "cloud",
+                  "messaging"). Selecting a component auto-inserts a `parameters:` block.
                 - Inside `parameters:` blocks, key completion shows endpoint options from the
-                  Camel catalog, filtered by consumer/producer role
+                  Camel catalog, filtered by consumer/producer role. Required options appear
+                  first (marked with `*`). Already-specified options are excluded.
                 - Value completion shows enum choices, boolean values, and `{{placeholder}}`
                   suggestions from your `.properties` files