&&& class name auto-completion of installation sts plug-ins written by the eclipse xml file

Foreword

Often used when writing configuration file using spring full path name of the class, in order to remember the full path of these classes is not a simple matter, recently to see the video, which mentions an eclipse plugin called sts, can help completion type the full path, today try to install the next, and then into the pit, QAQ, installed 12 times before installed, let's summarize my pit !!

Sts plug-in installation

First thing first sts plug-in installation, the official online direct download eclipse with Sping, I do not want to download eclipse, my version of the eclipse is eclipse mars 4.5.2, so you need to download the corresponding version number of sts plug
online there is a big God summarizes all the downloaded version, I took out his blog here No, we need to go to his blog to download the corresponding version
https://blog.csdn.net/u010203767/article/details/69211072
my version is this:
STS Download -3.7.3 of: http://download.springsource.com/release/TOOLS/update/3.7.3.RELEASE/e4.5/springsource-tool-suite-3.7.3.RELEASE-e4.5.2- updatesite.zip
then the next step is into the pit began, according to my conclusion, I want to help
first open eclipse-> menu bar Help-> click the option Install new Software

Then click add, name own any input, location, select the right choice just downloaded sts Archive archive, OK

Out of this interface,
Here Insert Picture Descriptionthe next focus here

Here Insert Picture DescriptionDo not check
Here Insert Picture Descriptionmust also choose only those four with the IDE

The default interface is a start, the red line is part of everyone's hooked, at the beginning I did not go online to find the corresponding method, there is no direct uncheck, click on the next result download speed is very slow, and finally to 15/15
results appeared wonderful the problem: error unable to create new native thread
as shown: Here Insert Picture Description
and then directly collapsed, and have been trying, and has always been such a mistake, burst mentality, look online similar problem was found to be 2016 posts, no one answer and then my heart ...

Go online to find a solution,
then change to another method, canceled check, is to re-download this, but also into the pits

This problem will appear
prompt "can not perform operation.Computing alternate solutions,
may take a while: ..." a long time without moving, long, long time ...

Here Insert Picture Description
Find a solution, that is not networked, what network do not even have, off the network , and then try again 9th, this will be the last reported error

Cannot complete the install because one or more required items could not be found.
  Software being installed: Spring IDE OSGi Extension (optional) 3.8.3.201612191259-RELEASE (org.springframework.ide.eclipse.osgi.feature.feature.group 3.8.3.201612191259-RELEASE)
  Missing requirement: Spring IDE Live Beans Graph 3.8.3.201612191259-RELEASE (org.springframework.ide.eclipse.beans.ui.livegraph 3.8.3.201612191259-RELEASE) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Spring IDE Core (required) 3.8.3.201612191259-RELEASE (org.springframework.ide.eclipse.feature.feature.group 3.8.3.201612191259-RELEASE)
    To: org.springframework.ide.eclipse.beans.ui.livegraph [3.8.3.201612191259-RELEASE]
  Cannot satisfy dependency:
    From: Spring IDE OSGi Extension (optional) 3.8.3.201612191259-RELEASE (org.springframework.ide.eclipse.osgi.feature.feature.group 3.8.3.201612191259-RELEASE)
    To: org.springframework.ide.eclipse.feature.feature.group 0.0.0

Mentality and collapse, and finally went to see the method, you need to change it to configure the eclipse,
Here Insert Picture Descriptionclick on the rectangle above chart appears under
Here Insert Picture Descriptionthe beginning of the default configuration is not the case, first of all there is no GEF things, is followed by checking on again, the URL is not the same
way like this, I do not know the right, anyway, I did so:

原因是没有安装STS依赖的GEF插件
解决办法:

启动eclipse,点击window——>preferences——>install/update——>available software sites,点击Add
添加如下信息:
GEF

http://download.eclipse.org/tools/gef/updates/releases/
安装GEF插件

Summarized above, I will do so, select the GEF, after adding the information, be sure to only vote for it, select reload, downloads (be sure to networking, need networking)
Here Insert Picture Descriptionafter the following operations after that, finished modifying the URL must be full option (GEF not selected) on the right reload

使用科大镜像更新插件
将其中的download.eclipse.org全部替换成mirrors.ustc.edu.cn/eclipse即可。

Last seen my last check only those five, to be honest, I do not know which of several check is necessary, I just give it a try, because the check completed, or will be error , so check that 5 one, you can follow me to try
and finally you'd think I was successful, I think so, and yet burst, life and death is not installed on it
being given or

Cannot complete the install because one or more required items could not be found.  
  Software being installed: Spring IDE OSGi Extension (optional) 3.8.3.201612191259-RELEASE (org.springframework.ide.eclipse.osgi.feature.feature.group 3.8.3.201612191259-RELEASE)  
  Missing requirement: Spring IDE Live Beans Graph 3.8.3.201612191259-RELEASE (org.springframework.ide.eclipse.beans.ui.livegraph 3.8.3.201612191259-RELEASE) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found  
  Cannot satisfy dependency:  
    From: Spring IDE Core (required) 3.8.3.201612191259-RELEASE (org.springframework.ide.eclipse.feature.feature.group 3.8.3.201612191259-RELEASE)  
    To: org.springframework.ide.eclipse.beans.ui.livegraph [3.8.3.201612191259-RELEASE]  
  Cannot satisfy dependency:  
    From: Spring IDE OSGi Extension (optional) 3.8.3.201612191259-RELEASE (org.springframework.ide.eclipse.osgi.feature.feature.group 3.8.3.201612191259-RELEASE)  
    To: org.springframework.ide.eclipse.feature.feature.group 0.0.0  

Then saw a post, really okay luck, to put on the hook trapping, be sure to download things (I thought to myself, I'm not meow he returned to the very beginning of it, back to the origin is not it)
Here Insert Picture Description
I hard the scalp, try the 12th, then the front is not very slow (probably before the error when downloading a part of it), I waited for about 10 minutes to choose next, next, finish, and then success
Here Insert Picture Description I really going mad , after downloading, I wrote this blog, his thoughts a bit confusing, understanding please the majority of users, the problem may arise during the installation process I rather strange, but also more complicated, anyway, I feel able to install good, pure luck.

Auto-complete class name when writing xml file by the eclipse

I looked at users who install this plugin for Spring boot, I have not learned, I originally wanted to auto-complete class name when writing xml file by the eclipse, I did not expect when the plug-in installation sts, so difficult, well Next, the configuration automatically prompts

Window->Preferences->XMl->XMLFiles->Editor->Content Assist

在Auto actiVation delay(ms)中改为0

在Prompt when these characters are inserted中<=;改为<=:.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ

点击Apply,, OK即可完成

Here Insert Picture DescriptionNow you can be prompted in the path of the XML file using the class !!
Here Insert Picture Description
finally finished, whistling call, we can give praise or attention.

Published 60 original articles · won praise 4 · Views 1249

Guess you like

Origin blog.csdn.net/qq_43966129/article/details/105285143