Skip to content

Commit

Permalink
Support toggle breakpoints in C/C++ Editor (LSP)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghentschke committed Apr 26, 2023
1 parent ff1ee46 commit 45dbe72
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bundles/org.eclipse.cdt.lsp/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.cdt.core,
org.eclipse.ui.workbench,
org.eclipse.core.expressions,
org.eclipse.jface.text
org.eclipse.jface.text,
org.eclipse.debug.ui
Bundle-RequiredExecutionEnvironment: JavaSE-17
Automatic-Module-Name: org.eclipse.cdt.lsp
Bundle-ActivationPolicy: lazy
16 changes: 15 additions & 1 deletion bundles/org.eclipse.cdt.lsp/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,20 @@
</test>
</with>
</definition>
</extension>
</extension>
<extension
point="org.eclipse.ui.editorActions">
<!-- Still using the deprecated extension until there is a proper replacement for the RulerDoubleClick action (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=455985) -->
<editorContribution
id="org.eclipse.cdt.lsp.CEditor.BreakpointRulerActions"
targetID="org.eclipse.cdt.lsp.CEditor">
<action
actionID="RulerDoubleClick"
class="org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate"
id="org.eclipse.cdt.lsp.CEditor.RulerToggleBreakpointAction"
label="unusedlabel">
</action>
</editorContribution>
</extension>
</plugin>

0 comments on commit 45dbe72

Please sign in to comment.