博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
DL Code Editor user manual
阅读量:3714 次
发布时间:2019-05-21

本文共 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

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/ Command Description
你可能感兴趣的文章
vi 编辑器常用命令
查看>>
shiro 的类
查看>>
Spring Aop 统一处理 返回结果(修改图片链接)
查看>>
Jackson 处理 java8 的 Instant
查看>>
springboot 拦截器 注册 和 jwt 和 跨域
查看>>
java 自定义注解(手写框架的前提)
查看>>
JWT工具类
查看>>
java8动态代理
查看>>
java lambda表达式(比较器)
查看>>
mysql 无法设置外键 什么 reference什么 incompatable
查看>>
mybatis 批量插入写法
查看>>
LocalDateTime 转时间戳
查看>>
aop +反射处理 service异常
查看>>
spring AOP打印方法名字
查看>>
基于spring AOP的 权限校验
查看>>
JMM模型1
查看>>
当码农遇上黑客的一天
查看>>
七牛文件上传demo
查看>>
springMVC maven多模块项目搭建
查看>>
手写一个生成带参数 微信二维码的工具类
查看>>