mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
missing changes from Thomasf patch for key bind stuff.
This commit is contained in:
parent
50c724ac09
commit
3fa62eae94
2 changed files with 57 additions and 3 deletions
|
@ -49,6 +49,21 @@ OpenNewFolderWizardAction.tooltip=Create a folder
|
|||
OpenClassWizardAction.label=&Class
|
||||
OpenClassWizardAction.tooltip=Create a new C++ class
|
||||
|
||||
# Editor
|
||||
|
||||
# Scope and Key Commands
|
||||
scope.cEditor.name=C/C++ Editor
|
||||
cEditor.description=Editor for C/C++ Source Files
|
||||
|
||||
category.source.name=C/C++ Source
|
||||
category.source.description= C/C++ Source Actions
|
||||
|
||||
ActionDefinition.comment.name= Comment
|
||||
ActionDefinition.comment.description= Turn the selected lines into // style comments
|
||||
|
||||
ActionDefinition.uncomment.name= Uncomment
|
||||
ActionDefinition.uncomment.description= Uncomment the selected // style comment lines
|
||||
|
||||
CEditor.name=C Editor
|
||||
CPluginPreferencePage.name=C/C++
|
||||
CPluginEditorPreferencePage.name=C/C++ Editor
|
||||
|
@ -60,12 +75,12 @@ CApplicationLauncher.label=Executable
|
|||
CApplicationLauncher.description=Launch a local command
|
||||
CProblemMarker.name=C Problem
|
||||
|
||||
CFolderActionSet.label=C Folder Actions
|
||||
CFolderActionSet.description=C Folder Action Set
|
||||
|
||||
Editors.DefaultTextEditor = Default Text Editor
|
||||
AsmEditor.name = Assembly Editor
|
||||
|
||||
CFolderActionSet.label=C Folder Actions
|
||||
CFolderActionSet.description=C Folder Action Set
|
||||
|
||||
# Task Action
|
||||
DeleteTaskAction.label=Delete C/C++ Markers
|
||||
|
||||
|
|
|
@ -475,6 +475,45 @@
|
|||
class="org.eclipse.cdt.internal.ui.BuildConsole">
|
||||
</CBuildConsole>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.commands">
|
||||
<scope
|
||||
name="%scope.cEditor.name"
|
||||
parent="org.eclipse.ui.textEditorScope"
|
||||
description="%cEditor.description"
|
||||
id="org.eclipse.cdt.ui.cEditorScope">
|
||||
</scope>
|
||||
<category
|
||||
name="%category.source.name"
|
||||
descrption="%category.source.description"
|
||||
id="org.eclipse.cdt.ui.category.source">
|
||||
</category>
|
||||
<command
|
||||
name="%ActionDefinition.comment.name"
|
||||
description="%ActionDefinition.comment.description"
|
||||
category="org.eclipse.cdt.ui.category.source"
|
||||
id="org.eclipse.cdt.ui.edit.text.c.comment">
|
||||
</command>
|
||||
<keyBinding
|
||||
string="Ctrl+/"
|
||||
scope="org.eclipse.cdt.ui.cEditorScope"
|
||||
command="org.eclipse.cdt.ui.edit.text.c.comment"
|
||||
configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
|
||||
</keyBinding>
|
||||
<command
|
||||
name="%ActionDefinition.uncomment.name"
|
||||
description="%ActionDefinition.uncomment.description"
|
||||
category="org.eclipse.cdt.ui.category.source"
|
||||
id="org.eclipse.cdt.ui.edit.text.c.uncomment">
|
||||
</command>
|
||||
<keyBinding
|
||||
string="Ctrl+\"
|
||||
scope="org.eclipse.cdt.ui.cEditorScope"
|
||||
command="org.eclipse.cdt.ui.edit.text.c.uncomment"
|
||||
configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
|
||||
</keyBinding>
|
||||
</extension>
|
||||
|
||||
<!--
|
||||
<extension
|
||||
point="org.eclipse.ui.views">
|
||||
|
|
Loading…
Add table
Reference in a new issue