开发者

How to implement automatic replacement of typos in Delphi2010

开发者 https://www.devze.com 2023-01-03 15:57 出处:网络
I am looking for a way to develop a plugin for Delphi 2010IDE and have yet to find any information on that topic, not even on how to get started.

I am looking for a way to develop a plugin for Delphi 2010IDE and have yet to find any information on that topic, not even on how to get started.

What I want to accom开发者_高级运维plish is some kind of auto-spellchecker wich can be given a list of common typos (flase instead of false, .cerate instead of .create and the like) and replace them with the intended word.

Do you know of a tutorial on plugin development, or maybe an open source plugin which i could base my work on?


GExperts has a CodeProofreader as one of it's plugins which would do what I think you want to do, it's also Open Source so if you do want to write your own that might be a good place to start.


You could use Delphi's Live Templates for this and have common typos expand into the intended phrase.

0

精彩评论

暂无评论...
验证码 换一张
取 消