дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 17:21:13 +02:00
fix(settings): align Smart Keys backspace and paste controls (#4823)
Settings > Editor > General > Smart Keys places the Backspace and paste formatting controls directly below the Enter options; the two controls share a label column and the paste escaping option sits below the formatting control.
Цей коміт міститься в:
1 джерело
a4574fdc92
коміт
f2c0fcdc96
4 files changed
+96
-28
No files matched your search
@@ -736,12 +736,6 @@ const SMART_KEYS = editorPage({
|
||||
{
|
||||
items: [
|
||||
{ t: "check", key: `${P}.smartKeys.smartHome`, label: "Home moves caret to first non-whitespace character" },
|
||||
{
|
||||
t: "check",
|
||||
key: `${P}.smartKeys.camelHumps`,
|
||||
label: 'Use "CamelHumps" words',
|
||||
hint: "⌥← / ⌥→ and ⌥⌫ stop at humps of camelCase names.",
|
||||
},
|
||||
{
|
||||
t: "check",
|
||||
key: `${P}.smartKeys.pairBrackets`,
|
||||
@@ -749,9 +743,36 @@ const SMART_KEYS = editorPage({
|
||||
hint: "Also pairs <> for generics where the syntax says a type starts.",
|
||||
},
|
||||
{ t: "check", key: `${P}.smartKeys.pairQuotes`, label: "Insert pair quote" },
|
||||
{
|
||||
t: "check",
|
||||
key: `${P}.smartKeys.camelHumps`,
|
||||
label: 'Use "CamelHumps" words',
|
||||
hint: "⌥← / ⌥→ and ⌥⌫ stop at humps of camelCase names.",
|
||||
},
|
||||
{ t: "check", key: `${P}.smartKeys.surroundSelection`, label: "Surround selection on typing quote or brace" },
|
||||
{ t: "check", key: `${P}.smartKeys.tabOutOfPair`, label: "Jump outside closing bracket/quote with Tab" },
|
||||
{ t: "check", key: `${P}.smartKeys.simultaneousTagEditing`, label: "Simultaneous <tag></tag> editing" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Enter",
|
||||
items: [
|
||||
{ t: "check", key: `${P}.smartKeys.smartIndent`, label: "Smart indent" },
|
||||
{ t: "check", key: `${P}.smartKeys.insertDocStub`, label: "Insert documentation comment stub" },
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
t: "select",
|
||||
key: `${P}.smartKeys.backspaceUnindent`,
|
||||
label: "Unindent on Backspace",
|
||||
options: [
|
||||
{ value: "autoindent", label: "To proper indent position" },
|
||||
{ value: "nearest", label: "To nearest indent position" },
|
||||
{ value: "none", label: "Disabled" },
|
||||
],
|
||||
},
|
||||
{
|
||||
t: "select",
|
||||
key: `${P}.smartKeys.reformatOnPaste`,
|
||||
@@ -769,28 +790,6 @@ const SMART_KEYS = editorPage({
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Enter",
|
||||
items: [
|
||||
{ t: "check", key: `${P}.smartKeys.smartIndent`, label: "Smart indent" },
|
||||
{ t: "check", key: `${P}.smartKeys.insertDocStub`, label: "Insert documentation comment stub" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Backspace",
|
||||
items: [
|
||||
{
|
||||
t: "select",
|
||||
key: `${P}.smartKeys.backspaceUnindent`,
|
||||
label: "Unindent",
|
||||
options: [
|
||||
{ value: "autoindent", label: "To proper indent position" },
|
||||
{ value: "nearest", label: "To nearest indent position" },
|
||||
{ value: "none", label: "Disabled" },
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
|
||||
@@ -514,6 +514,7 @@
|
||||
"Inlay hint preview": "Inlay hint preview",
|
||||
"Inlay hint categories": "Inlay hint categories",
|
||||
"Parameter": "Parameter",
|
||||
"Unindent on Backspace": "Unindent on Backspace",
|
||||
"Global variable": "Global variable",
|
||||
"Package reference": "Package reference",
|
||||
"Constant": "Constant",
|
||||
|
||||
@@ -457,6 +457,7 @@
|
||||
"Inlay hint preview": "嵌入提示预览",
|
||||
"Inlay hint categories": "嵌入提示类别",
|
||||
"Parameter": "参数",
|
||||
"Unindent on Backspace": "按退格键取消缩进",
|
||||
"Package reference": "包引用",
|
||||
"Instance field": "实例字段",
|
||||
"Static symbol": "静态符号",
|
||||
|
||||
Reference in new issue
Заблокувати користувача