• Simon Zünd's avatar
    [torque-ls] Add prototype language server implementation for Torque · 9911fd13
    Simon Zünd authored
    Design Doc: https://goo.gl/9G9d9k
    
    The initial prototype consists of a few parts:
    
    The VS Code extension is now built using TypeScript. The build artifact
    is checked-in along side the extension. The extension now starts up
    the language server when it is activated. The path to the LS
    executable is configurable via VS Code settings.
    
    The language server is a separate executable. It adds a light-weight
    object model on top of a Json Parser for reading/writing LSP requests
    and responses. The current server is very much bare-bones featurewise:
        - Tell the client that the server can handle "goto definition"
        - Recompile when Torque files change
        - Goto definition support for Macros/Builtins, local variables
          and arguments.
    
    R=mathias@chromium.org, mvstanton@chromium.org, tebbi@chromium.org
    
    Bug: v8:8880
    Change-Id: Ie9b433e64ee63e9aa757b6bf71e5d52beb15b079
    Reviewed-on: https://chromium-review.googlesource.com/c/1494354Reviewed-by: 's avatarMichael Stanton <mvstanton@chromium.org>
    Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Reviewed-by: 's avatarMathias Bynens <mathias@chromium.org>
    Commit-Queue: Simon Zünd <szuend@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59960}
    9911fd13
tslint.json 192 Bytes