Hi, Am Dienstag, dem 14.03.2023 um 18:31 +0100 schrieb Antonio: > > The question is, shall the IDE ask the user for permission before using > any of these external commands? Or is it ok to find them in the PATH, > for instance, and start using them directly? >
for the building invocation it is IMHO a no-brainer. Nobody expects the shell to ask you "Do you really want to invoke 'make' from the path?" and from my POV it is the same for the IDE. If a command is on the PATH of the user, the user installed it. If a user is intelligent to write/install a programm "kill my disk" and name it "cargo" and make it available on the PATH, then this is evolution and not a problem of the IDE. So TL;DR: Invoking cargo without asking the user explicitly is IMHO fine. We ask for trust when opening gradle projects, because _parsing_ gradle projects requires invoking foreign code, which could be surprising. Greetings Matthias --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
