mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Bug 562368 - Fix doxygen template documentation
Change-Id: If0763d66fab13bc1cc7445363368df4c53546c24
(cherry picked from commit 8fa9f63e13
)
This commit is contained in:
parent
fa46a5085e
commit
21d68daf5d
3 changed files with 17 additions and 2 deletions
|
@ -796,6 +796,21 @@ public class DoxygenCCommentAutoEditStrategyTest extends AbstractAutoEditTest {
|
|||
assertAutoEditBehaviour();
|
||||
}
|
||||
|
||||
///**X
|
||||
//template<class T>
|
||||
//T foo() {}
|
||||
|
||||
///**
|
||||
// * X${whitespace_eol}
|
||||
// * @tparam T
|
||||
// * @return
|
||||
// */
|
||||
//template<class T>
|
||||
//T foo() {}
|
||||
public void testTemplateParameters_Bug562368() throws CoreException {
|
||||
assertAutoEditBehaviour();
|
||||
}
|
||||
|
||||
protected void assertAutoEditBehaviour() throws CoreException {
|
||||
CTextTools textTools = CUIPlugin.getDefault().getTextTools();
|
||||
final IDocument doc = new Document();
|
||||
|
|
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.eclipse.cdt.ui; singleton:=true
|
||||
Bundle-Version: 6.7.0.qualifier
|
||||
Bundle-Version: 6.7.1.qualifier
|
||||
Bundle-Activator: org.eclipse.cdt.ui.CUIPlugin
|
||||
Bundle-Vendor: %providerName
|
||||
Bundle-Localization: plugin
|
||||
|
|
|
@ -206,7 +206,7 @@ public class DoxygenMultilineAutoEditStrategy extends DefaultMultilineCommentAut
|
|||
.append(ASTStringUtil.getSimpleName(decl.getName()))
|
||||
.append(ASTStringUtil.getSignatureString(null, decl)).append(getLineDelimiter());
|
||||
}
|
||||
result.append(getBriefTag()).append(getPrePostTag()).append(documentTemplateParameters(templateParams));
|
||||
result.append(getBriefTag()).append(getPrePostTag());
|
||||
|
||||
result.append(documentTemplateParameters(templateParams));
|
||||
result.append(documentFunctionParameters(getParameterDecls(decl)));
|
||||
|
|
Loading…
Add table
Reference in a new issue