Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for opening single files #195

Merged
merged 16 commits into from
Jul 19, 2021

Commits on Jun 27, 2021

  1. remove wrong comment

    lukaszsamson committed Jun 27, 2021
    Configuration menu
    Copy the full SHA
    29f4f8c View commit details
    Browse the repository at this point in the history
  2. extract client starting to function

    make it possible to start default client for single file
    lukaszsamson committed Jun 27, 2021
    Configuration menu
    Copy the full SHA
    23674ab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e02e104 View commit details
    Browse the repository at this point in the history
  4. do not start second client if vscode returns workspace folder for unt…

    …itled file
    
    this leads to broken behavior of 2 servers running with the same rootUri
    lukaszsamson committed Jun 27, 2021
    Configuration menu
    Copy the full SHA
    e1515d7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4ae47bd View commit details
    Browse the repository at this point in the history
  6. fix typespec

    lukaszsamson committed Jun 27, 2021
    Configuration menu
    Copy the full SHA
    60e730c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8348b8b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    de19cb6 View commit details
    Browse the repository at this point in the history
  9. rename

    lukaszsamson committed Jun 27, 2021
    Configuration menu
    Copy the full SHA
    75d0c24 View commit details
    Browse the repository at this point in the history
  10. workaround vscode quirks

    When starting a default client even if we do not pass a workspace folder to client options vs code will fall back to first workspace folder if any is open. This means that we cannot use default client for that case as it will result in 2 servers started for the same rootUri.
    We need to pass a permissive document filter that will match untitled files to the first workspace client. Otherwise language server features won't work for such files. We cannot pass them to all clients as in that case in multiworkspace cases all servers would be handling the same messages.
    On the other hand if no folder is open we have to use default client.
    lukaszsamson committed Jun 27, 2021
    Configuration menu
    Copy the full SHA
    5f4918d View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2021

  1. fix typo

    lukaszsamson committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    9f14d6c View commit details
    Browse the repository at this point in the history
  2. clarify comment

    lukaszsamson committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    f6dea82 View commit details
    Browse the repository at this point in the history
  3. clean up log messages

    lukaszsamson committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    a8522d8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9c90629 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3dec6bc View commit details
    Browse the repository at this point in the history
  6. add comments

    lukaszsamson committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    a2d9a97 View commit details
    Browse the repository at this point in the history