1 code editing tool 1.1 source insight
Source insight is an excellent code editing software that supports creating projects (network creation at the same time), syntax coloring, and word association. It provides powerful code search functions, it is very suitable for reading code.
Is the full view of source insight:
Variables and parameters are listed on the left:
The right side is the project file list:
Function call tree in the lower right corner:
Variable or function definition in the lower left corner
The text is in the middle. Yellow indicates that this line has just been changed and has not been saved. If you save the changes, the row is dimmed.
The following describes the search function of the tool:
The shortcut for the search function is Ctrl + /",
Search Results:
You can press
To view the results in the code.
The shortcut key "F7" can be searched and defined based on the variable name or function name:
1.2 eclipse
Eclipse is an open-source project contributed by IBM. The eclipse platform is mainly a Java development environment, but its architecture is also open to other programming languages. If the CDT plug-in is installed, it can also be used in C and C ++ programming languages.
Eclipse provides the following functions:
L project management tools
L Editor, search
L Debugger
Therefore, it is not just an editor, it is an integrated development environment (IDE integration develop environment ).
Eclipse can be developed on Linux or Linux C/C ++ on Windows. For details about the usage, see the training folder.
The following is the list of eclipse projects.
Project
|
Outline
|
Web Site
|
Business Intelligence and reporting tools (Birt) |
Generate Reports |
Http://www.eclipse.org/birt |
Buckminster |
Simplified deployment |
Http://www.eclipse.org/buckminster |
C/C ++ development tools (CDT) |
Write C/C ++ code |
Http://www.eclipse.org/cdt |
Dynamic Programming ages Toolkit (dltk) |
Compile Perl and Ruby code |
Http://www.eclipse.org/dltk |
Device software development platform-device debugging (DSDP-DD) |
Debug embedded devices |
Http://www.eclipse.org/dsdp/dd |
Device software development platform-native Application Builder (DSDP-NAB) |
Build a Device GUI |
Http://www.eclipse.org/dsdp/nab |
Device software development platform-target management (DSDP-TM) |
Remote browser (SSH) |
Http://www.eclipse.org/dsdp/tm |
Eclipse data tools platform (DTP) |
Manage data-centric Systems |
Http://www.eclipse.org/datatools/ |
Eclipse Communications Framework (ECF) |
Talk in eclipse |
Http://www.eclipse.org/ecf |
Eclipse project |
Tools used to build eclipse, including platform, jdt, PVDF, and equinox |
Http://www.eclipse.org/eclipse |
Eclipse modeling framework (EMF) |
Development Model |
Http://www.eclipse.org/emf |
Eclipse modeling framework technologies (emft) |
Utilities used to assist model development |
Http://www.eclipse.org/emft |
Eclipse packaging project (EPP) |
Build the installer |
Http://www.eclipse.org/epp |
Graphical editing framework (GEF) |
Develop graphics applications |
Http://www.eclipse.org/gef |
Graphical Modeling Framework (GMF) |
Develop a graphic editor |
Http://www.eclipse.org/gmf |
Model development tools (MDT) |
Utilities used to assist model development |
Http://www.eclipse.org/mdt |
M2M |
Framework used for model conversion Language |
Http://www.eclipse.org/m2m/ |
Model to text (m2t) |
Utilities used to assist model development |
Http://www.eclipse.org/m2t |
Mylyn |
Focus on task-based development |
Http://www.eclipse.org/mylyn |
Rich Ajax platform (RAP) |
Develop eclipse-based Web 2.0 applications |
Http://www.eclipse.org/rap |
SOA tools platform (STP) |
SOA-oriented tools |
Http://www.eclipse.org/stp |
Subversive |
Supported sub-versions |
Http://www.eclipse.org/subversive |
Test and Performance Tools platform (tptp) |
Analysis Program (Profiler) |
Http://www.eclipse.org/tptp |
Web tools platform (WTP) |
Write Web-based applications |
Http://www.eclipse.org/webtools |
1.3 source insight tags
This is a code tag tool developed by Hu Songtao Based on source insight.
During code maintenance, it is best to indicate the reason, date, and change person for code changes to facilitate subsequent code maintenance. You can use this code tag tool to complete these tasks to avoid repeated operations.
1. Copy tags. Em to the base project of sourceinsight. The base project directory is: My Documents/source Insight/projects/base (see figure 1)
Figure 1
2. Open sourceinsight, select project> open project, and open the base project.
3. Add tags. Em to the base project. (steps 2 and 3 are shown in figure 2)
4. Select project → syntronize files
Figure 2
5. Restart sourceinsight. Open your project.
6. Options → key assignments. assign a shortcut key for the macro: taginit. CTRL + 1 is used here (see figure 3)
Figure 3
7. Use the shortcut key Ctrl + 1 to display the following four dialogs (see figure 4 ). This information serves as the basic information of tag output.
Figure 4
8. Add the shortcut key for tagmultilinecommentadd in Step 6. Press Ctrl + 2 here (see figure 5)
Figure 5
9. use Ctrl + 2 to output the content entered in Step 6. See Figure 6.
Figure 6
10. Repeat steps 8 and 9 to add tagsinglelinecommentadd. The effect is as follows:
11. Repeat steps 8 and 9 to add tagsinglelinecommentmodefy. The effect is as follows:
12. Repeat steps 8 and 9 to add tagsinglelinecommentdelete. The effect is as follows:
For code changes, the R & D department executes a workflow, each of which has a number. You can add the workflow number for maintenance issues to the tag. In this way, in subsequent maintenance, if you do not want to understand the cause of code changes, you can query the corresponding Workflow Based on the workflow ID to view the reasons for the changes.
Series of articles:
Code editing tools
Version Management Tools
Code detection tools
Performance optimization tools
Functional testing tools