Open NWYLZW opened 1 year ago
Unfortunately, 4.4.4
may not have func addCommand
. :(
In my local devtool. I print it.
We need a polyfill to support it.
After my testing, versions lower than 4.9.5
will have problems. But the interesting thing is that it has the addcommand API but it is not exposed.
After my testing, versions lower than
4.9.5
will have problems. But the interesting thing is that it has the addcommand API but it is not exposed.
VSCode team is so bad. So we don't need polyfill, just find a way to expose it?
yes. Just try expose it :(
I find a way. Look at
Notice the registerCommand
function.
And then