In the Gnome desktop environment I can create a shortcut to an application by placing the .desktop file in ~/.local/share/applications/, like this:
cat > ~/.local/share/applications/vscode.desktop <<EOL
[Desktop Entry]
Exec=/media/data/sas/devel/opt/code/code %f
Icon=/media/data/sas/devel/opt/code/visual-studio-code-green.png
Terminal=false
Type=Application
Name=vscode
Comment=Editor for building and debugging modern web and cloud applications
Categories=Development;WebDevelopment;IDE;Utility;TextEditor;
EOL
That way I can press the Meta key and just start typing "code" to then select and run the application.
How can I achieve the same within KDE Plasma 5?
Using Kubuntu 18.04, KDE Plasma 5.12.7, KDE framework 5.44
edit: just had to create the folder and everything worked as expected, sorry...