Added: Option to turn off code completion on dot(.) key

This commit is contained in:
Jindra Petřík
2025-06-24 21:10:57 +02:00
parent ec40e164b8
commit 5f07ec3662
5 changed files with 12 additions and 2 deletions
@@ -706,7 +706,7 @@ public class VariableMarker implements SyntaxComponent, CaretListener, PropertyC
tim.cancel();
tim = null;
}
if (e.getKeyChar() == '.') {
if (e.getKeyChar() == '.' && com.jpexs.decompiler.flash.configuration.Configuration.showCodeCompletionOnDot.get()) {
if (!editor.isEditable()) {
return;
}
@@ -622,4 +622,7 @@ config.description.snapAlignCenterAlignmentVertical = Enables snap align of obje
#after 23.0.1
config.name.warning.linkTypes = Show warning when clicking external file link
config.name.warning.linkTypes = Warn on clicking a link in the script editor which leads to another SWF file.
config.description.warning.linkTypes = Warn on clicking a link in the script editor which leads to another SWF file.
config.name.showCodeCompletionOnDot = Show code completion on dot(.) key
config.description.showCodeCompletionOnDot = Automatically show code completion window on pressing dot(.) key. When disabled, it can be shown with Ctrl+space key.
@@ -624,3 +624,5 @@ config.description.snapAlignCenterAlignmentVertical = Povol\u00ed p\u0159ichycen
config.name.warning.linkTypes = Varovat p\u0159i kliknut\u00ed na link na extern\u00ed soubor
config.description.warning.linkTypes = Zobrazovat varov\u00e1n\u00ed p\u0159i kliknut\u00ed na odkaz v editoru skript\u016f, kter\u00fd vede do jin\u00e9ho SWF souboru.
config.name.showCodeCompletionOnDot = Zobrazit dokon\u010dov\u00e1n\u00ed k\u00f3du po kl\u00e1vese te\u010dka(.)
config.description.showCodeCompletionOnDot = Automaticky zobraz\u00ed okno dokon\u010dov\u00e1n\u00ed k\u00f3du po stisku kl\u00e1vesy te\u010dka(.). P\u0159i zak\u00e1z\u00e1n\u00ed se d\u00e1 dokon\u010dov\u00e1n\u00ed k\u00f3du vyvolat pomoc\u00ed Ctrl+mezera.