SourceTo overview
SourceTo is a source code conversion tool. It will be a good helper for people who need to convert source code into other text formats (such as HTML, RTF).
If you have the habit of publishing technical articles on the website, get a SourceTo quickly, it will add a lot of color to your articles.
If you are a beginner in programming, you will also benefit from it, because SourceTo provides all source codes, from which you can learn HTML and RTF conversion technology; internationalization technology; shell extension technology, etc.
SourceTo function description
SourceTo has been upgraded from 1.0 to 1.1 and has been enhanced in many aspects.
It provides lexical highlighting files for several commonly used languages by default. Use these files for conversion and you can see the highlighting effect in the converted target file. If you want to convert other languages, you can edit it with the lexical files provided by SourceTo. editor to edit the lexical files of the language. Therefore, SourceTo is not language-specific. As long as you can edit the lexicon file, you can convert the language you want.
SourceTo can convert source code files into two formats: HTML, and RTF. HTML has been provided in version 1.0, and RTF has been provided in version 1.1. In addition, if you want to convert to other text formats, you can do it by extending the source code of SourceTo. The conversion class of SourceTo uses the Builder mode, which is very easy to extend. .
SourceTo version 1.1 also provides a shell extension. You can choose in SourceTo whether to display the SourceTo right-click menu item in the resource browser. If selected, whenever one or more files are right-clicked, as long as these files are in text format, A Run SourceTo menu item will appear. Click to run SourceTo immediately.
Having said all that, let’s try SourceTo as soon as possible!
ChangeLog version 1.1
1. Added RTF format conversion.
2. Added extension of shell right-click menu.
3. Solved the problem of escape characters in lexical files.
4. Solved the font size problem.
5. Optimized the conversion algorithm to reduce the size of the generated files by about 20%.