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
ShowCommandHelp (F1) doesn't work for about_* topics relating to language keywords, specifically, if the "about_" prefix isn't used. #3570
Search the existing issues, especially the pinned issues.
Exception report
N/A
Screenshot
N/A
Environment data
PS Version: 7.4.0-preview.1PS HostName: ConsoleHostPSReadLine Version: 2.2.6PSReadLine EditMode: EmacsOS: Darwin JDoes-MacBook-Pro.local 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000 arm64BufferWidth: 180BufferHeight: 60
Steps to reproduce
A - currently undocumented - feature of the ShowCommandHelp function (F1) is that it can act on the titles of conceptual help topics (about_*) too - both with and without the about_ prefix (although omitting the prefix sometimes results in surprising behavior).
# OK: Shows help topic about_Scopes in alternate screen buffer, with paging.
PS> scopes # <- press F1 here
However, this doesn't work for language keywords, such as if, while, return, ... - _except_ if the about_` prefix is also used.
# OK, thanks to explicit "about_" prefix
PS> about_If # <- press F1 here# !! BROKEN: no action is taken
PS>if# <- press F1 here# WORKAROUND: Use minimal prefix "_"
PS> _if # <- press F1 here
Activity