src/Tools/VSCode/src/server.scala
changeset 64755 ceb81f4928ea
parent 64748 155bf8632104
child 64767 f5c4ffdb1124
equal deleted inserted replaced
64754:74d8793feceb 64755:ceb81f4928ea
    50     -o OPTION    override Isabelle system OPTION (via NAME=VAL or NAME)
    50     -o OPTION    override Isabelle system OPTION (via NAME=VAL or NAME)
    51     -s           system build mode for session image
    51     -s           system build mode for session image
    52 
    52 
    53   Run the VSCode Language Server protocol (JSON RPC) over stdin/stdout.
    53   Run the VSCode Language Server protocol (JSON RPC) over stdin/stdout.
    54 """,
    54 """,
    55         "L:" -> (arg => log_file = Some(Path.explode(arg))),
    55         "L:" -> (arg => log_file = Some(Path.explode(File.standard_path(arg)))),
    56         "T:" -> (arg => Text.Length.encoding(arg)),
    56         "T:" -> (arg => Text.Length.encoding(arg)),
    57         "d:" -> (arg => dirs = dirs ::: List(Path.explode(arg))),
    57         "d:" -> (arg => dirs = dirs ::: List(Path.explode(File.standard_path(arg)))),
    58         "l:" -> (arg => logic = arg),
    58         "l:" -> (arg => logic = arg),
    59         "m:" -> (arg => modes = arg :: modes),
    59         "m:" -> (arg => modes = arg :: modes),
    60         "o:" -> (arg => options = options + arg),
    60         "o:" -> (arg => options = options + arg),
    61         "s" -> (_ => system_mode = true))
    61         "s" -> (_ => system_mode = true))
    62 
    62