With my Sproutcore running, I started following the tutorials and by the "TodosThree" part I was writing a fair amount of JavaScript. I need an IDE for this work - Netbeans.
Sproutcore and Netbeans |
Netbeans doesn't officially support Sproutcore but that isn't really a problem. Sproutcore is like 95% JavaScript and Netbeans has excellent JavaScript support. It's just a matter of "creative" use of Netbeans. The trick is to create a "PHP Application with Existing Source" and point it to your Sproutcore project folder. Here's the procedure:
- New Project > PHP Application with Existing Source
- Sources Folder should point to your Sproutcore project folder (not the apps folder)
- Change the Project URL to https://localhost:4020 also remove the index file
- And your done!
As for the rest like running the "sproutcore gen app" commands. You'll have to run that outside Netbeans and on the terminal. Its not really a big deal.
BTW, code intellesense amazingly also works, I didn't expect it to work but it does. BONUS!
No comments:
Post a Comment