vscode-intelephense icon indicating copy to clipboard operation
vscode-intelephense copied to clipboard

New Intelephense installation | Find all references is not finding in different files | Go to definition not working

Open TheLEAX opened this issue 2 years ago • 2 comments

Describe the bug Hi, sry for the newbie q Ive found this extension, bought the premium, activated it. Set the basic instructions.

But Find all references is not working anywhere. F12 Go to definition doesn't work either. Rename symbol thus working only in opened file.

I disabled all extensions, restarted VS Code and still no luck. Ive read this issue https://github.com/bmewburn/vscode-intelephense/issues/1518 no luck.

Intelephense › Environment: Short Open Tag - disabled

Tried downgrading and updating, but no luck.

Errors none / No definition found.

To Reproduce

VS Code - Opened folder "test" with simple files:

config.php

<?php
//global $site_url;  -- **Found out this brakes the F12**
$site_url = 'http://localhost/todoapp';

index.php

<?php
include("config.php");
echo "$site_url/delete.php";

Expected behavior Find all references in index.php on $site_url should find it in config.php too. F12 Go to definition in index.php on $site_url should find it in config.php. Rename symbol thus working only in opened file.

Screenshots If applicable, add screenshots to help explain your problem.

Platform and version PHP Intelephense v1.8.2 VS Code Version: 1.73.1 OS: Windows x64 10 Intel Laragon PHP 8.1.10

Thank you in advance for any replies ;)

TheLEAX avatar Nov 22 '22 12:11 TheLEAX

Any news about this report? I'm interested on premium function to find all references into all workspace that contain many files and folders.

Does it works?

ottopic avatar Feb 14 '23 10:02 ottopic

VS Code ran an update this morning and now nothing associated with Intelephense is working for me. I tried disabling and reenabling Intelephense; no joy

VS Code Version: 1.86.0 Commit: 05047486b6df5eb8d44b2ecd70ea3bdf775fd937 Date: 2024-01-31T10:27:46.147Z Electron: 27.2.3 ElectronBuildId: 26495564 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Linux x64 5.4.0-170-generic snap

Intelephense Name: PHP Intelephense Id: bmewburn.vscode-intelephense-client Description: PHP code intelligence for Visual Studio Code Version: 1.10.2 Publisher: Ben Mewburn VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client

Troubleshooting Steps Taken

  1. Disabled PHP Language Features.

jbnv avatar Feb 02 '24 14:02 jbnv