Skip to content

Commit

Permalink
Properly prefix path coming from IDE
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Mäder <tmader@redhat.com>
  • Loading branch information
tsmaeder committed Sep 1, 2017
1 parent 4564c1a commit bd3a15c
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -10,6 +10,7 @@
*/
package org.eclipse.che.api.languageserver.service;

import static org.eclipse.che.api.languageserver.service.LanguageServiceUtils.prefixURI;
import static org.eclipse.che.api.languageserver.service.LanguageServiceUtils.removePrefixUri;
import static org.eclipse.che.api.languageserver.service.LanguageServiceUtils.truish;

Expand Down Expand Up @@ -63,7 +64,7 @@ public List<? extends SymbolInformationDto> symbol(
List<SymbolInformationDto> result = new ArrayList<>();
List<InitializedLanguageServer> servers =
registry
.getApplicableLanguageServers(workspaceSymbolParams.getFileUri())
.getApplicableLanguageServers(prefixURI(workspaceSymbolParams.getFileUri()))
.stream()
.flatMap(Collection::stream)
.collect(Collectors.toList());
Expand Down

0 comments on commit bd3a15c

Please sign in to comment.