eclipse 有可视化工具,可以点选引入 spring 配置文件的命名空间
请问 IDEA 有相似的东西可以快速引入命名空间么?
巴扎黑2017-04-17 14:55:35
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...
高洛峰2017-04-17 14:55:35
What do you mean? Quickly create packages according to rules? If so, I usually use gradle to do this
PHPz2017-04-17 14:55:35
You can add facets in Project Structure, select Spring, and then idea will automatically scan Spring’s xml configuration file for you.
大家讲道理2017-04-17 14:55:35
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