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

(GH-70) Changed to use relative paths to language server #120

Merged
merged 1 commit into from
Feb 26, 2019
Merged

(GH-70) Changed to use relative paths to language server #120

merged 1 commit into from
Feb 26, 2019

Conversation

AdmiringWorm
Copy link
Member

@AdmiringWorm AdmiringWorm commented Feb 26, 2019

Description

This PR changes the way that detection of the Language Server dll is used.
With this change, the path doesn't need to be changed for every new contributor of the extension (only needs to be built).
As a benefit, it's easy to change up which paths that will be checked as well.

Related Issue

Relates to #70

Motivation and Context

Motiviation was to not needing to change the path for every time I needed to test the Language Server

How Has This Been Tested?

Locally

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue) Perhaps?
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Additional notes

This is not original code, and all credits should go to the developer of the following example repo: https://github.com/CXuesong/LanguageServer.NET (Licensed under Apache 2.0)

This commit also adds the code to
iterate through an array of paths
to check for the expected Language
Server.
Copy link
Member

@mkevenaar mkevenaar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@gep13 gep13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gep13 gep13 merged commit bf6335e into chocolatey-community:develop Feb 26, 2019
@gep13
Copy link
Member

gep13 commented Feb 26, 2019

@AdmiringWorm your changes have been merged, thanks for your contribution 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants