登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 计算机类 > 计算机科学与技术 > 正文

一个Eclipse代码格式化插件的设计与实现

 2023-03-07 08:03  

论文总字数:14916字

摘 要

进入2000年以后,我国的国家实力明显的提高了,国民经济显著增长。尤其是近几年来,经济增长的很快。大多数老百姓可支配的收入逐渐地变多了,现在,几乎每家每户都拥有了自己的个人电脑。随着我们国家的IT的猛烈发展,老百姓对于软件的需求越来越大。计算机软件的发展进入了高速爆发增长的时代。越来越多的人加入了软件设计制作的行列。

中国国内的各种网站和其他软件层出不穷,数量越来越多。由于代码的不规范性,代码的可读性非常差,从而导致了网站或其他程序的维护成本越来越高。所以人们也开始注意到了这个方面的问题。

Eclipse软件做为一个无偿的免费的开源的项目,被越来越多的人所使用。在Eclipse中扮演重要角色的插件,它可以为开发人员提供很多有趣的,有用的功能。因此,希望能设计出一个代码格式化的插件帮助开发人员,规范美化他们的代码,使他们书写的代码能够简便易读,从而减少软件维护的成本。规范化的代码不仅美观易读,也可以帮助发开人员或者正在学习编程技术的人员养成良好的习惯,这对于这个软件行业都是有意义的。

关键字:Eclipse;插件实现;代码格式化;

Design and implementation of a Eclipse code format plugin

Abstract

After 2000, China"s national strength has improved significantly, and the national economy has increased significantly. Especially in recent years, economic growth is very fast.Most of the people can dominate the income gradually become more, and now, almost every household has their own personal computer. With the fierce development of our country"s IT, the people for the growing demand for software. The development of computer software entered the era of rapid growth. More and more people are joining the ranks of software design.

There are a growing number of websites and other software in China. Because the code is innormative, the code"s readability is poor, leading to higher maintenance costs for websites and other programs. So people are beginning to notice the problem.

Eclipse software as a free free open source project is being used by more and more people. A plug-in that plays an important role in Eclipse can provide developers with a lot of interesting and useful functionality. Therefore, I hope to be able to design a code formatting plugin to help developers, beautify their code, so that they can write code simple and easy to read, thus reducing the cost of software maintenance. Standardized code is not only beautiful and easy to read, but also can help people or people who are learning programming skills to develop good habits, which for the software industry is meaningful.

Keywords: Eclipse; Plug-in implementation;Code formatting;

目 录

摘 要 Ⅰ

Abstract Ⅱ

第一章 引言 1

1.1 研究背景 1

1.2 研究内容 1

1.3 国内外现状 1

1.4 设计难点 2

1.5 本文的结构 2

第二章 Eclipse和它的插件技术 3

2.1 Eclipse简介 3

2.1.1 Eclipse平台的基本简介 3

2.1.2 Eclipse平台的基本的组成 3

2.2 Eclipse插件开发 3

2.2.1 Eclipse平台的体系结构 3

2.2.2 Eclipse插件介绍 4

2.2.3 PDE环境介绍 4

2.2.4 开发原理简介 5

2.3 其他技术简介 5

2.3.1 Java简介 5

2.3.2 GUI简介 5

2.3.3 JDK简介 6

2.3.4 SWING简介 6

2.3.5 SWT简介 6

第三章 系统需求分析 7

3.1 可行性研究 7

3.1.1 经济可行性 7

3.1.2技术可行性 7

3.1.3运行可行性 7

3.1.4法律可行性 7

3.2 需求分析 8

3.2.1系统需求 8

3.2.2该系统需求分析 8

第四章 插件实现 9

4.1 环境配置 9

4.1.1JDK的安装 9

4.1.2 Eclipse的安装 9

4.1.3 格式化插件的结构 10

4.2 关键代码 12

4.2.1 JAVA代码格式化 12

4.2.2 HTML代码格式化 12

4.2.3 XML代码格式化 13

4.3运行效果 14

第五章 插件测试 17

5.1 简介 17

5.2 插件功能测试 17

5.3 测试硬件 19

5.4运行情况 19

总结 20

致谢 21

参考文献 22

剩余内容已隐藏,请支付后下载全文,论文总字数:14916字

您需要先支付 80元 才能查看全部内容!立即支付
已经是最后一篇了

企业微信

Copyright © 2010-2022 毕业论文网 站点地图