settings: Remove unused message_editor setting (#60260)

Used this at one point when we still had chat in Collab, but now it's
unused.

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner authored and GitHub committed 2026-07-02 11:45:37 +00:00
1 parent 4a1cb2b1e2
commit 21d66eb9d5
4 files changed
+1 -44

No files matched your search

-5
View File
@@ -1025,11 +1025,6 @@
// Default: project_diff
"entry_primary_click_action": "project_diff",
},
"message_editor": {
// Whether to automatically replace emoji shortcodes with emoji characters.
// For example: typing `:wave:` gets replaced with `👋`.
"auto_replace_emoji_shortcode": true,
},
"agent": {
// Whether the inline assistant should use streaming tools, when available
"inline_assistant_use_streaming_tools": true,
-1
View File
@@ -199,7 +199,6 @@ impl VsCodeSettings {
language_models: None,
line_indicator_format: None,
log: None,
message_editor: None,
node: self.node_binary_settings(),
outline_panel: self.outline_panel_settings_content(),
@@ -211,9 +211,6 @@ pub struct SettingsContent {
pub project_panel: Option<ProjectPanelSettingsContent>,
/// Configuration for the Message Editor
pub message_editor: Option<MessageEditorSettings>,
/// Configuration for Node-related features
pub node: Option<NodeBinarySettings>,
@@ -839,16 +836,6 @@ pub struct PanelSettingsContent {
pub default_width: Option<f32>,
}
#[with_fallible_options]
#[derive(Clone, Default, Serialize, Deserialize, JsonSchema, MergeFrom, Debug, PartialEq)]
pub struct MessageEditorSettings {
/// Whether to automatically replace emoji shortcodes with emoji characters.
/// For example: typing `:wave:` gets replaced with `👋`.
///
/// Default: false
pub auto_replace_emoji_shortcode: Option<bool>,
}
#[with_fallible_options]
#[derive(Clone, Default, Serialize, Deserialize, JsonSchema, MergeFrom, Debug, PartialEq)]
pub struct FileFinderSettingsContent {
+1 -25
View File
@@ -9791,7 +9791,7 @@ fn language_settings_data() -> Box<[SettingsPageItem]> {
]
}
fn global_only_miscellaneous_sub_section() -> [SettingsPageItem; 4] {
fn global_only_miscellaneous_sub_section() -> [SettingsPageItem; 3] {
[
SettingsPageItem::SettingItem(SettingItem {
title: "Image Viewer",
@@ -9871,30 +9871,6 @@ fn language_settings_data() -> Box<[SettingsPageItem]> {
}],
],
}),
SettingsPageItem::SettingItem(SettingItem {
title: "Auto Replace Emoji Shortcode",
description: "Whether to automatically replace emoji shortcodes with emoji characters.",
field: Box::new(SettingField {
organization_override: None,
json_path: Some("message_editor.auto_replace_emoji_shortcode"),
pick: |settings_content| {
settings_content
.message_editor
.as_ref()
.and_then(|message_editor| {
message_editor.auto_replace_emoji_shortcode.as_ref()
})
},
write: |settings_content, value, _| {
settings_content
.message_editor
.get_or_insert_default()
.auto_replace_emoji_shortcode = value;
},
}),
metadata: None,
files: USER,
}),
SettingsPageItem::SettingItem(SettingItem {
title: "Drop Size Target",
description: "Relative size of the drop target in the editor that will open dropped file as a split pane.",