[ 
https://issues.apache.org/jira/browse/CAMEL-25242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-25242.
---------------------------------
    Resolution: Fixed

> camel-jbang - source editor: complete the arguments of simple functions (date 
> commands and patterns, beans, property keys)
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-25242
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25242
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.23.0
>
>
> Follow-up of CAMEL-25219 (simple completion in the source editor of 
> camel-jbang). Tab completes the functions after ${, header names after 
> ${header. and the operators, but nothing inside the arguments of a function:
> * after ${date: (and date-with-timezone(): the commands (now, millis, 
> exchangeCreated, header.xxx, variable.xxx, exchangeProperty.xxx, file), after 
> the next colon common date patterns, for date-with-timezone the time zones;
> * after ${bean: the beans the project declares (@BindToRegistry, @Named, 
> @Component, @Bean, beans of YAML and XML files), as the source editor already 
> finds them for its bean jump links;
> * after ${properties: and ${propertiesExist: the property keys of the 
> project's .properties files, with their values.
> Read from the line like the rest of the simple completion, so it works while 
> the file does not parse. Tests in camel-jbang-plugin-tui; help and doc page 
> updated.
> _Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to