MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Which Editor do you get for windows

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    17 Posts 4 Posters 4.7k Views 4 Watching
    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.
    • ? Offline
      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
      • BKeyportB Offline
        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 Do not disturb
          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

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • kusselinK Offline
            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
            • kusselinK Offline
              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
              • ? Offline
                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 Do not disturb
                  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

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil: you Wrote that magic mirror Need " …Sean Said i Must take ’

                    What is now right? Sorry For my questions

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

                      @kusselin either will work, as long as both ends of the quote use the same type

                      this is ok

                      "testing"
                      'testing'
                      

                      this is not

                      "testing'
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        Ah ok i Unterstand.

                        Ok the this is Not ok right:

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

                        It Must be " or ’ … right?

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

                          @kusselin correct, like this using using

                          " or '
                          

                          (note that these do not lean in any direction and do not have little tails)

                          ’ this one leans to the right

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

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

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

                            Ok thanks… Can you please Cancel the api key thanks

                            1 Reply Last reply Reply Quote 1
                            • kusselinK Offline
                              kusselin
                              last edited by kusselin

                              Ok and when i copy it than is the String Not straight on… Rather Little tails

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

                                Thanks all 👍

                                difficult birth 🙈

                                1 Reply Last reply Reply Quote 0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • 1 / 1
                                • First post
                                  Last post
                                Enjoying MagicMirror? Please consider a donation!
                                MagicMirror created by Michael Teeuw.
                                Forum managed by Sam, technical setup by Karsten.
                                This forum is using NodeBB as its core | Contributors
                                Contact | Privacy Policy