I think it may be a bug indeed. I installed some plugins before and they insert some commands in “command palette”. After I remove those plugins, I found those commands still reside in my command palette.
Is there any way to clean those invalid commands in “command palette”?