[all-commits] [llvm/llvm-project] fccae8: [lldb] Add completions for plugin list/enable/disa...
David Peixotto via All-commits
all-commits at lists.llvm.org
Tue Jul 15 12:44:21 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fccae859bc949ba390184614e07234267a734b86
https://github.com/llvm/llvm-project/commit/fccae859bc949ba390184614e07234267a734b86
Author: David Peixotto <peix at meta.com>
Date: 2025-07-15 (Tue, 15 Jul 2025)
Changed paths:
M lldb/include/lldb/Core/PluginManager.h
M lldb/include/lldb/Interpreter/CommandCompletions.h
M lldb/include/lldb/lldb-enumerations.h
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/source/Commands/CommandCompletions.cpp
M lldb/source/Commands/CommandObjectPlugin.cpp
M lldb/source/Core/PluginManager.cpp
M lldb/test/API/commands/plugin/TestPlugin.py
Log Message:
-----------
[lldb] Add completions for plugin list/enable/disable (#147775)
This commit adds completion support for the plugin commands. It will try
to complete partial namespaces to the full namespace string. If the
completion input is already a full namespace string then it will add all
the matching plugins in that namespace as completions.
This lets the user complete to the namespace first and then tab-complete
to the next level if desired.
```
(lldb) plugin list a<tab>
Available completions:
abi
architecture
(lldb) plugin list ab<tab>
(lldb) plugin list abi<tab>
(lldb) plugin list abi.<tab>
Available completions:
abi.SysV-arm64
abi.ABIMacOSX_arm64
abi.SysV-arm
...
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list