mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 02:07:50 +08:00
Language and Filetype: clarify using fileType EP vs FileTypeFactory in 2019.2
This commit is contained in:
parent
11c4e0a53f
commit
1ab901ab8c
@ -47,7 +47,7 @@ In plugin.xml add:
|
||||
|
||||
### 2.5.B. Register file type (2019.2 or later)
|
||||
|
||||
When matching via file extension, pattern or exact file name, registration of file type should be done via `plugin.xml` only without implementing `FileTypeFactory`.
|
||||
When matching via file extension, pattern or exact file name, registration of file type should be done via `com.intellij.fileType` extension point instead of implementing dedicated `FileTypeFactory`.
|
||||
|
||||
```xml
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
|
Loading…
x
Reference in New Issue
Block a user