190 likes | 389 Vues
Source Insight. a powerful source code editor & a wonderful collaborator. Chan Li. Contents. Motivation Introduction of Source Insight Comparison of code editors Why Source Insight Contribution to CSCI577 Conclusion References. Motivation.
E N D
Source Insight a powerful source code editor & a wonderful collaborator Chan Li
Contents • Motivation • Introduction of Source Insight • Comparison of code editors • Why Source Insight • Contribution to CSCI577 • Conclusion • References
Motivation • In our 577 project, we use sfGuardPlugin(Provided by Symfony) to manage users of system. • To better use the plugin, we have to read and learn the source code.
Introduction • Source Insight is a source code editor by Source Dynamics. • "program editor and analyzer” • Distinguishing features • Code navigation • Customization • Customizable command • Customizable keyboard shortcuts • Customizable menu • Relation, context, and symbol windows • greatest benefit • To speedup code comprehension on an unfamiliar project.
Comparison of code editors • Code Editors • Visual Studio • Eclipse • Netbeans • UltraEdit • Comparing Aspects • License & Price • Platforms • Language Support • Programming Features
Comparison of code editors • License & Price
Comparison of code editors • Cross-Platform
Comparison of code editors • Language Support
Comparison of code editors • Programming Features
Why Source Insight • Light-weight • Only about 5 MB • Visual Studio: several GB • Eclipse: 100+ MB • Netbeans: 200+ MB • UltraEdit: around 20 MB
Why Source Insight • Code Navigation • Symbol Navigation Commands • Jump to Definition • Jump to BaseType • Jump to Prototype • Jump to Caller • Lookup References
Why Source Insight • Custom Commands • Open explore and highlight the chosen file
Why Source Insight • Custom Commands • Collaborate with Configuration tools • TortoiseSVN • Visual SourceSafe
Why Source Insight • TortoiseSVN • check log • check in • check out • undo check out • Update • update all
Why Source Insight • Collaborate with Visual SourceSafe • Generate Batch file for each command • File include: • Path of the ss.exe in VSS • Path of VSS database • VSS username & password • Workfold • Command • Add the command in SI
Contribution to CSCI577 • For CSCI577 projects: • NDI Intensive Project • Understand the NDI they use • Architecture Agile Project • Understand the code of plugins they use in the project • Research on what clients have now to provide better product to satisfy them
Conclusion • Source Insight can speedup code comprehension on an unfamiliar project. • Since it is just a “program editor and analyzer”, it can not compete with some large IDE in some aspects. • SI has some innovations to make itself to be distinguished from other similar products
References • Source Insight, http://en.wikipedia.org/wiki/Source_Insight,2012-4-7 • source insight, http://baike.baidu.com/view/1539152.htm,2012-4-7 • Comparison of text editors, http://en.wikipedia.org/wiki/Comparison_of_text_editors,2012-4-22 • Comparison of integrated development environments, http://en.wikipedia.org/wiki/Comparison_of_integrated_development_environments, 2012-4-22 • http://www.sourceinsight.com/ , 2012-4-22 • http://visualstudiogallery.msdn.microsoft.com/ , 2012-4-22 • http://plugins.netbeans.org/ , 2012-4-22 • http://www.eclipse.org/home/categories/languages.php , 2012-4-22 • http://www.ultraedit.com/downloads/extras.html#wordfiles , 2012-4-22 • 扩展Source Insight和UltraEdit的语言支持环境, http://blog.csdn.net/mephp/artic le/details/4746234, 2012-4-9 • 使用source insight的一些设置, http://apps.hi.baidu.com/share/detail/57140432,2012-4-9 • Source Insight 中使用 VSS, http://fhf25.blog.sohu.com/29344540.html , 2012-4-22