jEdit Tip: Jump to the end of the tag

NOTE: The following is very esoteric and technical in nature

Found this interesting tip while perusing the jEdit mailing lists last night (fun filled…):

Here’s the problem:

Have you ever been working on HTML / XML code and wanted to see the bottom or closing tag? Jedit has this great feature that shows a line inside the gutter that connects the start tag to the corresponding end tag. However, getting to the end tag requires you to scroll down the screen and wade through the “tag-soup” (e.g., wading through nested tables comes to mind).

Now, we try our best to use strict tab formatting, but sometimes we can’t do anything. However, you can do this usnig the XML Plugin!

Steps to enable Go to Matching Tab

  1. Open jEdit
  2. Go to Plugins > Plugin Manager > Install Tab
  3. Select and install the XML plugin

You now can use the Plugins > XML > Go to Matching Tag feature.

How to set up a shortcut for the Go to Matching Tab feature in jEdit

  1. Go to the Utilities > Global Option Menu
  2. Select Shortcuts to view the keyboard shortcut preference pane
  3. In the Edit Shortcuts dropdown, select Plugin: XML
  4. Add a keyboard shortcut for the (I use CTRL+])
  5. Click OK

Done.

-T


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *