1
I have been given some code written by a developer that could not spell to save his life.
For example, in the OUTPUT of the program, he has spelled the word 'circular' as both "Circual" and "circiual", and the word 'following' as 'follwing' (not to mention all the typos in the code and comments).
I want to clean up some of the typos in the code, but since some of the spelling is inconsistent, it wouldn't be easy to find all variants of misspellings of the word.
Does there exist a fuzzy search tool (such as a plugin for Notepad++ or vim) I could use to look for substrings that are similar to 'circular'? A simple spell-check tool wouldn't work (it's code -- the word 'circular' could appear in part of a variable name).
What IDE are you using right now? – Brad – 2012-07-20T16:16:21.493
@Brad I am using Notepad++ (editor), but I am familiar with many others (including vim, eclipse, Visual Studio). – Casey Kuball – 2012-07-20T16:21:20.860
How much 'extra' information is in the word names, e.g. are we talking nCircular or much more, e.g. nCircularMotion? – snowdude – 2012-08-07T13:14:59.563
@snowdude If 'Circular' appears in the word it should match it. – Casey Kuball – 2012-08-07T14:50:56.033