Forked vscode-lean. How do I change "publisher" without error running.
I changed "publisher" in package.json from "jroesch" to "enjoysmath". Here is the error:

I will investigate this today using my debugging skills. However, I'm new to TypeScript.
Thanks.
You may have already figured this out, but this is happening because when you change the publisher, you're effectively creating a separate extension, since VS Code extensions are identified by an id which is publisher.name. Thus, when you launch the Extension Host, both jroesch.lean and enjoysmath.lean are loaded. The error message appears because VS Code can't assign the same command to two extensions.
Possible workarounds:
- disable the
jroesch.leanextension while developingenjoysmath.lean - rename the elements of the
commandsarray inpackage.json(you will also have to change them where they're referenced in the other parts of the code)
This can be closed now.