[Visual studio code] why this app not working with ibus?

i was readed a topic as title is “How to create first snap” and now, i can create simple snapcraft.yaml:

name: vscode-snap # you probably want to 'snapcraft register <name>'
base: core20 # the base snap is the execution environment for this snap
version: '1.60.1-1631294805' # just for humans, typically '1.2+git' or '1.3.2'
summary: Vistual Studio Code from Deb file! # 79 char long summary
description: |
  Vistual Studio Code from Deb file!
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: classic # use 'strict' once you have the right plugs and slots

apps:
  vscode-snap:
    command: usr/share/code/bin/code
    desktop: usr/share/applications/code.desktop
    #environment:
      #LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib

parts:
  my-part:
    # See 'snapcraft plugins'
    source: https://az764295.vo.msecnd.net/stable/83bd43bc519d15e50c4272c6cf5c1479df196a4d/code_1.60.1-1631294805_amd64.deb
    plugin: dump
    stage-packages: [libnss3,gnupg,apt,libxkbfile1,libsecret-1-0,libgtk-3-0,libxss1,libgbm1,libxshmfence1,libasound2]

when i install this file.snap, this app works very smoothly :thinking: