andywang425 / vscode-scriptmonkey

Userscript language support extension for vscode.
https://marketplace.visualstudio.com/items?itemName=andywang.vscode-scriptmonkey
MIT License
23 stars 3 forks source link

Feature request: stored values for @namespace, @author #7

Closed Kwack-Kwack closed 1 year ago

Kwack-Kwack commented 1 year ago

Hey,

Loving the extension so far, it makes writing userscripts so much easier.

Would it be possible to have an autofilled author key (customizable, rather than just "Your Name"), as well as automatically filling out namespace keys with the same url per workspace/folder? Perhaps even the icon key as well?

First one would be very useful, second one is a bit more complex (and niche) but would help ease the repetition. Thanks.

andywang425 commented 1 year ago

Thank you for your feedback. I will add this feature in the future release.

andywang425 commented 1 year ago

as well as automatically filling out namespace keys with the same url per workspace/folder?

I'll support this feature globally first rather than per workspace/folder since it's easier to implement and I'm new to vscode extension development. Maybe this feature will support per workspace/folder after I learn more.

andywang425 commented 1 year ago

I've just published a new release. Go and check it out.