Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSami Wagiaalla2013-06-10 20:50:52 +0000
committerCamilo Bernal2013-06-11 14:30:27 +0000
commit2aa4892cece1fc393f8bec3083a6303912d17f16 (patch)
treee93bc7d04e9bd55193fce21325774d79fa3d4d6c
parentb810685ae4d5ff9bc508ed6fe30536f10431cdda (diff)
downloadorg.eclipse.linuxtools-2.0.0.tar.gz
org.eclipse.linuxtools-2.0.0.tar.xz
org.eclipse.linuxtools-2.0.0.zip
systemtap: add '[' and ']' as delimitersv2.0.0
Fixes lack of completion proposals inside square brackets. This is a cherry-pick from master reviewed here: https://git.eclipse.org/r/13713 Change-Id: I4bcc5cac28e17ff223a5bc2ae972e75f2f2c31aa Reviewed-on: https://git.eclipse.org/r/13743 Tested-by: Hudson CI Reviewed-by: Camilo Bernal <cabernal@redhat.com> IP-Clean: Camilo Bernal <cabernal@redhat.com> Tested-by: Camilo Bernal <cabernal@redhat.com>
-rw-r--r--systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/editors/stp/STPCompletionProcessor.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/editors/stp/STPCompletionProcessor.java b/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/editors/stp/STPCompletionProcessor.java
index 50059749d4..f6e9d0c025 100644
--- a/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/editors/stp/STPCompletionProcessor.java
+++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/editors/stp/STPCompletionProcessor.java
@@ -382,6 +382,8 @@ public class STPCompletionProcessor implements IContentAssistProcessor, ITextHov
case ',':
case '{':
case '}':
+ case ']':
+ case '[':
return true;
}
return false;

Back to the top