Comments (4)
I would expect there to be a standard way to rename occurrences from the occur-mode
but maybe I am wrong ?
@xvw do you use the standard merlin-mode
for Emacs ? Do you know if such a feature exists ?
Anyway if it doesn't exists natively we would welcome a PR adding support for renaming :-)
from merlin.
From my knowledge of occur
, you can only use regular expressions to match specific lines and I must confess I don't know how to use them at all (and I don't think it's possible to rename).
In general, when I want to rename an identifier, I use xref-find-references-and-replace
which uses merlin-occurences
to find the occurrences of the term to be replaced.
from merlin.
@xvw It seems xref-find-references-and-replace
can mitigate the issue. Strange it didn't worked until merlin-eldoc
package was installed.
from merlin.
Indeed, I use Doom-emacs with the OCaml layout that includes merlin-eldoc
. Interesting that it only works if eldoc
is installed. I'll investigate.
from merlin.
Related Issues (20)
- OCaml 5.1.1 support HOT 7
- Feature: jump to next/previous case HOT 1
- FLG -pp ppx.exe -as-pp does not work on Windows HOT 4
- Invalid arg from Marshal.from_bytes
- Fuzzy-CI should not include Stacktrace in diff generation
- `type-expression` crashes on function applications involving local types
- In 5.2 preview, destruct does not work on function parameter anymore
- Merlin emacs mode does not support project-wide occurrences HOT 1
- `complete-prefix` short-circuits too eagerly when deciding whether to return only record field names
- Implement Enhanced Hover Feature for PPXs in Merlin
- Jump to incorrect module HOT 2
- Make `complete-prefix` smarter about field projection expressions passed as `-prefix`
- string litteral with an extension node is wrongly marked as being unterminated HOT 3
- Hover of a mutually recursive type can cause a stack overflow HOT 4
- Can't go-to-definition in generated file HOT 13
- Incorrect module type from `type-enclosing` HOT 1
- Optional argument include by `case-analysis` HOT 1
- Failed to install merlin with opam with gcc14 HOT 1
- Merlin-lib: return the description of a warning based on its identifier HOT 1
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 merlin.