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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.