系统不支持xml呢?怎么用eclipse做xml!系统不支持呢?

8278人阅读
用eclipse编写xml编写出的格式是:
&?xml version=&1.0& encoding=&UTF-8&?&
&project xmlns=&&
&&&&&&&& xmlns:xsi=&&
&&&&&&&& xsi:schemaLocation=&
&modelVersion&4.0.0&/modelVersion&
&groupId&com.juvenxu.mvnbook&/groupId&
&artifactId&hello-world&/artifactId&
&version&1.0-SNAPSHOT&/version&
&name&Maven Hello World Project&/name&
&dependencies&
&dependency&
&groupId&junit&/groupId&
&artifactId&junit&/artifactId&
&version&4.7&/version&
&scope&test&/scope&
&/dependency&
全部是靠边对齐的
我想让他成为下面这样的
&&&&&executions&
&&&&&&execution&
&&&&&&&phase&package&/phase&
&&&&&&&goals&
&&&&&&&&goal&shade&/goal&
&&&&&&&/goals&
&&&&&&&configuration&
&&&&&&&&transformers&
&&&&&&&&&transformer implementation=&org.apache.maven.plugins.shade.resource.ManifestResourceTransformer&&
&&&&&&&&&&mainClass&com.juvenxu.mvnbook.helloworld.HelloWorld&/mainClass&
&&&&&&&&&/transformer&
&&&&&&&&/transformers&
&&&&&&&/configuration&
&&&&&&/execution&
&&&&&/executions&
1)修改Eclipse的XML格式化配置
&&& 这一步的配置是使格式化的效果为控件的每个属性配置占一行。进入 Window/Preferences,展开到 XML/XML Files/Editor,
勾选 “Split multiple attributes each on a new line” 即可,如下图所示:
经此配置后,每次使用快捷键& Ctrl+Shift+F 键格式化后每个属性配置就会占一行。
快捷键不行设置快捷键
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:208164次
积分:2334
积分:2334
排名:第10763名
原创:18篇
转载:43篇
(3)(6)(19)(5)(28)The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.

我要回帖

更多关于 怎么用eclipse做xml 的文章

 

随机推荐