Back to "Jans Tielens says it all...so I'll just repeat what he said..."

This is a viewer only at the moment see the article on how this works.

To update the preview hit Ctrl-Alt-R (or ⌘-Alt-R on Mac) or Enter to refresh. The Save icon lets you save the markdown file to disk

This is a preview from the server running through my markdig pipeline

C# Imported mostlylucidcouk Tools

Jans Tielens says it all...so I'll just repeat what he said...

Friday, 16 January 2004

Extending Intellisense: TypeFinder Macro

Namespaces in .NET are great! But how many times do you find yourself typing Private r As xmlreader, and then noticing that there is no Imports/using statement for the System.Xml Namespace? Then you would have to scroll to the top of your document and add the Imports/using statement by hand. Alternatively you could choose to add the namespace to your declaration: Private r As System.Xml.XmlReader. Since we are all developers, why not develop something to help developers with this tedious task of namespace lookups?

The first version of this macro was published some time ago. Thanks to Yves Hanoulle, Thomas Freudenberg and Guillaume Roberge, a new version is available. Changes:

  • Check if the “Imports/using NamespaceX“ statement is already present in the code.
  • Code cleanup and improvements.

The new version (with installation instructions) can be found on this page: http://dotnet.leadit.be/typefinder. A compiled Macro Project and the source code in plain text can be downloaded.

logo

© 2025 Scott Galloway — Unlicense — All content and source code on this site is free to use, copy, modify, and sell.