Netbeans8.1 IDE开发工具
NetBeansIDE的介绍
青菜萝卜各有所爱,我一直使用的IDE开发工具是Netbeans。然而因为NetbeansIDE的使用者比较少。所以,在国内想要找到一些好的使用手册也比较少。
我尝试使用了MyEclipse,可是还是觉得Netbeans IDE是我更喜欢的开发工具,它支持很多功能,正好它网页上所显示的一样。说实在的,它非常像IntelliJ IDEA,功能也很强大。具体的介绍,请见 NetBeansIDE所有功能及支持的技术的中文介绍
NetBeans IDE 使您能够轻松快速地开发 Java 桌面、Mobile 和 Web 应用程序以及使用 HTML、JavaScript 和 CSS 的 HTML5 应用程序。IDE 还为 PHP 和 C/C++ 开发者提供一组强大的工具。它是免费和开源的,有一个由世界各地的用户和开发者组成的大社区。
最主要的是,它能支持HTML5、CSS3、javascript、PHP、JSP等代码提示。当然,它对JAVA代码也是支持的。我在Eclipse中怎么也找不到这个代码提示,特别的CSS Style的提示。
另外,像Eclipse一样的一些代码重构、排版、注释、getter,setter方法生成等等功能都具备。
DTD和XML方案配置
当使用Spring开发的时候,我们都会需要配置XML文件,例如编写完如下内容后,在写<bean> 时会有属性提示。 前提是Netbeans需要到Springframework.org去下载相关的 xsd文件。然而当IDE没有Internet连接或Springframework网站不可访问时,就没有属性提示。
Spring配置文件
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
在这里,NetBeans IDE提供了一个解决方案,你可以在本地存放XSD文件,配置一个目录解释的XML文件,添加到 DTD和XML方案里就可以了。下面,说一下具体方法:
先把Spring项目从网上下载,解压后得到schema目录,里面有各个xsd文件,存放到你指定的位置
然后编写一个XML文件, 就是SystemID 与 URI的对应条目的XML文件,如下:
catalog.xml文件内容<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system"> <system systemId="http://www.springframework.org/schema/aop/spring-aop-3.0.xsd" uri="file:/D:/java/schema/www.springframework.org/schema/aop/spring-aop-3.0.xsd"/><system systemId="http://www.springframework.org/schema/aop/spring-aop-3.1.xsd" uri="file:/D:/java/schema/www.springframework.org/schema/aop/spring-aop-3.1.xsd"/><system systemId="http://www.springframework.org/schema/aop/spring-aop-3.2.xsd" uri="file:/D:/java/schema/www.springframework.org/schema/aop/spring-aop-3.2.xsd"/><system systemId="http://www.springframework.org/schema/aop/spring-aop-4.0.xsd" uri="file:/D:/java/schema/www.springframework.org/schema/aop/spring-aop-4.0.xsd"/><system systemId="http://www.springframework.org/schema/beans/spring-beans-2.0.xsd" uri="file:/D:/java/schema/www.springframework.org/schema/beans/spring-beans-2.0.xsd"/><system systemId="http://www.springframework.org/schema/beans/spring-beans-2.5.xsd" uri="file:/D:/java/schema/www.springframework.org/schema/beans/spring-beans-2.5.xsd"/><system systemId="http://www.springframework.org/schema/beans/spring-beans-3.0.xsd" uri="file:/D:/java/schema/www.springframework.org/schema/beans/spring-beans-3.0.xsd"/><system systemId="http://www.springframework.org/schema/beans/spring-beans-3.1.xsd" uri="file:/D:/java/schema/www.springframework.org/schema/beans/spring-beans-3.1.xsd"/><system systemId="http://www.springframework.org/schema/beans/spring-beans-3.2.xsd" uri="file:/D:/java/schema/www.springframework.org/schema/beans/spring-beans-3.2.xsd"/><system systemId="http://www.springframework.org/schema/beans/spring-beans-4.0.xsd" uri="file:/D:/java/schema/www.springframework.org/schema/beans/spring-beans-4.0.xsd"/><system systemId="http://www.springframework.org/schema/context/spring-context-3.0.xsd" uri="file:/D:/java/schema/www.springframework.org/schema/context/spring-context-3.0.xsd"/><system systemId="http://www.springframework.org/schema/context/spring-context-3.1.xsd" uri="file:/D:/java/schema/www.springframework.org/schema/context/spring-context-3.1.xsd"/><system systemId="http://www.springframework.org/schema/context/spring-context-3.2.xsd" uri="file:/D:/java/schema/www.springframework.org/schema/context/spring-context-3.2.xsd"/>.........................................中间省略<system systemId="http://www.springframework.org/schema/tx/spring-tx-4.0.xsd" uri="file:/D:/java/schema/www.springframework.org/schema/tx/spring-tx-4.0.xsd"/> </catalog>
前面两步的准备工作完成后,就是添加目录文件就可以了。点击菜单工具–>DTD和XML方案–>添加目录–>选取catalog.xml,确定。
最后看到多了一条就可以了,再去编辑你的Spring XML看看。虽然在输出窗口会得到错误提示,但是在bean配置中仍然可以得到提示。
错误: 未知的主机: www.springframework.org
URL 资源
Netbeans8.1 IDE开发工具相关推荐
- 黑马程序员————高新技术————eclipse及IDE开发工具介绍
----------------------ASP.Net+Android+IOS开发----------------------期待与您交流! eclipse及IDE开发工具介绍 Eclipse ...
- 常见的 PHP IDE 开发工具汇总 (LAMP)
常见的 PHP IDE 开发工具汇总(linux) 这里个人推荐一些 PHP IDE 工具,非常见的 Editplus 之类的,都是专门为 PHP 开发的,个人感觉方便容易入手啊简单操作,找出自己用得 ...
- IntelliJ IDEA for Mac 2018.1.2 智能Java IDE开发工具 破解版下载
IntelliJ IDEA for Mac 是一款聪明的 Java IDE,它擅长使用 Java,Scala 和 Groovy 开发企业,移动和 Web 应用,有所有最新的现代技术和框架安装即可使,非 ...
- 用Tkinter打造自己的Python IDE开发工具(1)建立一个简单的代码编辑器
用Tkinter打造自己的Python IDE开发工具(1)建立一个简单的代码编辑器 很多Python初学者,安装完Python后,已经包含了IDLE代码开发和调试系统.都会再安装各种Python开发 ...
- 用Tkinter打造自己的Python IDE开发工具(4)利用HP_tk模块设计自己的代码编辑器
用Tkinter打造自己的Python IDE开发工具(4)利用HP_tk模块设计自己的代码编辑器 HP_tk.py模块是小白量化第二代量化系统中的开发模块.其中HP_tk.py模块是小白量化系统GU ...
- 用Tkinter打造自己的Python IDE开发工具(5)利用HP_tka模块设计自己的中文代码编辑器
用Tkinter打造自己的Python IDE开发工具(5)利用HP_tka模块设计自己的中文代码编辑器 前面我们介绍了在Tkinter中使用exec()函数运行用户程序的方法.exec()采用多线程 ...
- Python3教程——3、Python3 用什么IDE开发工具好呢
和小名一起学Python Python3教程--Python3 用什么IDE开发工具 这也许是学习一门语言时大家都会问的一个问题,其实我个人认为无所谓哪个最好,关键在于哪个用着顺手,方便.还有很多人乐 ...
- MacOS 安装 QtCreator 5.9.8 作 C++ 的 IDE 开发工具
简 述: 在MacOS10.14.6环境下安装QtCreator5.9.8作为c++的IDE开发工具,学习和使用qt 文章目录 下载QtCreator: 安装QtCreator步骤: 启动QtCrea ...
- 用Tkinter打造自己的Python IDE开发工具(7)变量数据共享机制及小白量化策略编写
用Tkinter打造自己的Python IDE开发工具(7)变量数据共享机制及小白量化策略编写 首先我设计的HP_开头的系列Python模块及源文件目前不开源,所有源文件只对读者自己使用学习,不得放到 ...
最新文章
- 原来 CPU 为程序性能优化做了这么多
- Schema中elementFormDefault=qualified所起的作用
- bootstrap上传图片可实现查看上一张图片和下一张图片_如何实现像人民日报微信推文一样的的点亮效果?...
- log4j 日志级别_Qt使用Log4Qt写日志
- 水泵怎么做_燃气壁挂炉初次调试,要怎么做才好?
- 话说模式匹配(1) 什么是模式?
- MySQL Enterprise Monitor架构图
- 给你介绍Python代码中下划线的魔幻魅力!
- 内向的人和陌生人聊天,如何做到有话可说
- 企业终端病毒查杀+漏洞及补丁管理(自写知识分享,不是广告)
- 什么是视频编码 编解码技术及压缩技术
- 复习第一天(JavaSE)
- PS缩小图层兼如何使用蒙版
- Open3D-GUI系列教程(七)打包应用程序
- 2,JESD204为什么值得关注?
- 移动端上传头像-相册、拍摄-旋转
- Hexo的Next主题增加畅言评论
- golang实现手机号验证码登入
- 火狐浏览器下载最后一秒卡住怎么办?
- 制作音乐相册的软件哪个好?简单易用好上手,动感切换效果超吸睛