mark-wiemer-org / ahkpp

AutoHotkey Plus Plus (AHK++) - AutoHotkey v1 and v2 support for VS Code
https://marketplace.visualstudio.com/items?itemName=mark-wiemer.vscode-autohotkey-plus-plus
Other
152 stars 10 forks source link

No format intelicence or formating or colors #414

Closed neondeex closed 7 months ago

neondeex commented 9 months ago

Description

I installed the extension and reopen vs code and is not working

Reproduction steps

Steps to reproduce the behavior:

1 install 2 do not work

Expected behavior

to work

Additional context

i don't know if i need something else

asheroto commented 8 months ago

Same issue here. Have used this excellent extension or a long time but recently it broke.

  1. Press F1
  2. Format Document
  3. See the message below

image

Using AHK v1 script, file extension is .lnk.

Even if I put this in the settings.json file it still occurs:

    "[ahk]": {
        "editor.defaultFormatter": "mark-wiemer.vscode-autohotkey-plus-plus"
    },

Have also tried [ahk2] and [autohotkey].

mark-wiemer commented 8 months ago

Hmm, I'll post some updated steps for how to do a full uninstall and re-install, a few folks have reported issues like this. Give me a few days though, life remains busy :/

asheroto commented 8 months ago

Thanks. I did try to uninstall and reinstall the extension. Maybe there's a debug log somewhere I could help diagnose with.

mark-wiemer commented 7 months ago

There are some special locations where VS Code keeps a copy of all extensions, even after you uninstall them. I find those locations using the "Everything" search engine. Looks like it's under C:\Users\%user%\.vscode\extensions\mark-wiemer.vscode-autohotkey-plus-plus-5.0.3 by default, try removing that folder entirely and then uninstalling.

Note that your settings will be preserved as they're stored in C:\Users\%user%\AppData\Roaming\Code\User\settings.json :) (note this folder is hidden in File Explorer by default)

Hope this helps, see also #396 for more advice.