Code Monkey home page Code Monkey logo

Comments (6)

ChongQing520 avatar ChongQing520 commented on July 18, 2024 1

这个应该需要语法分析

如果当前的是变量 就得找函数

如果当前的是函数 就得找他的返回值 及封装函数

你最好给点示例代码

from symbol-overlay.

seagle0128 avatar seagle0128 commented on July 18, 2024

Did you try (symbol-overlay-mode 1)?
I think the REAME should be updated.

from symbol-overlay.

jojojames avatar jojojames commented on July 18, 2024

Yes, it won't highlight the symbol under point if it's the only symbol.

from symbol-overlay.

purcell avatar purcell commented on July 18, 2024

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.

jojojames avatar jojojames commented on July 18, 2024

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.

purcell avatar purcell commented on July 18, 2024

Fixed by the merging of #67, thanks @sadboy

from symbol-overlay.

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.