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
{{ message }}
Repository navigation
Menu needs to be aware of what is going on inside current active workbench #991
If the editor has no files open, choosing Find or Replace from the menu doesn't do anything and doesn't warn the user that this functionality requires an open file. A feedback to the user along the lines of "please open a file first" would point out the EBKAC more explicitly.
(as an aside, I tried doing that in the hope I could find a global, project-wide replace - since a global search is there, I was hoping a global replace would have been there)
(as an aside, I tried doing that in the hope I could find a global, project-wide replace - since a global search is there, I was hoping a global replace would have been there)
changed the title [-]Find/Replace menus fail silently if no files are open[/-][+]Some entries in the menu should be disabled when no editor is open[/+]on Jan 11, 2016
fix addresses the OP's example. since different commands require different level of granularity for context keys, they should be grouped according to interest and technical requirements. that is why, given the age of this issue, I have stopped at the OP's suggestion.
Activity
egamma commentedon Dec 4, 2015
Sorry not yet, but it is on our Roadmap.
alexdima commentedon Jan 9, 2016
Benjamin Pasero (@bpasero) Some entries in the Edit menu should be disabled if no editor is open:
[-]Find/Replace menus fail silently if no files are open[/-][+]Some entries in the menu should be disabled when no editor is open[/+]bpasero commentedon Apr 1, 2016
Marking as upstream for better menu API around enablement.
12 remaining items
sbatten commentedon Oct 16, 2020
fix addresses the OP's example. since different commands require different level of granularity for context keys, they should be grouped according to interest and technical requirements. that is why, given the age of this issue, I have stopped at the OP's suggestion.
rzhao271 commentedon Oct 27, 2020
I think it just has to do with file open/close events
sbatten commentedon Oct 27, 2020
this issue only deals with
FindandReplacenotFind in FilesorReplace in Files