You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would like to have a syntax highlighter added to the painless scripts. At least what is available in Kibana.
Also, it would be great to have a code-completion feature, at least for JAVA namespaces.
Additional context
Code completion can be added also to document reference using index mapping. I understand that it might be hard to calculate the context, but this can 100% work in runtime_mappings and stored scripts (just need to connect with an index somehow).
POST _scripts/test_script
{
"script": {
"lang": "painless",
"source": """
ctx._source... // here can use index mapping
"""
}
}
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
At the moment painless script is not highlighted and rendered as a
string
:Same for scripted query:
Describe the solution you'd like
Would like to have a syntax highlighter added to the painless scripts. At least what is available in Kibana.
Also, it would be great to have a code-completion feature, at least for JAVA namespaces.
Additional context
Code completion can be added also to document reference using index mapping. I understand that it might be hard to calculate the context, but this can 100% work in
runtime_mappings
and stored scripts (just need to connect with an index somehow).The text was updated successfully, but these errors were encountered: