vscode-textlint icon indicating copy to clipboard operation
vscode-textlint copied to clipboard

Not working with VScode 1.66.2

Open harshakokel opened this issue 2 years ago • 2 comments

Hello,

I am using the following VScode version and I installed this plugin but it does not seem to work. I have the textlint installed in global and working from terminal. I have added to node_path and the config file path, I do not see any error but also do not see any highlights.

Version: 1.66.2 (Universal) Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977 Date: 2022-04-11T07:49:20.994Z Electron: 17.2.0 Chromium: 98.0.4758.109 Node.js: 16.13.0 V8: 9.8.177.11-electron.0 OS: Darwin x64 21.3.0

With verbose setting, I see following output logs

[Info  - 9:21:56 PM] reConfigure
[Info  - 9:21:56 PM] configureEngine file:///<path-to-project>
[Info  - 9:21:56 PM] Module textlint resolve from <path-to-project>
[Info  - 9:21:56 PM] NODE_PATH value is: /usr/local/lib/node_modules
[Info  - 9:21:57 PM] Module textlint got resolved to /usr/local/lib/node_modules/textlint/lib/src/index.js
[Info  - 9:21:57 PM] sendStartProgress 0
[Info  - 9:21:57 PM] sendStopProgress 1

On triggering the fix all auto-fixable problems from the command palette I see following logs,

[Info  - 9:23:14 PM] AllFixesRequest file:///<path-to-project>/readme.txt

Can you please help me to get this working?

harshakokel avatar Apr 14 '22 02:04 harshakokel

I also got same problem on VScode 1.66.2 with Windows 11

Version: Code 1.66.2 (dfd34e8260c270da74b5c2d86d61aee4b6d56977, 2022-04-11T07:46:01.075Z) OS Version: Windows_NT x64 10.0.22610 CPUs: AMD Ryzen 7 5800H with Radeon Graphics (16 x 3194) Memory (System): 13.86GB (4.73GB free)

my output logs

[Info  - 19:53:49] onDidSave file:///c%3A/Users/atsushifx/workspaces/gitworks/github.com/atsushifx/zenn-cli/articles/nodejs-volta-quickhack.md
onSave

[Info  - 19:53:49] sendStartProgress 0
[Info  - 19:53:49] validate file:///c%3A/Users/atsushifx/workspaces/gitworks/github.com/atsushifx/zenn-cli/articles/nodejs-volta-quickhack.md
[Info  - 19:53:49] lookupEngine file:///c%3A/Users/atsushifx/workspaces/gitworks/github.com/atsushifx/zenn-cli/articles/nodejs-volta-quickhack.md
[Info  - 19:53:49] lookupEngine file:///c%3A/Users/atsushifx/workspaces/gitworks/github.com/atsushifx/zenn-cli/articles/nodejs-volta-quickhack.md not found
[Info  - 19:53:49] sendOK
[Info  - 19:53:49] sendStopProgress 1

atsushifx avatar May 04 '22 10:05 atsushifx

I had the same problem on Windows 10, but solved it as follows.

After uninstalling VS Code, delete all directories in the following location and reinstall VS Code. You might want to make a backup just in case.

  1. C:\User(user)\AppData\Local\Programs\Microsoft VS Code
  2. C:\User(user)\AppData\Roaming\Microsoft\Windows\Start Menu\Program\Visual Studio Code
  3. C:\User(user)\AppData\Roaming\Code
  4. C:\User(user)\.vscode

Then reinstall this vscode-textlint plugin. Version 1.69.2 also worked.

yasutakeyohei avatar Jul 26 '22 16:07 yasutakeyohei