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 associations. It provides powerful code search functions, it is suitable for reading code.
Is the full view of source insight:
On the left is the list of variables and counts:
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 it is saved, the change row is displayed in gray.
The following describes the search function of the tool:
The shortcut for the search function is Ctrl + /",
Search Results:
Click to view the content of the result in the code.
The shortcut key "F7" can be used to search for definitions 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 at the same time. Assuming that 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, see the Training Directory.
The following is a list of eclipse projects.
Project |
Outline |
WebWebsite |
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) |
Useful programs 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) |
Useful programs 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) |
Useful programs 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 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 code maintenance. You can use this code tag tool to complete these tasks to avoid repeated operations.
1. Copy tags. Em to the baseproject of sourceinsight. The baseproject folder 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? Enter the base project. (steps 2 and 3 are shown in figure 2)
4. Select project → syntronize files
Figure 2
5. Restart sourceinsight and 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 tagmultilinecommentadd in the same step 6? Shortcut Key. 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. Step 8 and Step 9 are added repeatedly? Tagsinglelinecommentadd. The effect is as follows:
11. Repeated steps 8 and 9 add? Tagsinglelinecommentmodefy. The effect is as follows:
12. Step 8 and Step 9 are added repeatedly? Tagsinglelinecommentdelete. The effect is as follows:
For code changes, the R & D department runs a workflow, each of which has a serial number. Can I add the workflow number for maintenance problems? In this way, in the maintenance process, if you do not understand the reason for the code change, you can query the corresponding Workflow Based on the workflow ID to view the reasons for the change.
Series of articles:
Code editing tools
Version Management Tools
Code checking tool
Performance optimization tools
Functional testing tools