egomobile / vscode-powertools

A swiss army knife with lots of tools, extensions and (scriptable) enhancements for Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=egomobile.vscode-powertools
GNU Lesser General Public License v3.0
69 stars 9 forks source link

My beloved action button stopped working... #15

Open mbaas2 opened 9 months ago

mbaas2 commented 9 months ago

I have an action thatI use frequently (I'd say almost daily). And now I noticed it no longer works. But then I've been sick for a few days - so it may have stopped working last week - but I can't relate that to any updates of egomobile. I also went back to 1.84.2 which I swear it once worked with - and it does not.

Admittedly this is crazy weird - it's confusing and I have no idea what to do :(

Well, except...the only idea I had was to open Termin>Output>ego and it showed the opening msg with the commandline and on [OK] suffix. Copying that commandline into a DOS console worked.

Is there anything else I could do to dig deeper into this?

BTW, in case it matters, the button def is:

        {
            "text": "$(file) DyaEdit",
            "ifFile": "(.dyalog|.mipage|.aplf|.aplc|.apln|.dyascript)$",
            "priority": 1030,
            "tooltip": "Opens the Dyalog Editor from 19.0 on current file",
            "action": {
                "type": "shell",
                "command": "\"C:/Program Files/Dyalog/Dyalog APL-64 19.0 Unicode/dyaedit.exe\" \"${activeFile}\"",
            },
            "onEditorChanged": " $v['button'].update() "

        },

it opens an alternative editor on the curent file.

mbaas2 commented 8 months ago

2024-03-13: updated def - still can't get it to work :(

Also experimented with "command": "\"C:\\Program Files\\Dyalog\\Dyalog APL-64 19.0 Unicode\\dyaedit.exe\" \"${activeFile}\"", in case the forward slashes would be a problem (which they were not).