Details in the link of the headline.

  • TheCee@programming.devOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Clients (IDEs) would connect to this server and send requests on the files being edited, which could be in the same language as the interpreter runs.

    Do you know if it is possible for the server side to start the interaction? Or, when in doubt, an external application to pick the server instance?

    • armchair_progamer@programming.devM
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      You can see here for info on VS Code’s DAP integration, and here for neovim. I think the IDE connects to the server when it loads a file of the server’s registered type. However in theory you can always have the server start the IDE (or connect to a running IDE process) and then make the IDE connect (by calling a function or opening a file and triggering whatever else is necessary).