SpringBoot --- Eclipse editor yml file does not automatically prompt the question (Eclipse plug-ins installed STS)

After learning a few days SpringBoot, just began to follow someone else's blog using IDEA, later followed video learning, instructor with the eclipse, then followed with, but found yml edit the configuration file when there is no automatic prompt function, Baidu is not installed after the discovery STS plug, then install chant, did not expect to install a plug-in also stepped on a lot of the pit, to sum up here, I hope to help turn white this blog.

Bowen read a lot about the installation of STS widget also downloaded several versions, but none of the normal tips.

However, it found important point: the need to download the appropriate plug-ins based on Eclipse version of the STS, but when I installed, but also according to the online blog to the corresponding version of the installation is successful, edit yml file may also occur without prompting, highlighting, syntax checking and so on ...

Here, a reminder:

To get your Eclipse has more functionality when editing yml file, your version of Eclipse at least Eclipse 4.5 (Mar)
to get in your Eclipse editor application.properties file has prompts, your version of Eclipse at least Eclipse 4.4 .2 (Luna)

In the eclipse installation SpringSource Tool Suite (sts-eclipse) to install plug-ins include online and offline installation
after seeing other blog which said that offline installation, but normal offline installation prompts me or not normal, and finally I changed the online version was installed success.
I use the version:

Eclipse Java EE IDE for Web Developers.
Version: 2019-06 (4.12.0)
Build id: 20190614-1200

 

First-line installation method:

1. Start Online plug-in: the Help-> the Install New Software -> the Add
2. Enter a name in the Name input box, you can freely define their own can know the name, for example: STS
3. In Location enter: HTTP: //download.springsource .com / release / TOOLS / update / e4.12 / own version of what, how much it changed to, for example, I is 4.12, so long as the final version amended as follows: 4.12
4. check the IDE only with Spring items (there are four) while the current page below the Contract all update sites druing install to find required software default options selected removed. Then all the way next installation, will be prompted to reboot after the installation is complete
tips below 5. After the restart is the normal installation was successful.

 

 

 

After this time yml file is created in the resource below, you should see a small sign documents leaves, there is a letter "y" above, and then open yml file, enter the server can automatically prompt, if not automatically prompt, mail view open yml file is not Spring Ymal editor

 

 

 


If you can not normally suggest that it would change version of it, I have encountered this, and did not find out why. . . . . . .

And also met a pit is normal after installing STS, after creating yml files, this file is not actually small leaves, and then find the right open with no Spring Yml Edit ...

One thing do not understand, I also downloaded the spring-tool-suite-4-4.0.0.RELEASE-e4.9.0-win32.win32.x86_64, this is the integration of the eclipse, you will be able to directly open with, but still can not properly prompted yml

今天我又尝试了一下使用Spring Tool suite 打开yml文件,输入server仍然没有提示,然后我准备关掉yml文件的时候,自动提示竟然又蹦出来了,很是意外。。。。。。。。。。

我似乎发现怎么回事了,在yml文件自动提示出来之后,我试试打开properties文件,看看有没有自动提示,果然正如我想象的那样,输入server之后,没有任何提示,然后第一行还报错了。。。。。。。。

但是!!!!!!在我使用Backspace准备删掉server的时候,自动提示又有了。。。。。。。。

我感觉这个玩意在针对我!!!!!

这里我发现好像只要正常安装STS插件之后,如果yml文件前面有小树叶的标志,证明Yaml Edit生效了,如果自动提示出不来,就可以先删掉几个字母,看看会不会弹出自动提示。

下面是离线安装STS的方法:

一些对应的版本对应的eclipse插件,这些插件复制名称到百度搜索一下即可直接下载,然后就可以离线安装了,:

eclipse-Mars.4.5.1–>springsource-tool-suite-3.7.2RELEASE-e4.5.1-updatesite.zip
eclipse-Mars.4.5.2–>springsource-tool-suite-3.7.3RELEASE-e4.5.2-updatesite.zip
eclipse-neno.4.6–>springsource-tool-suite-3.7.3RELEASE-e4.6-updatesite.zip

这篇博客中有各个版本的Eclipse 对应的STS插件下载地址:http://blog.csdn.net/zhen_6137/article/details/79384798

Guess you like

Origin www.cnblogs.com/xiangxiushu/p/11093173.html