Coder Social home page Coder Social logo

Comments (3)

 avatar commented on August 20, 2024

I think it is possible to add this. I've experimented with a similar feature for Reason but I ended up not publishing it because there were reliability issues. I think the problems were specific to Merlin/Reason though so it would probably have been fine with plain OCaml.

As far as signifying where the cursor will jump to, we could probably do that too but I'm not sure that using the status bar for that is ideal. I'd rather try to have some sort of faint outline or similar decoration around the enclosing scope if possible. The problem with the status bar is that there's already a lot of contention with other extensions for space and stuff like that and the API for it just isn't all that flexible to begin with.

I'll take a look at getting something like this implemented in an upcoming release.

from vscode-reasonml.

Khady avatar Khady commented on August 20, 2024

If this is implemented, is it possible to put it in the language server so that all the editors using the language server benefit from this or it has to be in this extension? I don't know if the language server protocol is "extensible" to support such additions.

from vscode-reasonml.

 avatar commented on August 20, 2024

It is possible to implement on the server using custom RPC messages. This would be available to all clients, but they would still need to have some minimal support code to send the command and respond to the result.

from vscode-reasonml.

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.