Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking reference did not work #1

Closed
Avol-V opened this issue Aug 18, 2017 · 3 comments
Closed

Clicking reference did not work #1

Avol-V opened this issue Aug 18, 2017 · 3 comments

Comments

@Avol-V
Copy link

Avol-V commented Aug 18, 2017

Clicks just place cursor and do nothing.

My settings is:

"funcList.nativeFilter": "/(?:^|\\s)function\\s+\\w+\\(/mg",
"funcList.displayFilter": "/\\s*function\\s+(\\w+)/1",

Tested on ts and php files.

@qrti
Copy link
Owner

qrti commented Aug 31, 2017

The given native filter regexp generates leading carriage returns, funcList wasn't prepared for this, and therefore could not find references because they are evaluated line by line. Should be fixed with version 0.6.1.

In a first attempt I couldn't reproduce the issue, strange enough all worked well on single opened files and only on opened (project) folders the problem appeared.

@qrti qrti closed this as completed Sep 23, 2017
@Avol-V
Copy link
Author

Avol-V commented Sep 25, 2017

But it’s still did not work, even for single opened file.

@piotrku
Copy link

piotrku commented Sep 29, 2017

doesn't work for me too - using version 7.0.0

tested on a PHP file with:
"funcList.nativeFilter": "/(?:^|\s)function\s+\w+\(/mg"

functions are found but clicking on them does nothing

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

No branches or pull requests

3 participants