Sometimes when I copy lines of code into a comment, I see a "Unknown macro:" error embedded in my comment.
Here is an example of the code I'm copying:
//if(!existsGroup(groupName)){
// return false
//}
if(!existsGroup(groupName)){
This is how it looks in Crucible:
//if(!existsGroup(groupName))
Unknown macro: { // return false //}
if(!existsGroup(groupName)){
Any idea why this is happening
Crucible uses wiki markup. And inside curly brackets { } you can put macros. As you're pasting text with brackets, it tries to convert it to a macro and fails. Try to write the following:
{code} paste your code here {code}
https://confluence.atlassian.com/crucible/using-wiki-markup-in-crucible-298977438.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.