lokalise / i18n-ally

🌍 All in one i18n extension for VS Code
https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally
MIT License
3.89k stars 307 forks source link

Visible Cursor stops moving. #849

Open A2-NieR opened 1 year ago

A2-NieR commented 1 year ago

Describe the bug When the extension is activated, the movement of the cursor stops working. The visible cursor stays at its last position while the actual clicked position remains invisible. Noticed in Svelte and Vue.

Extension Version 2.8.1

Framework/i18n package you are using "svelte-i18n": "^3.5.2"

Installed Extensions

  astro-vscode v0.28.2
  better-comments v3.0.2
  better-toml v0.3.2
  Bookmarks v13.3.1
  code-settings-sync v3.4.3
  code-spell-checker v2.11.1
  code-spell-checker-german v2.1.0
  codesnap v1.3.4
  console-ninja v0.0.3
  dart-code v3.52.1
  feather v0.5.0
  flutter v3.52.0
  gitignore v0.9.0
  gitlens v13.1.1
  go v0.36.0
  intellicode-api-usage-examples v0.2.6
  material-icon-theme v4.22.0
  nord-deep v0.1.623
  nord-visual-studio-code v0.19.0
  prettier-vscode v9.9.0
  quokka-vscode v1.0.514
  remote-containers v0.262.3
  remote-explorer v0.0.2
  remote-repositories v0.24.0
  remote-ssh v0.92.0
  remote-ssh-edit v0.84.0
  remote-wsl v0.72.0
  rust-analyzer v0.3.1293
  snippet-generator v0.3.2
  svelte-vscode v106.2.0
  svg-preview v2.8.3
  Theme-TomorrowKit v0.1.4
  todo-tree v0.0.220
  turbo-console-log v2.5.6
  volar v1.0.9
  vscode-conventional-commits v1.24.3
  vscode-eslint v2.2.6
  vscode-icons v12.0.1
  vscode-import-cost v3.3.0
  vscode-nier-automata-theme v1.0.0
  vscode-peacock v4.2.2
  vscode-remote-extensionpack v0.23.0
  vscode-status-bar-format-toggle v3.1.1
  vscode-thunder-client v2.0.2
  vscodeintellicode v1.2.29

settings.json

{
  "workbench.startupEditor": "newUntitledFile",
  "telemetry.enableCrashReporter": false,
  "telemetry.enableTelemetry": false,
  "gitlens.advanced.telemetry.enabled": false,
  "workbench.preferredDarkColorTheme": "Nord Deep",
  "workbench.settings.enableNaturalLanguageSearch": false,
  "workbench.enableExperiments": false,
  "workbench.colorCustomizations": {
    "statusBar.background": "#333",
    "statusBar.foreground": "#fff"
  },
  "editor.fontSize": 14,
  "editor.fontFamily": "IBM Plex Mono",
  "editor.wordWrap": "wordWrapColumn",
  "editor.renderWhitespace": "none",
  "editor.renderControlCharacters": false,
  "editor.formatOnSave": true,
  "editor.formatOnPaste": true,
  "editor.formatOnType": true,
  "explorer.confirmDelete": false,
  "explorer.confirmDragAndDrop": false,
  "sync.autoUpload": false,
  "git.autofetch": true,
  "prettier.arrowParens": "always",
  "prettier.singleQuote": true,
  "eslint.alwaysShowStatus": true,
  "cSpell.dictionaries": ["wordsEn", "node", "html", "css"],
  "cSpell.language": "en,de",
  "prettier.trailingComma": "none",
  "workbench.iconTheme": "material-icon-theme",
  "editor.suggestSelection": "first",
  "cSpell.enableFiletypes": ["!json"],
  "editor.tokenColorCustomizations": null,
  "[typescript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[typescriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "workbench.preferredLightColorTheme": "Feather",
  "cSpell.ignorePaths": [
    "**/package-lock.json",
    "**/node_modules/**",
    "**/vscode-extension/**",
    "**/.git/objects/**",
    ".vscode",
    ".env"
  ],
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "editor.tabSize": 2,
  "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "vsicons.dontShowNewVersionMessage": true,
  "git.confirmSync": false,
  "telemetry.telemetryLevel": "off",
  "workbench.colorTheme": "Feather",
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.guides.bracketPairs": true,
  "editor.guides.bracketPairsHorizontal": true,
  "editor.linkedEditing": true,
  "editor.stickyScroll.enabled": true,
  "editor.cursorBlinking": "phase",
  "diffEditor.codeLens": true,
  "workbench.sideBar.location": "right",
  "window.autoDetectColorScheme": true,
  "scm.alwaysShowActions": true,
  "scm.alwaysShowRepositories": true,
  "terminal.integrated.cursorBlinking": true,
  "terminal.integrated.defaultProfile.windows": "PowerShell",
  "terminal.integrated.fontFamily": "Jetbrains Mono",
  "terminal.integrated.fontSize": 13,
  "conventionalCommits.gitmoji": false,
  "[go]": {
    "editor.defaultFormatter": "golang.go"
  },
  "go.toolsManagement.autoUpdate": true,
  "window.zoomLevel": 1,
  "extensions.ignoreRecommendations": true,
  "gitlens.advanced.messages": {
    "suppressCreatePullRequestPrompt": true
  },
  "svelte.enable-ts-plugin": true,
  "svelte.plugin.svelte.note-new-transformation": false,
  "[svelte]": {
    "editor.defaultFormatter": "svelte.svelte-vscode"
  },
  "i18n-ally.dirStructure": "auto",
  "i18n-ally.sortKeys": true
}

