Hello, I'm trying to use NetBeans as Javascript editor for Greasemonkey and I'm having some difficulties. I'm doing it in MacOS.
1. Tried to go with "Please select your preferred text editor first" dialog box and select /Application/NetBeans/NetBeans 6.8 it accepts it ok, but when I try to edit a script from GM, it opens NetBeans IDE Start Page with "Welcome to NetBeans IDE" page and my script is not there... 2. I found out that I can manually run /Applications/NetBeans/NetBeans 6.8.app/Contents/MacOS/netbeans myscript.js and it opens up myscript.js in Netbeans just fine. Aha! I went to about:config and changed greasemonkey.editor to /Applications/NetBeans/ NetBeans 6.8.app/Contents/MacOS/netbeans, but GM is going back to "Please select your preferred text editor first" dialog box when I tried to edit my script... 3. Ok, I've created netbeansh.sh file in my ~/bin directory like that: #!/bin/sh /Applications/NetBeans/NetBeans\ 6.8.app/Contents/MacOS/netbeans $* added executable permission for everyone and tried to select it in GM editor selection dialog box, but it didn't take it, telling me [JavaScript Application] Please pick an executable application to use to edit user scripts. Nothing works. What to do? -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
