Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Fails to show all file symbols when multiple symbols exists on a single line #239

Open
jasonrudolph opened this issue Jan 24, 2018 · 0 comments

Comments

@jasonrudolph
Copy link
Contributor

Description

When a file has multiple symbols present on a single line (e.g., multiple JavaScript functions on one line), symbols-view only shows one of those symbols.

screen shot 2018-01-24 at 09 18 43 am

Steps to Reproduce

  1. Create a file named example.js with the following content:

    function foo() {}; function bar() {}; function baz() {};
    
    function quux() {};
  2. Open the file in Atom

  3. Open the command palette and choose "Symbols View: Toggle File Symbols" (or hit command+r on macOS)

Expected behavior: Symbols shown for foo, bar, baz, and quux

Actual behavior: Symbols only shown for bar and quux

Reproduces how often: 100%

Versions

macOS 10.13.2

$ atom --version
Atom    : 1.25.0-dev-c98489731
Electron: 1.7.10
Chrome  : 58.0.3029.110
Node    : 7.9.0

$ apm --version
apm  1.19.0
npm  3.10.10
node 6.9.5 x64
atom 1.25.0-dev-c98489731
python 2.7.10
git 2.16.1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants