PowerPoint Template
Download
Report
Transcript PowerPoint Template
Source Insight
a powerful source code editor
& a wonderful collaborator
Chan Li
1
Contents
LOGO
1.
2.
3.
4.
5.
6.
7.
Motivation
Introduction of Source Insight
Comparison of code editors
Why Source Insight
Contribution to CSCI577
Conclusion
References
2
Motivation
LOGO
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.
3
Introduction
LOGO
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.
4
Comparison of code editors
LOGO
Code Editors
–
–
–
–
Visual Studio
Eclipse
Netbeans
UltraEdit
Comparing Aspects
–
–
–
–
License & Price
Platforms
Language Support
Programming Features
5
Comparison of code editors
LOGO
License & Price
License
Open
Source
Price
(US$)
Source
Visual Studio
Insight
Proprietary Proprietary
Eclipse Netbeans UltraEdit
No
No
Yes
$239-$255
· Visual Studio Free
2010 Professional :
$453.99-$1063.99
· Free for Microsoft
Visual Studio Express
EPL
CDDL,
GPL2
Yes
Proprietary
Free
$59.95
No
6
Comparison of code editors
LOGO
Cross-Platform
Source
Insight
Windows Yes
Mac OS x No
Linux
No
Other
Visual Studio Eclipse Netbeans UltraEdit
Yes
No
No
Yes
Yes
Yes
cross-compile to JVM
Windows Mobile
Mac OS 7
(v2.x-v4.x only)
Yes
Yes
Yes
Solaris
Yes
Yes
Yes
7
Comparison of code editors
LOGO
Language Support
Ada
Visual Basic
C/C++
C#
Html
Java
JavaScript
Perl
PHP
Python
Source
Insight
No
Built-In
Built-In
Built-In
Built-In
Built-In
Built-In
Built-In
wordFile
wordFile
Visual
Studio
No
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Ruby
wordFile
Yes
Lua
wordFile
Plugin
Eclipse
Eclipse ADT
No
Eclipse CDT
No
Yes
Yes
Yes
Yes
Eclipse CDT
Yes
Netbeans
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes(no longer supported
after NetBeans 7)
Yes
Yes(The NetBeans IDE 7.0
no longer supports )
Eclipse + the Lua Plugin
Development
Tools plug-ins.
UltraEdit
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
8
Comparison of code editors
LOGO
Programming Features
Source
Insight
Syntax Highlighting Yes
Symbol database
Yes
Brace Matching
Yes
Auto indentation
Yes
Auto Completion
Yes
Compiler
Limited
integration
Visual
Studio
Yes
Yes
Yes
Yes
Yes
Yes
Eclipse
Netbeans
UltraEdit
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Partial
Yes
Yes
Yes
Yes
9
Why Source Insight
LOGO
Light-weight
– Only about 5 MB
–
–
–
–
Visual Studio: several GB
Eclipse: 100+ MB
Netbeans: 200+ MB
UltraEdit: around 20 MB
10
Why Source Insight
LOGO
Code Navigation
– Symbol Navigation Commands
Jump to Definition
Jump to BaseType
Jump to Prototype
Jump to Caller
Lookup References
11
Why Source Insight
LOGO
Custom Commands
– Open explore and highlight the chosen file
12
Why Source Insight
LOGO
Custom Commands
Collaborate with Configuration tools
– TortoiseSVN
– Visual SourceSafe
13
Why Source Insight
LOGO
TortoiseSVN
–
–
–
–
–
–
check log
check in
check out
undo check out
Update
update all
14
Why Source Insight
LOGO
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
15
Contribution to CSCI577
LOGO
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
16
Conclusion
LOGO
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
17
References
LOGO
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_editor
s,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
18
LOGO
Thank you
19