From d1700f07a1b38db830ee72ddc915d760b40faeea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Thu, 6 Feb 2025 00:32:19 -0300 Subject: [PATCH] Add a documentation link in debugger side panel tab. --- bin/assets/plugins/debugger.json | 2 +- src/tools/ecode/plugins/debugger/debuggerplugin.cpp | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/bin/assets/plugins/debugger.json b/bin/assets/plugins/debugger.json index 6aa662355..e4d25cc95 100644 --- a/bin/assets/plugins/debugger.json +++ b/bin/assets/plugins/debugger.json @@ -158,7 +158,7 @@ { "name": "debugpy", "url": "https://github.com/microsoft/debugpy", - "type": "python", + "type": "debugpy", "languages": [ "python" ], "run": { "command": "python3", diff --git a/src/tools/ecode/plugins/debugger/debuggerplugin.cpp b/src/tools/ecode/plugins/debugger/debuggerplugin.cpp index e8d8d32e9..1316711cf 100644 --- a/src/tools/ecode/plugins/debugger/debuggerplugin.cpp +++ b/src/tools/ecode/plugins/debugger/debuggerplugin.cpp @@ -673,6 +673,15 @@ void DebuggerPlugin::buildSidePanelTab() { border-top-right-radius: var(--button-radius); border-bottom-right-radius: var(--button-radius); } + #panel_debugger_help { + color: var(--primary); + text-decoration: none; + text-align: center; + margin-top: 32dp; + } + #panel_debugger_help:hover { + text-decoration: underline; + } @@ -688,6 +697,7 @@ void DebuggerPlugin::buildSidePanelTab() { + )html";