Community
    • 登入

    backtick key on keyboard doing weird things when writing JS

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    8 貼文 2 Posters 525 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • rbjassoc66R
      rbjassoc66
      最後由 編輯

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

      EkopalypseE 1 條回覆 最後回覆 回覆 引用 1
      • EkopalypseE
        Ekopalypse @rbjassoc66
        最後由 編輯

        @rbjassoc66

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

        rbjassoc66R 2 條回覆 最後回覆 回覆 引用 1
        • rbjassoc66R
          rbjassoc66 @Ekopalypse
          最後由 編輯

          @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 條回覆 最後回覆 回覆 引用 0
          • rbjassoc66R
            rbjassoc66 @Ekopalypse
            最後由 編輯

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

            EkopalypseE 1 條回覆 最後回覆 回覆 引用 1
            • EkopalypseE
              Ekopalypse @rbjassoc66
              最後由 編輯

              @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

              rbjassoc66R 1 條回覆 最後回覆 回覆 引用 2
              • rbjassoc66R
                rbjassoc66 @Ekopalypse
                最後由 編輯

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

                EkopalypseE 1 條回覆 最後回覆 回覆 引用 0
                • EkopalypseE
                  Ekopalypse @rbjassoc66
                  最後由 編輯

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

                  rbjassoc66R 1 條回覆 最後回覆 回覆 引用 0
                  • rbjassoc66R
                    rbjassoc66 @Ekopalypse
                    最後由 編輯

                    @Ekopalypse Ok thank you :-)

                    1 條回覆 最後回覆 回覆 引用 0
                    • 第一個貼文
                      最後的貼文
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors