MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Which Editor do you get for windows

    Troubleshooting
    4
    17
    960
    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.
    • kusselin
      kusselin last edited by

      Hello all,

      can you sy me what bzw. which editor do you get to edit the config?

      Thanks

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @kusselin last edited by

        @kusselin
        on RPI terminal, nano or vi.
        But usually, I prefer to connect remotely via SSH. So atom on my dev machine.

        1 Reply Last reply Reply Quote 0
        • kusselin
          kusselin last edited by

          Ok thanks, i have Windows and notepad++ bunt its not good working. Do you mean i have to work with Atom on windows?

          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @kusselin last edited by

            @kusselin
            There is no "have to" thing.
            Well, there would be many good IDEs besides atom. For example; Microsoft Visual Studio Code.
            But some ppl hate to use heavy IDE, so they could prefer more simpler like notepad++. Even someone might prefer to use just notepad or wordpad.

            Just for me, I like atom.

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

              I use Geany. https://www.geany.org/

              The "E" in "Javascript" stands for "Easy"

              1 Reply Last reply Reply Quote 0
              • S
                sdetweil @Guest last edited by

                @Sean said in Which Editor do you get for windows:

                @kusselin
                There is no "have to" thing.
                Well, there would be many good IDEs besides atom. For example; Microsoft Visual Studio Code.
                But some ppl hate to use heavy IDE, so they could prefer more simpler like notepad++. Even someone might prefer to use just notepad or wordpad.

                Just for me, I like atom.

                I use notepad++ on windows, and the free bitvise ssh client. https://bitvise.com/ssh-client
                the bitvise client opens both an SSH terminal window and a windows like file navigation window
                notepad++ can save files with windows or linux line ends (and decide automatically if u want)
                I have 5 system connections open at once, with multiple commandlines on one (run stuff, debug from another window, monitor cpu use in another)

                to my pi 4 system
                0_1576695331982_25a434a6-bf3d-485e-af97-92791657b49c-image.png

                Sam

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • kusselin
                  kusselin last edited by

                  Ok, because now i have Problem with copy and Paste with notepad ++. Which Settings do you have in notepad under options? Can you Post it please?

                  When i User Herr in the Forum Post me a Script like this Here:

                  {
                  module: ‘MMM-Tankerkoenig’,
                  header: ‘Super (E10)’,
                  position: ‘top_right’,
                  config: {
                  updateInterval: 600,
                  maxWidth: “300px”,// die angegeben 200px verursachen unschöne Zeilenumbrüche
                  api_key: “Xxxxx”,
                  lat: 49.398750, // das sind die Koordinaten von Heidelberg/Mitte, siehe https://www.latlong.net
                  lng: 8.672434,
                  type: “e10”, // alternativ “e5” oder “diesel”
                  radius: 1, // Suche in 1km Umkreis (in 5km Umkreis passt die Liste nicht mehr auf den Bildschirm)
                  }
                  },
                  

                  And i Paste this code in my config, and restart the mirror a Text is Commonwealth on screen with config file and no mirror.

                  Best regards

                  ? S 2 Replies Last reply Reply Quote 0
                  • kusselin
                    kusselin last edited by

                    Is this right with the ˋ´ behause in someone configs you Can See ““ between tankerkönig

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @kusselin last edited by A Former User

                      @kusselin
                      I think the error might be caused by ’ and ”. Those are not allowed as quotation marks of javascript language.

                      module: ‘MMM-Tankerkoenig’,
                      

                      should be

                      module: 'MMM-Tankerkoenig',
                      

                      Others are same.
                      You can find&replace in your notepad++

                      1 Reply Last reply Reply Quote 0
                      • S
                        sdetweil @kusselin last edited by

                        @kusselin sorry, I do not understand…

                        cut/paste is builtin and not special.

                        as per Sean’s post, those appear to be quotes from MS word type documents,.
                        MagicMirror needs text quotes, " and ’

                        Sam

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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