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

Issues #178 and #174 . "Symbol not found" due to 1) issue with escape char in tag 2) default ctags missing ES2015-style function definition #179

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

dperetti
Copy link

@dperetti dperetti commented Jun 6, 2016

Not just leading and trailing regex chars must be removed. Ex: /^
myFunction() { // a comment $/
Fixes : #178

Make default ctags file more ES2015 friendly.
Fixes #174

Not just leading and trailing regex chars must be removed. Ex:  /^
myFunction() { \/\/ a comment $/
Fix for fat arrow functions and declarations starting with ‘const’.
@dperetti dperetti changed the title Also remove escape char from tag before search Issues #178 and #174 . "Symbol not found" due to 1) issue with escape char in tag 2) default ctags missing ES2015-style function definition Jun 6, 2016
The bundled ctags binary is configured to search for javascript
“properties”, yielding bogus results. Fixes
atom#180 .
Add static properties to matching symbols, as they are usually quite
important.
Again, ctags defaults yield bogus results in javascript.
Disabling default “function” type for tag search, as the regex provided
in ctags-config do the job better.
Fixes atom#166
@dperetti
Copy link
Author

dperetti commented Jun 6, 2016

Hmm ok if we disable ctags default function search for javascript we get this :
screen shot 2016-06-06 at 16 04 10

... instead of this ...

screen shot 2016-06-06 at 16 02 47

... and the test doesn't pass.

But if we keep using it we have more important issues (bogus results).

Any thought ?

@Servinjesus1
Copy link

Any updates on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Trailing comments mess things up sometimes No Symbols Found using ES2015 const and => for functions
3 participants