Community
    • Login

    Completion of HTML tags

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    9 Posts 3 Posters 410 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.
    • Cyrille PiateckiC
      Cyrille Piatecki
      last edited by

      Since I have changed my computer I do not remember how to have the closure of html tags that is if I typeset <P …> Notepad++ adds </p>.

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Cyrille Piatecki
        last edited by

        @Cyrille-Piatecki

        It is here

        c0c5c89b-bc13-4a75-b10c-e6a534b68fef-image.png

        Cyrille PiateckiC 1 Reply Last reply Reply Quote 2
        • Cyrille PiateckiC
          Cyrille Piatecki @Ekopalypse
          last edited by

          @Ekopalypse I have done it but nothing appends.

          EkopalypseE PeterJonesP 2 Replies Last reply Reply Quote 0
          • EkopalypseE
            Ekopalypse @Cyrille Piatecki
            last edited by

            @Cyrille-Piatecki

            What exactly did you do?
            Since I don’t do html programming, it could be possible
            that you can use additional plugins, but I have no experience with that.
            Maybe someone else who knows html programming can step in and make suggestions.

            1 Reply Last reply Reply Quote 0
            • PeterJonesP
              PeterJones @Cyrille Piatecki
              last edited by

              @Cyrille-Piatecki ,

              There are two requirements for the HTML/XML auto-insert/autocomplete to work:

              1. It must be turned on. In the dialog that @Ekopalypse showed, it is turned off. In English, you have to enable ☑ html/xml close tag. In the localization @Ekopalypse showed, that would be Balise fermante (htm (which gets cut off because the localization is longer than the dialog has room for – I presume the localization string is actually meant to be Balise fermante (html/xml).
              2. The document must be set as HTML or XML using the Language menu

              See this animation for how those settings work together.

              Cyrille PiateckiC 1 Reply Last reply Reply Quote 3
              • Cyrille PiateckiC
                Cyrille Piatecki @PeterJones
                last edited by

                @PeterJones thanks

                Cyrille PiateckiC 1 Reply Last reply Reply Quote 0
                • Cyrille PiateckiC
                  Cyrille Piatecki @Cyrille Piatecki
                  last edited by

                  @Cyrille-Piatecki I just have discovered that under H there is only Haskell language nothing about html.

                  PeterJonesP 1 Reply Last reply Reply Quote 0
                  • PeterJonesP
                    PeterJones @Cyrille Piatecki
                    last edited by PeterJones

                    @Cyrille-Piatecki said in Completion of HTML tags:

                    @Cyrille-Piatecki I just have discovered that under H there is only Haskell language nothing about html.

                    My first reaction was “pics or it didn’t happen” ;-)

                    As you saw in my animation, there is definitely an HTML entry there. If there isn’t in yours, something you have done has eliminated/hidden that entry. You can prove this to yourself by downloading a fresh portable zipfile from https://notepad-plus-plus.org/downloads/ and verifying that by default, the Language menu has HTML.

                    Possible reasons I can think of for HTML not being listed:

                    1. Settings > Preferences > Language 🛈 has a Disabled Items section. Maybe at some point, you accidentally or intentionally moved HTML over to there – in which case, HTML wouldn’t show up in the Language menu
                    2. One or more of your config files were corrupted and/or intentionally edited to remove HTML (or you somehow started from a Notepad++ old enough to predate HTML as a Language entry… but I cannot imagine that there was a version like that.)
                    3. A plugin has taken over HTML display, and has hidden that Language-menu entry. I don’t know of any plugins that do this, but it might be possible. Showing us your ? menu’s Debug Info would tell us about your version and what plugins are installed

                    The first is the one I find most likely.

                    Cyrille PiateckiC 1 Reply Last reply Reply Quote 2
                    • Cyrille PiateckiC
                      Cyrille Piatecki @PeterJones
                      last edited by

                      @PeterJones I take a long time to thank you for your help because I have a lot of problem with Jsxgraph … Nevertheless I have followed your advices and it seems to work correctly.

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