• Login
Community
  • Login

Easy link pasting?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 3 Posters 2.4k 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.
  • E
    Eric Haines
    last edited by Jan 23, 2016, 5:40 PM

    I’m editing HTML files directly and I do this all the time. I want to take some phrase and add the HTML code for a hyperlink.

    For example, I might have:

    IrfanView has this option when resizing a texture

    and I want:

    <a href=“http://www.irfanview.com/ ”>IrfanView</a> has this option when resizing a texture

    In my perfect world I would copy the URL http://www.irfanview.com/ using control+C, highlight the word IrfanView, then hit some magical key combination that would perform the formatting I show here. Is there a way to do this in Notepad++? It would save me a lot of “<a href” etc. typing, not to mention typos.

    Eric

    C 1 Reply Last reply Jan 24, 2016, 12:34 AM Reply Quote 0
    • C
      Claudia Frank @Eric Haines
      last edited by Jan 24, 2016, 12:34 AM

      Hello @Eric-Haines,

      this can be done by using the one of the snippets plugins or by using nppexec or python script plugin.
      From first point of view I would assume a snippet plugin would be the best solution as you can define
      multiple snippets which can add whatever text you define.

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • R
        Ralf Hatzing
        last edited by Jan 26, 2016, 10:05 PM

        Hi Eric,

        I faced just the same problem / challenge. After some testing with various tools I finally ended up with TyperTask (http://www.vtaskstudio.com/support.php ). I works pretty well and I am very flexible - it doesn’t belong to a specific application. Now I can use this kind of function where ever I type right now.
        I think even PortableApps.com published a version of it.
        Good luck,
        Ralf

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