Rename debug: commands to dev: (#30675)
Closes #ISSUE Release Notes: - Breaking change: The actions used while developing Zed have been renamed from `debug:` to `dev:` to avoid confusion with the new debugger feature: - - `dev::OpenDebugAdapterLogs` - - `dev::OpenSyntaxTreeView` - - `dev::OpenThemePreview` - - `dev::OpenLanguageServerLogs` - - `dev::OpenKeyContextView`
This commit is contained in:
parent
7f9a365d8f
commit
ed361ff6a2
9 changed files with 11 additions and 11 deletions
|
@ -684,7 +684,7 @@ impl Render for DapLogView {
|
|||
}
|
||||
}
|
||||
|
||||
actions!(debug, [OpenDebuggerAdapterLogs]);
|
||||
actions!(dev, [OpenDebugAdapterLogs]);
|
||||
|
||||
pub fn init(cx: &mut App) {
|
||||
let log_store = cx.new(|cx| LogStore::new(cx));
|
||||
|
@ -702,7 +702,7 @@ pub fn init(cx: &mut App) {
|
|||
}
|
||||
|
||||
let log_store = log_store.clone();
|
||||
workspace.register_action(move |workspace, _: &OpenDebuggerAdapterLogs, window, cx| {
|
||||
workspace.register_action(move |workspace, _: &OpenDebugAdapterLogs, window, cx| {
|
||||
let project = workspace.project().read(cx);
|
||||
if project.is_local() {
|
||||
workspace.add_item_to_active_pane(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue