java - IDEA怎么快速引入 spring 的命名空间
PHP中文网
PHP中文网 2017-04-17 14:53:35
0
4
1401

eclipse 有可视化工具,可以点选引入 spring 配置文件的命名空间
请问 IDEA 有相似的东西可以快速引入命名空间么?

PHP中文网
PHP中文网

认证0级讲师

reply all(4)
巴扎黑

Prepare a relatively complete copy
Copy it when needed, modify it and remove the redundant ones (or ignore them)
I will talk nonsense if there are bugs in IDEA’s auto-complete namespace...

小葫芦

What do you mean? Quickly create packages according to rules? If so, I usually use gradle to do this

PHPzhong

Do you mean to quickly discover Spring configuration files?

You can add facets in Project Structure, select Spring, and then idea will automatically scan Spring’s xml configuration file for you.

大家讲道理

MyEcplise does a good job at this point, that is, there will be a namespace in the lower corner of the file
If you want to quickly reflect the namespace in the idea, such as introducing the p namespace, type xmlns:p= first, and then it will Automatically prompt a series of things, as shown in the picture below

It should be noted that it must be typed below the line xmlns:context="", otherwise it will not prompt. You can prompt it at the position shown in the picture, otherwise it may not prompt

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!