alibaba / alibaba/structure-view

"No tag in this file." display when JS code wrapped in iife

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
35
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Moving the code out of an iife, shows all symbols in the pane.
![screen shot 2017-12-14 at 11 17 17 am](https://user-images.githubusercontent.com/657518/34002371-6e38cd9c-e0c0-11e7-914b-5f88afea0f7b.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in Atom with JavaScript code wrapped in an IIFE, then compare the structure pane with the same code moved outside the IIFE. Trace the symbol detection path to determine why the wrapped code produces “No tag in this file”; done means the pane displays the symbols in both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.