alibaba / alibaba/structure-view
No support for async functions in Javascript?
- Dominant language
- JavaScript
- Stars
- 35
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
While structure view recognizes `const f = async () => {}` as a function, it doesn't appear to recognize `async function() { }`.
Is there a work-around?
Thanks.
/rr
structure-view: 0.2.1
Atom: 1.54.0
Electron: 6.1.12
Chrome: 76.0.3809.146
Node: v12.4.0
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue in structure-view 0.2.1 with both async function forms in an Atom environment matching the reported versions. Trace how JavaScript symbols are recognized and verify that the `async function() { }` form appears in the structure view without regressing the already recognized `const f = async () => {}` form.
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
- Needs clarification
- Newbie friendliness
- 25/100