atom-editor

2020-08-17T12:34:13.091600Z

@mauricio.szabo i am not sure, but it says this in the README: > This extension looks for a file called init.js or init.ts in your <code-config-path>/User folder, compiles it if it's a TypeScript file, and then loads it. > It expects your init script to export a function init(context: vscode.ExtensionContext), which it will then invoke. From here, you're free to interact with your Code instance through the extension API.

2020-08-17T12:34:29.091900Z

so if you can do it through the extension api, then may be?

avocade 2020-08-17T20:16:55.092300Z

@avocade has joined the channel

2020-08-17T23:42:55.092900Z

@mauricio.szabo i suspect the answer may be "no" after looking at this: https://github.com/microsoft/vscode/issues/1422 -- but it appears a number of parties have been interested for some time, so may be at some point?

2020-08-17T23:45:06.093800Z

my impression has been "if it isn't in package.json it can't be registered" -- does that seem right?

seancorfield 2020-08-17T23:53:06.095Z

It seems that if it isn't in package.json then you can't get its display name and some other properties and you can't add key bindings to it. I'm not sure if that's what you mean by "it can't be registered".

seancorfield 2020-08-17T23:53:34.095600Z

Certainly seems like MS have been resisting this particular avenue of customization for over four years... 🙂

2020-08-18T02:19:12.102800Z

ha ha ha -- yes, looking at how they seem to be conspicuously not responding in that issue :)