Coder Social home page Coder Social logo

Comments (7)

chrissimon-au avatar chrissimon-au commented on July 30, 2024

Noting that the config value defined in the vscode extension is currently used by the initialise command to know where to deposit the default file. Suggest using this as an opportunity to move the initialize handling to a custom lsp command handled in the language server, so it can be leveraged by other implementations as well.

from contextive.

chrissimon-au avatar chrissimon-au commented on July 30, 2024

We have switched to using the language server custom contextive/initialize command now, but kept the default value in the contextive vscode extension package.json for two reasons:

  1. keeping the default value allows vscode to show the default value in the settings editor, which is clearer UX
  2. when the default value is null, the omnisharp library fails to retrieve the settings

Since we now have the default contextive.path value defined in two places (vscode extension and language server), the e2e test of the vscode extension acts as a guard against the default value changing, and the error message marks that it should match the default defined in the server.

from contextive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.