-
-
Notifications
You must be signed in to change notification settings - Fork 109
Description
Hello,
I am a Premium user experiencing critical failures with Intelephense on macOS (Apple Silicon M1 Max). I have spent hours troubleshooting this with a clean environment, and the extension is currently unusable for navigation.
The Issues:
Broken Path Resolution (Main Issue): Navigation via include/require or Cmd+Click on filenames fails completely, regardless of project location.
I am using standard definitions like define('ROOT', DIR) or const ROOT = DIR.
The extension identifies the ROOT constant but fails to resolve the concatenated path (e.g., include ROOT . '/file.php').
Result: I cannot navigate my project. I was forced to install a third-party extension ("PHP File Link" by pwarchol) just to get basic file linking working. A Premium PHP extension should handle this natively.
Inconsistent Indexing (Dropbox vs Desktop):
On Dropbox (File Provider API): The indexer aborts after ~1 second, finding only ~2000 files out of 5000. It seems unable to read files correctly via the macOS File Provider.
On Desktop (Local SSD): The indexer finds all ~5000 files, BUT still finishes suspiciously fast (2-3 seconds) and fails to provide path navigation as described in Issue #1.
Environment:
Hardware: Mac Studio M1 Max / MacBook Pro M1 Pro
OS: macOS Sequoia
Editor: VS Code (Antigravity build)
Troubleshooting tried:
Full reinstall of extension.
Cleared workspaceStorage cache multiple times.
Tested intelephense.environment.includePaths with various configs (., ${workspaceFolder}).
Changed intelephense.runtime to system Node (v24).
Conclusion: The extension seems fundamentally broken on this architecture regarding path parsing and file system access. I should not need to rely on 3rd party regex-based plugins to open files in a paid PHP extension.
Please investigate path resolution logic on Apple Silicon.