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.
Steps to Reproduce
Create a file named example.js with the following content:
function foo() {}; function bar() {}; function baz() {};
function quux() {};
Open the file in Atom
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
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.
Steps to Reproduce
Create a file named
example.js
with the following content:Open the file in Atom
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
, andquux
Actual behavior: Symbols only shown for
bar
andquux
Reproduces how often: 100%
Versions
macOS 10.13.2