Skip to content

Commit 69b7f29

Browse files
committed
Activate completion for template string literal
1 parent e0c6e25 commit 69b7f29

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

eclipse/jsdt/ts.eclipse.ide.jsdt.ui/src/ts/eclipse/ide/jsdt/internal/ui/editor/TypeScriptSourceViewerConfiguration.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) {
126126
IJavaScriptPartitions.JAVA_MULTI_LINE_COMMENT);
127127
assistant.setContentAssistProcessor(multiLineProcessor, IJavaScriptPartitions.JAVA_MULTI_LINE_COMMENT);
128128

129+
ContentAssistProcessor templateLiteralProcessor = new TypeScriptCompletionProcessor(getEditor(), assistant,
130+
IJavaScriptPartitions.JAVASCRIPT_TEMPLATE_LITERAL);
131+
assistant.setContentAssistProcessor(templateLiteralProcessor,
132+
IJavaScriptPartitions.JAVASCRIPT_TEMPLATE_LITERAL);
133+
129134
ContentAssistProcessor jsxProcessor = new TypeScriptCompletionProcessor(getEditor(), assistant,
130135
IJSXPartitions.JSX);
131136
assistant.setContentAssistProcessor(jsxProcessor, IJSXPartitions.JSX);

0 commit comments

Comments
 (0)