public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
        {
            var experimentationService = languageServices.WorkspaceServices.GetService <IExperimentationService>();

            return(new RoslynSyntaxClassificationService(_roslynLspClientServiceFactory, _remoteLanguageServiceWorkspace,
                                                         languageServices.GetOriginalLanguageService <ISyntaxClassificationService>(), _classificationTypeMap, experimentationService, _threadingContext));
        }
        public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
        {
            var originalService = languageServices.GetOriginalLanguageService <CompletionService>();

            return(new RoslynCompletionService(languageServices.WorkspaceServices.Workspace,
                                               originalService, StringConstants.VBLspLanguageName));
        }
Example #3
0
        public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
        {
            // Get the liveshare language service for ISyntaxClassificationService.
            var liveshareSyntaxClassificationService = languageServices.WorkspaceServices.GetLanguageServices(LiveShareContentType).GetService <ISyntaxClassificationService>();
            // Get the original language service for IClassificationService.
            var originalService = languageServices.GetOriginalLanguageService <IClassificationService>();

            return(new RoslynClassificationService(originalService, liveshareSyntaxClassificationService));
        }
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 {
     return(languageServices.GetOriginalLanguageService <ISyntaxTreeFactoryService>());
 }
Example #5
0
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 {
     return(new RoslynClassificationService(_roslynLspClientServiceFactory, languageServices.GetOriginalLanguageService <ISyntaxClassificationService>(), _classificationTypeMap, _threadingContext));
 }
Example #6
0
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 {
     return(languageServices.GetOriginalLanguageService <IClassificationService>());
 }
 public VBRemoteBreakpointService(HostLanguageServices languageServices)
 {
     this.originalService = languageServices.GetOriginalLanguageService <IBreakpointResolutionService>();
 }
Example #8
0
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 {
     return(languageServices.GetOriginalLanguageService <BlockStructureService>());
 }
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 => languageServices.GetOriginalLanguageService <ISyntaxFactsService>();
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 {
     return(languageServices.GetOriginalLanguageService <IDocumentationCommentFormattingService>());
 }
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 {
     return(languageServices.GetOriginalLanguageService <ICommentSelectionService>());
 }
Example #12
0
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 {
     return(languageServices.GetOriginalLanguageService <ISyntaxFormattingService>());
 }
Example #13
0
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 {
     return(languageServices.GetOriginalLanguageService <IDocumentDifferenceService>());
 }
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 => languageServices.GetOriginalLanguageService <IEditorFormattingService>();
Example #15
0
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 {
     return(languageServices.GetOriginalLanguageService <ISynchronousIndentationService>());
 }
Example #16
0
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 {
     return(languageServices.GetOriginalLanguageService <ILineSeparatorService>());
 }
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 {
     return(languageServices.GetOriginalLanguageService <IEditorBraceCompletionSessionFactory>());
 }
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 {
     return(languageServices.GetOriginalLanguageService <ICompilationFactoryService>());
 }
Example #19
0
 public ILanguageService CreateLanguageService(HostLanguageServices languageServices)
 => languageServices.GetOriginalLanguageService <IIndentationService>();