From 29a7935ea5cd477302442cb26a5087da57f77a1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Wed, 18 Nov 2020 18:29:36 +0100 Subject: [PATCH] registering_file_type.md: OSFileIdeAssociation --- .../custom_language_support/registering_file_type.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reference_guide/custom_language_support/registering_file_type.md b/reference_guide/custom_language_support/registering_file_type.md index b63566735..3cc4d0b88 100644 --- a/reference_guide/custom_language_support/registering_file_type.md +++ b/reference_guide/custom_language_support/registering_file_type.md @@ -18,5 +18,7 @@ To register a file type, the plugin developer provides a subclass of [`FileTypeF - [Custom Language Support Tutorial: Language and File Type](/tutorials/custom_language_support/language_and_filetype.md) To verify that the file type is registered correctly, you can implement the [`LanguageFileType.getIcon()`](upsource:///platform/core-api/src/com/intellij/openapi/fileTypes/LanguageFileType.java) method and verify that the correct icon (see [Working with Icons and Images](/reference_guide/work_with_icons_and_images.md)) is displayed for files associated with your file type. - + If you want IDEs to show a hint prompting users that your plugin supports a specific file type, see [Plugin Recommendations](https://plugins.jetbrains.com/docs/marketplace/intellij-plugin-recommendations.html). + +To control file type association with the IDE in the operating system, implement `com.intellij.openapi.fileTypes.OSFileIdeAssociation` (2020.3). \ No newline at end of file