Device Infomation

Extension Log Go to View -> Output -> i18n Ally, and paste the content below. You should mask any sensitive information

🈶 Activated, v2.8.1

――――――

💼 Workspace root changed to "c:\Users\XYZ\code\gitlab\username\project"
🌞 Enabled
🧩 Enabled frameworks: Svelte
🧬 Enabled parsers: json, yaml, json5

🚀 Initializing loader "c:\Users\XYZ\code\gitlab\username\project"
📂 Directory structure: file
🗃 Path Matcher Regex: /^(?<locale>[\w-_]+)\.(?<ext>json|ya?ml|json5)$/

📂 Loading locales under c:\Users\XYZ\code\gitlab\username\project\src\locale
    📑 Loading (de-DE) de-DE.json [1669323156125.8691]
    📑 Loading (en-US) en-US.json [1669323733134.4382]

👀 Watching change on c:\Users\XYZ\code\gitlab\username\project\src\locale
✅ Loading finished

――――――

Screenshots

  1. Visible cursor
  2. Active cursor

image

brandonp-ais commented 1 year ago

Have the same issue in a svelte project.

Plugin version: 2.8.1 "svelte-i18n": "^3.4.0"

brandonp-ais commented 1 year ago

Have tried reactivating this extension, and have noticed this constantly outputting stack trace in the console:

Stacktrace workbench.desktop.main.js:624 ERR Cannot read properties of null (reading 'left'): TypeError: Cannot read properties of null (reading 'left') at C.prepareRender (vscode-file://vscode-app/c:/Users/Brandon/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:694:71754) at S.prepareRender (vscode-file://vscode-app/c:/Users/Brandon/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:567:27755) at j.I (vscode-file://vscode-app/c:/Users/Brandon/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:697:21791) at vscode-file://vscode-app/c:/Users/Brandon/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:697:21156 at H (vscode-file://vscode-app/c:/Users/Brandon/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:697:23708) at j.G (vscode-file://vscode-app/c:/Users/Brandon/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:697:21145) at j.v (vscode-file://vscode-app/c:/Users/Brandon/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:697:19255) at j.F (vscode-file://vscode-app/c:/Users/Brandon/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:697:21137) at y.execute (vscode-file://vscode-app/c:/Users/Brandon/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:97:27149) at et (vscode-file://vscode-app/c:/Users/Brandon/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:97:27367)

This now longer occurs after de-activation