diff options
author | Tak <levi@unity3d.com> | 2011-03-04 14:31:04 +0300 |
---|---|---|
committer | Lluis Sanchez <slluis.devel@gmail.com> | 2011-03-04 17:59:25 +0300 |
commit | 0b9b97c96a79d823e7279dc5bc43b99f59e046f4 (patch) | |
tree | 51240934666ff12462647c1babaa3ffeb7081ae3 /main/src/addins/CBinding | |
parent | ae03b7afd91d49a8ccc26c29f5374799f5974dba (diff) |
[C] Only override Goto Declaration for relevant file types.
* CBinding.addin.xml: Add FileType conditional for GotoDeclaration.
License: MIT/X11
Diffstat (limited to 'main/src/addins/CBinding')
-rw-r--r-- | main/src/addins/CBinding/CBinding.addin.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/main/src/addins/CBinding/CBinding.addin.xml b/main/src/addins/CBinding/CBinding.addin.xml index e3e5259f11..44bc7cf9cc 100644 --- a/main/src/addins/CBinding/CBinding.addin.xml +++ b/main/src/addins/CBinding/CBinding.addin.xml @@ -215,8 +215,8 @@ </Extension> <Extension path = "/MonoDevelop/Ide/TextEditorExtensions"> - <Class fileExtensions=".c,.cpp,.cxx,.cc,.h,.hpp,.hh,.hxx" class = "CBinding.CTextEditorExtension" /> - <Class fileExtensions=".c,.cpp,.cxx,.cc,.h,.hpp,.hh,.hxx" class = "CBinding.Formatting.CTextEditorIndentation" /> + <Class fileExtensions=".c,.cpp,.cxx,.cc,.h,.hpp,.hh,.hxx,.m,.mm,.M" class = "CBinding.CTextEditorExtension" /> + <Class fileExtensions=".c,.cpp,.cxx,.cc,.h,.hpp,.hh,.hxx,.m,.mm,.M" class = "CBinding.Formatting.CTextEditorIndentation" /> </Extension> <Extension path = "/MonoDevelop/Ide/CodeFormatters"> @@ -265,10 +265,12 @@ <Extension path = "/MonoDevelop/ProjectModel/DomParser"> <Parser class = "CBinding.Parser.CDocumentParser" id = "CDocumentParser" - fileExtensions=".c,.cpp,.cxx,.cc,.h,.hpp,.hh,.hxx" /> + fileExtensions=".c,.cpp,.cxx,.cc,.h,.hpp,.hh,.hxx,.m,.mm,.M" /> </Extension> <Extension path="/MonoDevelop/SourceEditor2/ContextMenu/Editor"> - <CommandItem id = "MonoDevelop.Refactoring.RefactoryCommands.GotoDeclaration" insertafter="MonoDevelop.SourceEditor.SourceEditorCommands.MarkerOperations" /> + <Condition id="FileType" fileExtensions=".c,.cpp,.cxx,.cc,.h,.hpp,.hh,.hxx,.m,.mm,.M"> + <CommandItem id = "MonoDevelop.Refactoring.RefactoryCommands.GotoDeclaration" insertafter="MonoDevelop.SourceEditor.SourceEditorCommands.MarkerOperations" /> + </Condition> </Extension> </Addin> |