[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56208] GUI Editor autocomplete list could sho
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #56208] GUI Editor autocomplete list could show variables from current workspace |
Date: |
Mon, 13 Mar 2023 23:56:27 -0400 (EDT) |
Follow-up Comment #3, bug #56208 (project octave):
If I'm editing a script, then I could understand completion of variables in
the top-level workspace in the interpreter, but even then, there is no reason
to know that the script will be executed in that context.
If I'm editing a function, then code inside the function doesn't share the
scope of any other workspace, so I don't see the reason for completion picking
up variables from the top-level workspace in the interpreter.
For functions, would it be good enough to consider all words in the current
editor tab that aren't in comments as possible completions in addition to
known function names? That doesn't require a query of the interpreter state.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56208>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/