NDjango: Closing the gap on the Visual Studio ASPX editor

One of glaring weaknesses of a proposition to use a view engine different from .aspx is that Visual Studio provides a very nice .aspx editor full of features both for editing the UI as well as .aspx source code, while this 'other' engine usually offers nothing of the sort - just a notepad to type in anything you want.

Not that I would ever dream of singlehandedly build something comparable to the Visual Studio .aspx designer, but the NDjango editor makes at least some of the .aspx editor features available for the NDjango users.

Let us go through the list:

Feature aspx editor NDjango editor
Syntax highlighting - clearly marks view engine constructs by highlighting the brackets separating the constructs from the rest of the template aspx syntax highlight ndjangosyntaxhhighlight
Code Completion - Shows a context specific list of available options as you type aspxcodecompletion ndjangoCodeCompletion
As you type diagnostics - highlights invalid items in the source code and provides diagnostic messages in the Visual Studio ErrorList DiagASP DiagNdjango
Item Hierarchy display - visualizes the nested constructs hierarchy HierarchyASP HierarchyNDjango

As anyone can clearly see the NDjango editor still has a long way to go, but IMHO the features it already supports can be of considerable help for the NDjango users.

Leave a Reply