save-as-root icon indicating copy to clipboard operation
save-as-root copied to clipboard

'save-as-root.saveFile' not found

Open Windelimarcos opened this issue 10 months ago • 3 comments

I just installed the extension to work with a Linux Server, but when I try to save I get the following:

The command "Save as Root" extension results in an error: "command 'save-as-root.save file' not found"

Does anybody get this error? I searched for an Issue and find none...

Windelimarcos avatar Apr 04 '24 19:04 Windelimarcos

same issue, using mac and linux

juanpduke avatar Apr 16 '24 15:04 juanpduke

Could you check keybindings.json (https://code.visualstudio.com/docs/getstarted/keybindings#_advanced-customization) or any files within the ".vscode/" folder, if present, for the string "save-as-root.save file"?

The correct command name is "save-as-root.saveFile", not "save-as-root.save file". Since I couldn't find any occurrence of "save-as-root.save file" in the source code, I think your configuration might be the cause.

https://github.com/yy0931/save-as-root/blob/3ca28afee8c8820ed09f464d8f57597d4640061c/package.json#L36

yy0931 avatar Apr 16 '24 21:04 yy0931

Hi, I just checked in mi mac and found that the package.json of the extension is ok, but still not working. It stopped working about 2 weeks ago, could it be a problem with a vscode update?

[image: image.png]

El mar, 16 abr 2024 a las 16:01, yy0931 @.***>) escribió:

Could you check keybindings.json ( https://code.visualstudio.com/docs/getstarted/keybindings#_advanced-customization) or any files within the ".vscode/" folder, if present, for the string "save-as-root.save file"?

The correct command name is "save-as-root.saveFile", not "save-as-root.save file". Since I couldn't find any occurrence of "save-as-root.save file" in the source code, I think your configuration might be the cause.

https://github.com/yy0931/save-as-root/blob/3ca28afee8c8820ed09f464d8f57597d4640061c/package.json#L36

— Reply to this email directly, view it on GitHub https://github.com/yy0931/save-as-root/issues/24#issuecomment-2059916106, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRDX7ZQMFODVYOZ3P2G6JLY5WGSLAVCNFSM6AAAAABFX3XTMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZHEYTMMJQGY . You are receiving this because you commented.Message ID: @.***>

-- Juan Pablo Duque Arango Coordinador de Desarrollo Cel: 3017599952

juanpduke avatar Apr 17 '24 03:04 juanpduke

I'm sorry, but I cannot fully understand your issue.

  1. It appears the attached image was not properly sent. Perhaps you need to comment through GitHub instead of email to attach an image.

  2. I noticed the issue title mentions "save-as-root.saveFile", but the comment states "save-as-root.save file". Which one is your error message?

  3. Have you checked keybindings.json and the files within .vscode/, as I mentioned in the previous reply?

  4. I just checked in mi mac and found that the package.json of the extension is ok

    Which package.json file are you referring to? Did you examine the extension's installation directory, or did you unzip the .vsix file, or something else?

Regarding VSCode update,

could it be a problem with a vscode update?

I think more users will face the issue if it is due to a VSCode update. This extension is downloaded about 300 times a day.

yy0931 avatar Apr 20 '24 05:04 yy0931

Closing due to inactivity.

yy0931 avatar Apr 30 '24 23:04 yy0931