Read the statement by Michael Teeuw here.
This might be a daft question, but...
-
@ronny3050 Thanks for your reply
Will I get any kind of intellisense in the IDE?
Also, do I develop on the Pi itself or can I do develop/test on my Windows machine?
-
@Mitchfarino yes you do get intellisense, which helps when you are requiring core node modules to easily find out the function you’re looking for.
You should always develop on your local machine before deploying it to the pi. This way your code is generic and you won’t have memory issues. Not to mention, there’s no lag if you’re sshing into pi and can see results straightaway without having to restart mm all the time. -
I use Notepad++, it does the job for me. However, I have other editors that I use for heavier tasks, like when I’m writing C/C++ code. For a peek at my crazy dev environment, read this post: https://forum.magicmirror.builders/topic/265/my-setup-or-how-crazy-i-am
-
Visual Studio Code rocks! It’s relatively new, but it’s very lightweight, run on any platform, includes intellisense and bunch of addins. Allows you debugging in the node.js…
-
If you happen to have a Mac CodeRunner is amazing! It can compile and execute a lot of different programming languages and is really fast. Atom (Windows, Linux, Mac) is also really nice but I quite often find myself using CodeRunner instead because Atom needs so much CPU and is also a lot slower compared.
-
Can I use Visual Studio?
What type of project would I create?
-
@Mitchfarino Most certainly you should be able to. There are node.js specific projects. You just need to install tools:
https://beta.visualstudio.com/vs/node-js/ -
Thanks @alexyak , much appreciated!
-
Sorry, again
Which of these projects would be the correct one?!
-
@Mitchfarino Sorry, I’ve not tried this yet myself, but have you tried to use this option that you have selected: “From Existing Node.js code”?