-
Notifications
You must be signed in to change notification settings - Fork 93
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
Basic autocompletion not working? #74
Comments
Can you please give a complete snippet with cursor position where completion is not working? |
If I have something like below, and my cursor is at the end and I press <?php
$test = 'yo';
$yo = subst[cursor position] Is this what you were requesting?? |
Okay, I actually got it (somehow) working. It does not work when I write Like so <?php
namespace Something;
Class Something
{
public function someMethod()
{
// some logic
// does not prompt an autocomplete automatically by waiting.
// CMD+Space prompts an empty autocomplete with "Loading..." that does not go away.
subst[cursor pointer]
// some logic
}
} If however, I do an empty file in the same project like this: <?php And then type (with Developer Tools open) <?php
subst[cursor position] The Developer Tools will start dumping a lot of stuff and then after some seconds show the autocomplete menu with the correct entries. Below is a dump the developer tools output (this entire output occurred upon entering
However, the menu is extremely slow to appear (about 7s). And if I do CMD+Space it takes about 13s. |
Given your comment, I assume that "basic autocompletion" is actually working. |
Hi.
I have been trying to install your plugin but I cannot seem to get it to work.
I turned off
php.suggest.basic
, however I cannot seem to get autocomplete to work at all now? See the image below.The output tab shows that the server booted and indexed all my files I guess. See below.
The Developer Tools tab give me no indication why it is not working.
Stuff like Find All References also turn up no result. Not sure if this feature is simply not supported or what? Find All References does work for classes.
I have tried various things, running the
composer run-script --working-dir=vendor/felixfbecker/language-server parse-stubs
directly from the installed extensions folder. I am wondering I have missed some obvious installation instruction or something?I am using VS Code 1.9.1 and I am on OSX
The text was updated successfully, but these errors were encountered: