chan li a powerful source code editor & a wonderful collaborator source insight 1

19
Chan Li a powerful source code editor & a wonderful collaborator Source Insight 1

Upload: lukas-heydon

Post on 16-Dec-2015

222 views

Category:

Documents


0 download

TRANSCRIPT

1

Chan Li

a powerful source code edi-tor & a wonderful collaborator

Source Insight

LOGO

2

Contents

1. Motivation2. Introduction of Source Insight3. Comparison of code editors4. Why Source Insight 5. Contribution to CSCI577 6. Conclusion 7. References

LOGO

3

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.

LOGO

4

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.

LOGO

5

Comparison of code editors

Code Editors– Visual Studio– Eclipse– Netbeans– UltraEdit

Comparing Aspects– License & Price– Platforms– Language Support– Programming Features

LOGO

6

Comparison of code editors

License & Price

Source Insight

Visual Studio Eclipse Netbeans UltraEdit

License Proprietary Proprietary EPL CDDL, GPL2

Proprietary

Open Source

No No Yes Yes No

Price(US$)

$239-$255 · Visual Studio 2010 Professional :$453.99-$1063.99 · Free for Microsoft Visual Studio Express

Free Free $59.95

LOGO

7

Comparison of code editors

Cross-Platform

Source Insight

Visual Studio Eclipse Netbeans UltraEdit

Windows Yes Yes Yes Yes YesMac OS x No No Yes Yes YesLinux No No Yes Yes YesOther cross-compile to

Windows MobileMac OS 7 (v2.x-v4.x only)

JVM Solaris

LOGO

8

Comparison of code editorsLanguage Support

Source Insight

Visual Studio

Eclipse Netbeans UltraEdit

Ada No No Eclipse ADT Yes YesVisual Basic Built-In Yes No No YesC/C++ Built-In Yes Eclipse CDT Yes YesC# Built-In Yes No No YesHtml Built-In Yes Yes Yes YesJava Built-In Yes Yes Yes YesJavaScript Built-In Yes Yes Yes YesPerl Built-In No Yes Yes YesPHP wordFile Yes Eclipse CDT Yes YesPython wordFile Yes Yes Yes(no longer supported

after NetBeans 7)Yes

Ruby wordFile Yes Yes Yes(The NetBeans IDE 7.0 no longer supports )

Yes

Lua wordFile Plugin Eclipse + the Lua Development Tools plug-ins.

Plugin Yes

LOGO

9

Comparison of code editors

Programming Features

Source Insight

Visual Studio

Eclipse Netbeans UltraEdit

Syntax Highlighting Yes Yes Yes Yes YesSymbol database Yes Yes Yes Yes PartialBrace Matching Yes Yes Yes Yes YesAuto indentation Yes Yes Yes Yes YesAuto Completion Yes Yes Yes Yes YesCompiler integration

Limited Yes Yes Yes Yes

LOGO

10

Why Source Insight

Light-weight– Only about 5 MB

– Visual Studio: several GB– Eclipse: 100+ MB– Netbeans: 200+ MB– UltraEdit: around 20 MB

LOGO

11

Why Source Insight

Code Navigation– Symbol Navigation Commands

Jump to Definition Jump to BaseType Jump to Prototype Jump to Caller Lookup References

LOGO

12

Why Source Insight

Custom Commands– Open explore and highlight the chosen file

LOGO

13

Why Source Insight

Custom CommandsCollaborate with Configuration tools

– TortoiseSVN– Visual SourceSafe

LOGO

14

Why Source Insight

TortoiseSVN– check log– check in– check out– undo check out – Update– update all

LOGO

15

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

LOGO

16

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

LOGO

17

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

LOGO

18

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

LOGO

19

Thank you