I found that the extension sometimes struggles to show parentheses for existing files. It doesn't show parentheses for the lines below. Copying the lines to another file does show parentheses there, but not even removing and re-adding the lines to the original files seems to force the parentheses to show up.
let translation = await translator.translateText(
text,
source === "auto" ? null : source as SourceLanguageCode, // <-- HERE
target as TargetLanguageCode,
{
preserveFormatting: true
}
);
let languages = focusedOption.name === "source" ? await translator.getSourceLanguages() : await translator.getTargetLanguages();
PS: The big parentheses option doesn't seem to work either. If the parentheses render, even with the option on, they show up as tiny subscript ones