本文共 3084 字,大约阅读时间需要 10 分钟。
1. Introduction
1.1 Purpose
- Introduce how to use the function of the editor
- Help the developers to get familiar with the details of the program
- Help users to configure the editor to suit their requirement
1.2 Background
- For the course design of the Tianjin university software engineering school
- Developed by Tju_llin
1.3 Author
- Student Number : 3013218111
- Name : Liu Lin
- Grade : 2013
1.4 Definition
- IDE : IntegrateDevelopment Environment
- OS : Operating System
2. Overview
2.1 Objectives
- The traditional function implementation like other IDE
- The achievement of the code library
- combine the command and mouse click to make operate more comfortable
2.2 Function
- The editor has the basic manage file functions to create file , open file , save file, save as another files ⋯
- The edit board support to edit multiple files in the meanwhile.File can be focused on by clicking the tab or accept command.
- The code on the board is syntax highlight with line number
- The compile result and standard output will show to users
- The code library show as the tree view, operated by the command.
- C-style auto indent provided
- over 10 files ***with over ***1,000,000 lines can be edit smoothly
- when you delete or insert some text, it can instantly paint the text to the required color if it is a keyword
- save file can finish within 1s if the file doesn’t over 1,000,000 letters.
- Every function finish instantly ⋯
3. Runtime Environment
- Linux OS x64
- Java -version jdk1.7
- g++ 4.9
4. Instructions
4.1 Manage File
4.1.1 create file
- expend the menu item “File”
- select the “New” item or use key board “ctrl+N”
- then new tab named “new-file-XX” arise
4.1.2 open file
- expend the menu item”File”
- select the “Open” item or use key board “ctrl+O”
- then use the file chooser to choose the file you want to open
- 4.1.3 close file
- expend the menu item”File”
- select the close item
- if you do nothing , it close instantly, else jump out a dialog
4.1.4 save file
- expend the menu item “File”
- select the save item or use the short-cut key “ctrl+S”
- if you save at the first time, it will give you a file chooser*
- if the selected file exists, jump out a dialog
- else the file save successfully
4.1.5 change focus
- just click the tab on the top of the edit board
4.2 Edit Code
- 4.2.1 find
- expand the menu item “Edit”
- select the menu item “find”
- give the pattern in the command Edit
- 4.2.2 replace
- expand the menu item “Edit”
- select the menu item “replace”
- give the pattern and goal in the command Edit to replace the pattern with the goal
4.3 Compile and Run
- 4.3.1 compile
- expend the menu item “Tool”
- select the item “compile”
- if you correct but no save , dialog jump out to report warning
- else if you have syntax error, the compile result will show
- else if compile success , it will return the path and success information
- 4.3.2 run
- expend the menu item “Tool”
- select the menu item “run”
- the standout will show………
- just click the right key of the mouse , then the menu arise and can do some edit operation, such as select all, copy, paste, cut
5. Operations and Commands
Operation/ Command | Description |
| |