Comments (3)
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.
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.
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)
- Error "connection got disposed off" (but not on save as in #247 and #142 but on start/load) HOT 5
- Error starting reason-vscode "expected string", fix error message for invalid bsconfig.json HOT 1
- Options for ReasonML formatting?
- BSC.exe: Wrong Argument. -bs-jsx expects an integer HOT 4
- Incorrect problem matcher for ocaml >= 4.09
- Wrong module for "go to definition" HOT 3
- merlin error reporting can be excessive
- [Feature] Completion on labelled arguments
- Unable to run first ocaml "hello world" program.
- Double error/warning dislayed
- WSL: opam local switch environment
- What does this highlighting of a whole function mean?
- Ternary Operators are Highlighted as bool
- Restart Merlin? HOT 1
- Why is the highlighting for OCaml so weird?
- Node module errors preventing extension from working
- Autocomplete not working HOT 1
- OCaml: Incorrect syntax highligthing if identifier starts with let
- Request textDocument/formatting failed
- VS Code: we have marked your extension as deprecated HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-reasonml.