Giter Club home page Giter Club logo

nuls's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

yakiyo

nuls's Issues

incorporate language server directly in the upstream `nu` executable

  • we should explore this first, as it might not be worth the trade-offs
  • this will make it easier to distribute the language server (as it will literally be in the same file that everyone is already downloading/compiling)
  • this would make the one nu executable larger/slower, but how much larger/slower?
  • can we assume that most people running nu are also writing code in the nushell language, and therefore most nu users will benefit?

negotiate position encoding (UTF-8, UTF-16, etc) with client and handle outcome

  • Rust strings are UTF-8, and JavaScript strings are UTF-16
  • during initialisation, the client provides a list of compatible encodings, and the language server selects one and sends it back
  • we've currently hard-coded UTF-8, and https://github.com/nushell/vscode-nushell-lang likely depends on the LSP default which is UTF-16
  • we need to make sure that we support clients with either encoding, and that our text-traversing logic works in both cases

archived: LSP functionality is developed upstream

  • interested parties may follow new work elsewhere, per #8
  • the upstream PR is effectively glue-code between lsp-server and nu internals
  • this project (nuls) is effectively glue-code between tower-lsp and nu --ide-... processes
  • as such, most of the code in nuls fundamentally incompatible with the upstream work
  • as I'm running out of time to complete on this project, and the value of any further work is questionable (seeing how short-lived it would be), I'm archiving nuls in favour of the upstream PR (and follow-up PRs)

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.