-
Notifications
You must be signed in to change notification settings - Fork 41
No outline available #90
Comments
Hmmm so you have And what operating system are you running? |
As soon as I get the error again I'll post the console log Right now this what is in the console:
I'm using windows 10 |
Hmmm, do you happen to have anti-virus running on both computers? I remember someone mentioning in another issue that their anti-virus was interfering with some IDE functionality. |
On W7 I have avira, and nothing on W10 besides the default security like windows defender |
Can you turn on debugging with |
So this was after a package update as well? Can you also enable debugging by running this in devtools console and restarting Atom?
Then share the output of what you see when things stop working for you again. |
Can you try opening a .php file and see what extra messages are emitted? |
that log was with a file open. Even if I open another file the log does not generate new entries. |
Do you have the default language-php enabled? Or have you installed a third-party php grammar syntax? |
default. The only packages that I've installed are: |
The ide-php package hooks into the 'language-php' grammar activation event and should immediately emit log messages with If it isn't then I'm at a loss to explain why. |
I'm encountering the same under Win10, Atom 1.23.3; atom-ide-ui enabled along with the default language-php package and ide-php, ide-typescript. No visible logging when setting Anything else I can do to help test/debug the plugin startup? |
Note that handlers for other file types like .js DO spew log stuff, so it's something in the initialization I guess causing it to never initialize in the first place? |
Can you press ctrl-; (log scopes at cursor) from inside one of your php
files and paste the results here.
…On Fri, Jan 12, 2018 at 12:32 PM Brion Vibber ***@***.***> wrote:
Note that handlers for other file types like .js DO spew log stuff, so
it's something in the initialization I guess causing it to never initialize
in the first place?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#90 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAHQpzuE28_xw2GzeC1RsdtAI9kZ8taJks5tJ77hgaJpZM4RHGJJ>
.
|
ctrl-; while focused in a text editor does nothing for me -- there is no popup. Same in both PHP (no outline) and JS (has outline). |
So I'm not sure if this is right, but I notice that my ~/.atom/packages/ide-php contains only a "vendor" subdir, with no package.json or node_modules etc:
Could there have been a problem with the installation that caused missing files? Or is that expected? |
How did you install ide-php? It should be install via atom's settings > install package or using apm. I'm not sure how it would even appear in the atom packages list if the ide-php folder doesn't contain so much as a packages.json |
Via Atom's "install package" UI. After uninstalling and reinstalling it through the UI, suddenly it's working and the files are no longer missing. Yay! :) Not sure how that broken install or update happened... |
Oh interesting. If I run Could an upgrade while Atom was running have done the same?
|
So I tried a few variations just in case there was a super-easy fix with changing working directory:
Doesn't seem to help, there's still files held open as long as the server's running. Is there any way to get a notification to the running management JS when either Atom UI or apm CLI is about to update or deinstall a plugin? I can't find any obvious way from googling around, and I suspect it's not supported. Would it make sense to install the downloaded PHP server outside the package directory, maybe elsewhere under ~/.atom... then the JS code inside Atom could detect when it's necessary to update the vendor bits at runtime, before the server starts on a new run? This would allow Atom's UI or apm CLI to completely wipe/replace the package itself without running into any locked files. |
This just happened: right now the package was working fine, showing the outline for a php file opened via tree view from an opened project. But I opened a php file from another project by dragging it from file explorer and dropping it in atom, then the outline fails with this message:
No log output. |
Though I can reproduce this behavior I believe it's expected as explained by Damien here: atom/atom-languageclient#170 (comment) Since the file you dragged isn't part of the open project, no language server is started for that file. If you add the second project as a project folder however, then it should start working. |
If I have a working outline and I update the package, then the outline fail. I have to uninstall and re-install in order to get the outline working again. EDIT: I meant uninstall and re-install the package |
@mcanepa I will give it a try uninstalling/purging then reinstalling and see if it works, thanks. EDIT: That worked. Reinstalled Atom then atom-ide-ui then the ide addins. |
I'm using atom
1.23.1
and have php-ide0.7.4
installedWhat is happening to me is that sometimes the outline doesn't work. I get this message:
But obviously the package is installed. Disabling it and re enabling it does not work. I have to uninstall, close atom, open atom and install again.
I think this usually happens when I update the atom-ide-ui package but I'm not sure.
The text was updated successfully, but these errors were encountered: