Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension not showing parentheses for existing files #5

Open
TheChilliPL opened this issue Jun 6, 2023 · 1 comment
Open

Extension not showing parentheses for existing files #5

TheChilliPL opened this issue Jun 6, 2023 · 1 comment

Comments

@TheChilliPL
Copy link

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

@igorkravitz
Copy link

I do not have this extension, but the code shows these brackets. how to disable those brackets?
Версия: 1.81.1 (system setup)
Фиксация: 6c3e3dba23e8fadc360aed75ce363ba185c49794
Дата: 2023-08-09T22:22:42.175Z
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
ОС: Windows_NT x64 10.0.19045

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants