In most cases, embed-code is used with a limited set of languages (Kotlin, Groovy, Java, etc.).
It should be possible to specify default values for some attributes.
This is important because specifying the project root as a code source currently results in processing directories such as build, generated, node_modules, etc. Those directories can contain files, links, sockets, and other entries that cannot be copied or opened, resulting in embed-code crashes.
Review the list of settings and define default values where possible. See ripgrep(for example) as a reference for how this could be handled. Different operating systems may require different default settings (TBD).
In most cases,
embed-codeis used with a limited set of languages (Kotlin, Groovy, Java, etc.).It should be possible to specify default values for some attributes.
This is important because specifying the project root as a code source currently results in processing directories such as
build,generated,node_modules, etc. Those directories can contain files, links, sockets, and other entries that cannot be copied or opened, resulting inembed-codecrashes.Review the list of settings and define default values where possible. See
ripgrep(for example) as a reference for how this could be handled. Different operating systems may require different default settings (TBD).