From e5a41ef6e47676e7577520525f1d48b8b71d4bd4 Mon Sep 17 00:00:00 2001 From: Dietrich Travkin Date: Mon, 12 Feb 2024 11:36:24 +0100 Subject: [PATCH] Document recently implemented option of declaring a default editor in preferences. --- .../reference/ref-content-type.htm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.user/reference/ref-content-type.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.user/reference/ref-content-type.htm index a9ff02829e5..64feb13d63c 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.user/reference/ref-content-type.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.user/reference/ref-content-type.htm @@ -43,6 +43,10 @@

Associating editors with content types

Those user-defined editor associations are stored in the user data area.

Editor associations defined manually can be removed thanks to the Remove button. Editor associations that were defined by a plug-in are locked and cannot be removed.

+

In case there are multiple editors suitable to open a content type, you can declare one of these editors as + default editor (the preferred editor). Just select the editor in the associated editors list and press the + Default button. If there is no default editor, the first suitable editor found is used to open the + content type.

Define default encoding for content type

You can also set the default encoding for a given content type. To do this, simply enter the encoding name in the provided field and click Update.