surrealdb / surrealist

Surrealist is the ultimate way to visually manage your SurrealDB database
https://surrealist.app/
MIT License
1.06k stars 82 forks source link

Feature: Function arguments autocomplete #416

Open LucyEgan opened 1 week ago

LucyEgan commented 1 week ago

Is your feature request related to a problem?

When autocompleting a function you get the name but not what arguments it takes, it would be handy to get this info hinted too (name: type, name2: type, name3: type)

Initial hint

image

First arg hint

image

Second arg hint

image

Describe the solution

Adding tooltip hinting for args:types, and hinting while typing arguments(dismissable(esc), rehintable at current arg with ctrl+space/, next arg

Are you willing to contribute this feature

No

Surrealist Environment

Version: 3.0.0-beta.1 Flags: feature_flags: false, query_view: true, explorer_view: true, graphql_view: true, designer_view: true, auth_view: true, functions_view: true, models_view: true, apidocs_view: true, cloud_view: true, themes: true, newsfeed: true, database_version_check: false, highlight_tool: false, legacy_serve: false, cloud_endpoints: production, cloud_access: false, changelog: hidden

Contact Details

lucy.e@aspirecomps.co.uk

Is there an existing issue for this?

Code of Conduct

macjuul commented 1 week ago

While intelligent function completion will take me some more time, on a related topic, I did improve the auto completion of arguments within the function editor (#417)