Giter Club home page Giter Club logo

Comments (5)

robofearth avatar robofearth commented on June 20, 2024

Same issue, if a symbol is within another symbol, e.g. JavaScript functions that are wrapped within anonymous functions, only the parent anonymous function is detected/shown.

from vscode-scope-bar.

robofearth avatar robofearth commented on June 20, 2024

Perhaps it could have an option to show innermost symbol?

from vscode-scope-bar.

amos402 avatar amos402 commented on June 20, 2024

default
You mean like this? But the anonymous function does not have a symbol name in fact, it's hard to navigate to the function.

from vscode-scope-bar.

robofearth avatar robofearth commented on June 20, 2024

That's true. I was thinking of a way to distinguish between a global wrapping anonymous function, like so:

screen shot 2018-10-11 at 9 31 08 pm

screen shot 2018-10-11 at 9 31 00 pm

from vscode-scope-bar.

robofearth avatar robofearth commented on June 20, 2024

An update on this. I found that VS Code has a similar feature built-in, but disabled by default:

image

When enabled, shows this:

image

Not sure if this works for anyone else, but solves the issue I was having using this extension. This issue can now be closed.

Edit: Typos

from vscode-scope-bar.

Related Issues (14)

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.