Skip to content

Request referenced files from the client instead of attempting to load from the language service #187

Open

Description

@daviwil

Currently any files that are referenced from an edited script (i.e. dot-source references) are being resolved and loaded by the language service. Since we want to target remote editing scenarios (language service running in a web service), we need to shift the file resolution responsibility to the client so that it can resolve files with respect to its own workspace.

This will require the introduction of new protocol request/response types which allow the server to request files from the client. The core PSES API will handle this behavior through an interface so that file resolver implementations can be chosen at runtime.

This bug in vscode-powershell should benefit from the improvement: PowerShell/vscode-powershell#31

Activity

  1. added
    Issue-Enhancement
    on Mar 10, 2016
  2. added this to the 0.6.0 milestone on Mar 10, 2016
  3. modified the milestones: 0.7.0, on Sep 2, 2016
  4. removed this from the milestone on Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions