Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was 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

@jasonrudolph

Description

@jasonrudolph

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions