devTools icon indicating copy to clipboard operation
devTools copied to clipboard

Console autocomplete in alternative context

Open Pullusb opened this issue 1 year ago • 0 comments

Find a method to execute console autocompletion in the context of another editor

With native autocomplete The context override would be only to find the completion, the addition in console as usual.

Or custom autocomplete If not possible to directly use auto-complete, create a custom autocomplete by display possibilities at current data_path using a basic eval, with a popup choice and insert in console on click.

Usage There would be a field on header displaying which area is used to override and a button to select/clear. To select an area, use same thing as area context override insert.

Trigger the alternate-context autocompletion:

A. Can overload tab when the alternative context is specified (with same shortcut using a pass_through in ops)

B. Could go on a new tab shortcut. i.e: Ctrl + Shift + Tab If a dedicated shortcut is set and no area is specified, can use biggest 3Dviewport in all windows by default as target

Pullusb avatar Feb 26 '25 10:02 Pullusb