I want to know is there a way to add an option "Open in VS Code" for Right Clicking a folder in Ubuntu 20 (Focal Fossa). I know its possible for a file using Nautilus but is it possible for a folder?

I want to know is there a way to add an option "Open in VS Code" for Right Clicking a folder in Ubuntu 20 (Focal Fossa). I know its possible for a file using Nautilus but is it possible for a folder?

Add inode/directory; to the .desktop launcher of the application to have it also appear in the right-click "Open with other application" item for a folder.