Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    This might be a daft question, but...

    Development
    6
    27
    10680
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Mitchfarino
      Mitchfarino Module Developer last edited by

      What do you develop your modules in?

      A text editor, or is there some IDE I should look to use?

      I’ve got to start somewhere, so I’m going to pick at one of the existing modules to see what the score is

      R 1 Reply Last reply Reply Quote 0
      • R
        ronny3050 Module Developer @Mitchfarino last edited by

        @Mitchfarino My favorite IDE is Webstorm for these kinds of projects. You can also use sublime text for a text editor, if you don’t wish to go the IDE route.

        Mitchfarino 1 Reply Last reply Reply Quote 0
        • Mitchfarino
          Mitchfarino Module Developer @ronny3050 last edited by

          @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?

          R 1 Reply Last reply Reply Quote 1
          • R
            ronny3050 Module Developer @Mitchfarino last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • KirAsh4
              KirAsh4 Moderator last edited by

              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

              1 Reply Last reply Reply Quote 0
              • A
                alexyak last edited by

                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…

                1 Reply Last reply Reply Quote 0
                • paviro
                  paviro Admin last edited by paviro

                  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.

                  1 Reply Last reply Reply Quote 0
                  • Mitchfarino
                    Mitchfarino Module Developer last edited by

                    Can I use Visual Studio?

                    What type of project would I create?

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      alexyak @Mitchfarino last edited by

                      @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/

                      Mitchfarino 1 Reply Last reply Reply Quote 0
                      • Mitchfarino
                        Mitchfarino Module Developer @alexyak last edited by

                        Thanks @alexyak , much appreciated!

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy