DL Code Editor user manual

本文档介绍了由天津大学软件工程学院学生刘林开发的一款集成开发环境(IDE)的基本功能及使用方法。该IDE支持文件管理、代码编辑、编译运行等操作,并提供了代码库管理和语法高亮等功能,适用于Linux x64环境下进行C/C++开发。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

2.3 Performance

  • 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………

4.4 Pop Up Menu

  • 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/ CommandDescription
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值