当前位置:网站首页>The solution to turn the newly created XML file into a common file in idea
The solution to turn the newly created XML file into a common file in idea
2022-07-01 14:57:00 【lwj_ 07】
One 、 New version solution
Cause :
This phenomenon is generally caused by creating xml Forget to input the file .xml The suffix is , So when creating idea A window will pop up allowing you to choose the file type , Here's the picture

Then rename and add manually xml Suffixes are useless .

resolvent :
The solution is to open the settings , stay File Types Found in Auto-detect file type by content label , Just delete the records inside .

Or in Xml Labeled FIle name patterns Add the file name in

Two 、 Previous version solution
Here I quote someone else's article :
Here's the screenshot :
File–>setting

1、 Choose Text, Find the extension below *.xml Delete the ,
2、 Choose XML, Add an extension to the following *.xml that will do

3. But click in and find that my configuration is ok . And create a new one with a different name , Just add the suffix ., Continue to create the original name , Adding suffixes doesn't work ,
Think about it , Think of a solution . First delete the original name file , Continue to create a file with the same name , But do not write suffixes when naming , The select file type box pops up again . choice xml,OK

4. If you create a file name . Always a certain type . to glance at registered pattern Whether there is a template configured in without knowledge . If there is . Just delete it . Like the configuration in the figure below . Create a file named CheckTaskSizeMapper. It must be .xml Format

边栏推荐
- 期末琐碎知识点再整理
- 深度分析数据在内存中的存储形式
- Pat 1065 a+b and C (64bit) (20 points) (16 points)
- Develop small programs and official account from zero [phase III]
- APK签名原理
- C learning notes (5) class and inheritance
- 适合没口才的人做,加入中视频伙伴计划收益是真香,一个视频拿3份收益
- JVM第二话 -- JVM内存模型以及垃圾回收
- [15. Interval consolidation]
- tensorflow2-savedmodel convert to pb(frozen_graph)
猜你喜欢

MIT团队使用图神经网络,加速无定形聚合物电解质筛选,促进下一代锂电池技术开发

C learning notes (5) class and inheritance

It's settled! 2022 Hainan secondary cost engineer examination time is determined! The registration channel has been opened!

微服务追踪SQL(支持Isto管控下的gorm查询追踪)

Microservice development steps (Nacos)

Opencv learning note 4 -- bank card number recognition

JVM第一话 -- JVM入门详解以及运行时数据区分析

The State Administration of Chia Tai market supervision, the national development and Reform Commission and the China Securities Regulatory Commission jointly reminded and warned some iron ores

Opencv Learning Notes 6 -- image mosaic

idea中新建的XML文件变成普通文件的解决方法.
随机推荐
Markdown编辑器使用基本语法
Basic use process of cmake
[leetcode 324] swing sorting II thinking + sorting
Error-tf. function-decorated function tried to create variables on non-first call
tensorflow2-savedmodel convert to tflite
What are the requirements for NPDP product manager international certification registration?
tensorflow2-savedmodel convert to pb(frozen_graph)
【锁】Redis锁 处理并发 原子性
What is the relationship between network speed, broadband, bandwidth and traffic?
leetcode:329. 矩阵中的最长递增路径
关于重载运算符的再整理
These three online PS tools should be tried
关于软件测试的一些思考
数据产品经理需要掌握哪些数据能力?
Internet hospital system source code hospital applet source code smart hospital source code online consultation system source code
Solid smart contract development - easy to get started
MIT team used graph neural network to accelerate the screening of amorphous polymer electrolytes and promote the development of next-generation lithium battery technology
JVM second conversation -- JVM memory model and garbage collection
【LeetCode】16、最接近的三数之和
Official announcement: Apache Doris graduated successfully and became the top project of ASF!