Comments (9)
Actually, I guess that at least the two first commands can be extracted from PR #120 .
from tuareg.
The first two are provided by beginning-of-defun
(with argument -1
and 1
respectively). For the remaining 4, please provide a description of what they are supposed to do.
from tuareg.
@Chris00 I wouldn't prioritize implementing such navigation commands in elisp by the way. These navigation commands are far simpler to implement correctly in merlin. Let's just ask @Khady or @andreypopp to confirm.
from tuareg.
As far as I’m aware there’s no LSP methods for that kind of functionality. But yeah — I think we should provide extensions to LSP which makes implementing those features in editors simple.
from tuareg.
To indent the code or evaluate “phrases”, Tuareg should already somewhat understand the code structure. So maybe these commands are not hard to provide on top of this.
from tuareg.
Merlin already has support for some of those navigation functions btw.
from tuareg.
@Khady Good to know. May you let us know what are the names of the functions? Are they bound to some keys?
from tuareg.
from tuareg.
Thanks. I indeed saw merlin-phrase-next
and merlin-phrase-prev
(bound to C-cC-n and C-cC-p). Do you know about other movements?
from tuareg.
Related Issues (20)
- Indentation broken? HOT 4
- "Mismatched parentheses" when closing comment HOT 1
- Un-git `tuareg-site-file.el` HOT 4
- Unbind `C-c ?` and `C-c C-h` (maybe) HOT 22
- Can't run Ocaml REPL HOT 3
- Find alternate file doesn't seem to care about tuareg-other-file-alist HOT 1
- Possible bug : missing file tuareg-compat HOT 3
- 3.0 version not tagged HOT 8
- Package cl is deprecated HOT 2
- Tuareg depends on emacs-nox HOT 3
- Triggers warning for using obsolete aliases on Emacs HOT 5
- Target newer Emacs version HOT 8
- outline mode
- Document the differences between tuareg and caml-mode HOT 5
- Completion in the *OCaml* buffer HOT 3
- tuareg.3.0.0 fails to load in emacs on macOS when installed using opam HOT 1
- How does one jump to definition? HOT 3
- Add configuration option(s?) to make highlighting behave closer to what it was like in 2.2 . HOT 2
- Use tree-sitter HOT 1
- tuareg-current-fun-name returns inaccurate results, breaking which-function-mode
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 tuareg.