• Login
Community
  • Login

backtick key on keyboard doing weird things when writing JS

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
8 Posts 2 Posters 431 Views
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.
  • R
    rbjassoc66
    last edited by Feb 8, 2021, 6:59 PM

    I have an issue with the backtick key being somehow programmed to highlight ?? when I am writing a JS file ?? If I make a new file with a *.txt extension it works fine ?? Just when I have a file with a *.js extension ??

    E 1 Reply Last reply Feb 9, 2021, 11:36 AM Reply Quote 1
    • E
      Ekopalypse @rbjassoc66
      last edited by Feb 9, 2021, 11:36 AM

      @rbjassoc66

      Backticks denote a raw string in java script hence the different coloring.

      R 2 Replies Last reply Feb 9, 2021, 12:12 PM Reply Quote 1
      • R
        rbjassoc66 @Ekopalypse
        last edited by Feb 9, 2021, 12:12 PM

        @Ekopalypse oh I see because I only started with one of them it highlighted the next rows of code ! but placing the second one helped me understand :-) thankyou !!

        1 Reply Last reply Reply Quote 0
        • R
          rbjassoc66 @Ekopalypse
          last edited by Feb 9, 2021, 12:14 PM

          @Ekopalypse where would I change the color of the highlighting ??

          E 1 Reply Last reply Feb 9, 2021, 12:19 PM Reply Quote 1
          • E
            Ekopalypse @rbjassoc66
            last edited by Feb 9, 2021, 12:19 PM

            @rbjassoc66

            Use the Style Configurator to select your language and then select the appropriate entry in the Style column.

            Like

            5dc182fb-2797-4079-a51e-0339874d3f1f-image.png

            R 1 Reply Last reply Feb 9, 2021, 12:40 PM Reply Quote 2
            • R
              rbjassoc66 @Ekopalypse
              last edited by Feb 9, 2021, 12:40 PM

              @Ekopalypse yep thankyou I stumbled onto that :-) I’m enjoying "Plastic code Wrap " :-)

              E 1 Reply Last reply Feb 9, 2021, 12:46 PM Reply Quote 0
              • E
                Ekopalypse @rbjassoc66
                last edited by Feb 9, 2021, 12:46 PM

                @rbjassoc66

                Was a pleasure to help :-)
                A word of warning: don’t expect a full list of supported
                languages in a theme compared to the default theme.
                Themes are community driven and not always up to date.

                R 1 Reply Last reply Feb 9, 2021, 12:51 PM Reply Quote 0
                • R
                  rbjassoc66 @Ekopalypse
                  last edited by Feb 9, 2021, 12:51 PM

                  @Ekopalypse Ok thank you :-)

                  1 Reply Last reply Reply Quote 0
                  5 out of 8
                  • First post
                    5/8
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors