Move to the yara-x/ls/editors/code, install dependecies and compile the extension:
$ npm i
$ npm run compile
You can start extension development host with code CLI tool with specified absolute path to yara-x/ls/editors/code folder for --extensionDevelopmentPath: