vscode-systemd-unit-file icon indicating copy to clipboard operation
vscode-systemd-unit-file copied to clipboard

[service files] Missing keywords in recognition.

Open TriMoon opened this issue 5 years ago • 6 comments

Seems you are missing certain keywords that can be used in service files.

fe. the service file i use as a template to generate the final version is using these that are not recognized:

  • RestrictSUIDSGID #L53
  • RuntimeDirectoryPreserve #L27

You might want to check the man pages again for any other missed keywords :wink:

TriMoon avatar Feb 02 '20 14:02 TriMoon

FYI: I've created a fork with an updated definition (@bearmini I'm happy to submit a PR if you're interested): https://github.com/fhemberger/vscode-systemd-support

fhemberger avatar Jul 15 '21 19:07 fhemberger

@fhemberger Thank you for letting me know! Your forked version has auto-completion and is up-to-date. I’d be really happy if you could submit a PR for the changes!

bearmini avatar Jul 16 '21 00:07 bearmini

It's actually all @hangxingliu's work (I just ran the script to update the definitions), but he doesn't seem to be active on GitHub any more.

fhemberger avatar Jul 16 '21 06:07 fhemberger

It's actually all @hangxingliu's work (I just ran the script to update the definitions), but he doesn't seem to be active on GitHub any more.

🤣 I left for a long time, But I came back recently.

hangxingliu avatar Nov 03 '21 20:11 hangxingliu

@hangxingliu Welcome back! 😊

fhemberger avatar Nov 03 '21 21:11 fhemberger

I released the new version extension and updated the directives to the latest. And you can find it in here: https://marketplace.visualstudio.com/items?itemName=hangxingliu.vscode-systemd-support

hangxingliu avatar Dec 17 '21 23:12 hangxingliu