Ejemplo n.º 1
0
 def __init__(self, resp_proc):
     _logger.info("starting fsac server...")
     self.fsac = FsacClient(server.start(), resp_proc)
     self.compilers_path = None
     self.project_file = None
     self.fsac.send_request(CompilerLocationRequest())
     response_processor.add_listener(ON_COMPILER_PATH_AVAILABLE, self.on_compiler_path_available)
Ejemplo n.º 2
0
 def __init__(self, resp_proc):
     _logger.info('starting fsac server...')
     self.fsac = FsacClient(server.start(), resp_proc)
     self.compilers_path = None
     self.project_file = None
     self.fsac.send_request(CompilerLocationRequest())
     response_processor.add_listener(ON_COMPILER_PATH_AVAILABLE,
                                     self.on_compiler_path_available)
    def __init__(self, resp_proc):
        _logger.info ('Starting F# language services...')

        self.fsac = FsacClient(server.start(), resp_proc)

        self.compilers_path = None
        self.project_file = None

        self._errors = []

        self.fsac.send_request(CompilerLocationRequest())
        # todo: register as decorator instead?
        response_processor.add_listener(ON_COMPILER_PATH_AVAILABLE,
                                        self.on_compiler_path_available)

        response_processor.add_listener(ON_ERRORS_AVAILABLE,
                                        self.on_errors_available)

        self._write_lock = threading.Lock()
Ejemplo n.º 4
0
    def __init__(self, resp_proc):
        _logger.info('Starting F# language services...')

        self.fsac = FsacClient(server.start(), resp_proc)

        self.compilers_path = None
        self.project_file = None

        self._errors = []
        self.errors_panel = FSharpErrorsPanel()

        self.fsac.send_request(CompilerLocationRequest())
        # todo: register as decorator instead?
        response_processor.add_listener(ON_COMPILER_PATH_AVAILABLE,
                                        self.on_compiler_path_available)

        response_processor.add_listener(ON_ERRORS_AVAILABLE,
                                        self.on_errors_available)

        self._write_lock = threading.Lock()
Ejemplo n.º 5
0
 def __init__(self, resp_proc):
     _logger.info ('starting fsac server...')
     self.fsac = FsacClient(server.start(), resp_proc)
     self.compilers_path = None
     self.project_file = None
     self.fsac.send_request (CompilerLocationRequest())