Comments (6)
这个应该需要语法分析
如果当前的是变量 就得找函数
如果当前的是函数 就得找他的返回值 及封装函数
你最好给点示例代码
from symbol-overlay.
Did you try (symbol-overlay-mode 1)
?
I think the REAME should be updated.
from symbol-overlay.
Yes, it won't highlight the symbol under point if it's the only symbol.
from symbol-overlay.
I'm curious about why you find this behaviour helpful in highlight-symbol
. Could you say more please?
I've never personally noticed this behaviour being confusing, and it gives me a visual clue that there is no match for the current symbol, which is actually helpful.
You can always actively highlight the current symbol using symbol-overlay-put
, which works regardless of the number of occurrences.
from symbol-overlay.
Could you say more please?
Definitely! One thing I like about the highlight is that a lot of functions/utility can/may operate on the current symbol (e.g. ag-at-point/rg-at-point/etc) so it's nice to know exactly what I'll be searching for before I do the search. (Sometimes the symbol boundaries don't line up exactly with what I'd want to search so it's nice to know beforehand.)
and it gives me a visual clue that there is no match for the current symbol, which is actually helpful.
I think with the default for symbol-overlay, it's only if symbols are in view, right? You can change the setting I guess but those two together makes it a little awkward.
from symbol-overlay.
Fixed by the merging of #67, thanks @sadboy
from symbol-overlay.
Related Issues (20)
- Is it possible to use more than 8 colors? HOT 7
- Overlay on selection HOT 4
- symbol-overlay-rename not works in wgrep buffer
- Activating overlays in a transient manner HOT 3
- args-out-of-range error HOT 15
- A symbol-overlay-jump-avy function for the symbol-overlay-map HOT 7
- Tag a new release HOT 1
- Support not putting boundaries on match HOT 2
- Support other search tools, like `swiper-isearch-thing-at-point` HOT 3
- void-variable clojure-font-lock-extra-keywords HOT 7
- Symbol-overlay conflicts with haskell-mode HOT 4
- Request: Add case insensitive
- `symbol-overlay-list-all`
- Overlay conflicts with eglot HOT 4
- Adding package to NonGNU ELPA HOT 2
- Evil implementation? HOT 1
- 11749c3 breaks things HOT 6
- Cannot be used with yasnippet
- SO didn't recognize sharp quote(function quote), is this made by design or a bug?
- Jumping to next symbol (switch-forward) skips to last on screen 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 symbol-overlay.