David Brown

The Web Development Guy
posts - 5, comments - 27, trackbacks - 0

My Links

News

View David Brown's profile on LinkedIn

Twitter












Tag Cloud

Archives

DocBook 4.5 Intellisense for Visual Studio

I decided to use DocBook to generate documentation for SalesWeb, but I was finding it difficult to remember which tags I could use. Since DocBook is XML-based, it has a schema that can be plugged into Visual Studio 2005/2008 to enable intellisense.

I’ve put together a tiny ZIP file that has everything you need to get started:

DocBook 4.5 Intellisense for Visual Studio

It contains a VS catalog file and the DocBook 4.5 schemas (which I hope are redistributable… if not, let me know and I’ll remove them). Simply extract the zip file to one of the following directories, depending on your version of Visual Studio:

Visual Studio 2005 (8.0)

C:\Program Files\Visual Studio 8\Xml\Schemas

Visual Studio 2008 (9.0)

C:\Program Files\Visual Studio 9.0\Xml\Schemas

DocBook intellisense will be enabled for files with the .docbook extension. If your solution contains DocBook files, you can simply right-click and choose “Open With…” then select “XML Editor”. In my case, however, my Documentation is outside of my solution, so I had to do the following:

  1. Click Tools –> Options
  2. Choose the Text Editor –> File Associations page
  3. Enter “docbook” as the extension
  4. Choose “XML Editor” as the editor
  5. Click Add
  6. Click Ok

Let me know if you run into any problems!

Technorati Tags: ,,
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Friday, March 20, 2009 8:39 PM |

Feedback

Gravatar

# re: DocBook 4.5 Intellisense for Visual Studio

It's going to be very useful to me, TY =)
4/2/2009 5:07 AM | MR
Gravatar

# re: DocBook 4.5 Intellisense for Visual Studio

Hi,

works and seems very useful. Thanks! However, are there any plans to make your intellisense solution DocBook 5.0 compatible?
1/23/2010 5:19 PM | Stefan
Gravatar

# re: DocBook 4.5 Intellisense for Visual Studio

@Stefan: I've updated this for DocBook 5.0 and released it at my new blog.

http://implicitoperator.com/blog/2010/1/24/enable-visual-studio-intellisense-for-docbook.html
1/24/2010 12:10 PM | David Brown
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: