Browsing through code with tags?
On a regular basis I have to open a SVG file (Scalable Vector Graphics) and because these files can be quite large, I have difficulty browsing the code, especially if there is an error.
Example (simplified): Code:
<g> So, in short, my question is, how can I browse code in the best way? |
Depends on the editor you use. I use vim and with the "set showmatch" option in .vimrc if you have the cursor on one bracket for example it highlights the corresponding one
|
Emacs will open SVG files as in nXML mode and allow you to edit the file as XML. So in emacs you could bind keys to nxml-down-element, nxml-backward-element, nxml-forward-element, and nxml-backward-up-element.
|
Quote:
This is the page that discusses it and more: http://vim.wikia.com/wiki/Moving_to_matching_braces There is also a vim plugin that offers more but I haven't looked into it. Thank you for your answers, both of you. |
All times are GMT -5. The time now is 08:01 PM. |