2

Is there any way to wrap the selected text in ',",),},],> or around any symbol in Notepad++?

I have looked around all of the plugins but there is nothing similar to what Textmate or eclipse can do.

4
  • possible duplicate of Notepad++: How to wrap selected text in brackets, parenthesis, quotes?
    – Paul
    Jan 12, 2012 at 5:54
  • Note that the answer to this question used TextFX plugin, which may not be enabled by default. You can enable it in the PluginManager and choose unstable plugins.
    – Paul
    Jan 12, 2012 at 5:55
  • I saw that but it doesn't fully answer the question, since it only allows for {}s
    – alme1304
    Jan 12, 2012 at 6:05
  • I just finished making a small python script that does exactly what TextMate does (more or less), I don't know if there is a way to convert it into an actual plugin tho
    – alme1304
    Jan 12, 2012 at 7:52

1 Answer 1

7

I would go for a real simple solution: Macros.

  1. Select Text
  2. Macro - Start Recording
  3. Ctrl-X
  4. '[' Ctrl-V ']'
  5. Macro - Stop Recording
  6. Macro - Save Current Recorded Macro

Within 5 minutes you should be able to get all the wraps you want and assign them to shortcuts like you need them.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .