Esempio n. 1
0
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)

        if sublime.platform() in ("osx", "linux"):
            self.cmd_line = ("mono", (const.path_to_fs_ac_binary(),))
        else:
            assert sublime.platform() == "windows"
            self.cmd_line = (const.path_to_fs_ac_binary(), ())
Esempio n. 2
0
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)

        if sublime.platform() in ('osx', 'linux'):
            self.cmd_line = ('mono', (const.path_to_fs_ac_binary(), ))
        else:
            assert sublime.platform() == 'windows'
            self.cmd_line = (const.path_to_fs_ac_binary(), ())
Esempio n. 3
0
def get_server():
    global _server
    if _server is None or not _server.proc.stdin:
        if sublime.platform() in ('osx', 'linux'):
            _server = Server('mono', const.path_to_fs_ac_binary())
        else:
            assert sublime.platform() == 'windows'
            _server = Server(const.path_to_fs_ac_binary())
        _server.start()
        pass
    return _server
Esempio n. 4
0
 def check_binaries():
     print('FSharp: Checking installed files')
     return os.path.exists(const.path_to_fs_ac_binary())
Esempio n. 5
0
 def check_binaries():
     print('FSharp: Checking installed files')
     return os.path.exists(const.path_to_fs_ac_binary())