-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Command 'journal.memo' not found At the every FIRST time of VS Code opening session. #35
Comments
Yes, I'm aware of this issue, it's kind of annoying. The extension activation is triggered by the first use of one of its commands. The alternative would be to activate it on startup of vscode, which I tried to avoid (to not influence the startup times of the whole application). I'll check if there's a workaround for this. |
See also microsoft/vscode#34913 |
Ok, I don't see a workaround for this. Startup times for the journal extension is (on my computer) around ~15 ms, that shouldn't be the problem. But VSCode is lazily loading. Certain components like the editor are loaded much faster then the extension host (which activates the journal). There seems to be 1-2 seconds gap in which the commands are not accessible and you get the error message "command not found" If your problem is not related to startup (meaning you wait a couple of seconds and you still get the error), then I am not able to reproduce. I did some improvements for the logging, will be publishing in the next few days. |
Even long time after start up the VS Code, the error still thrown in my case. How can I help you to be more specific to the cause of problem? I will collect the information you need and reply later. |
Hmm, can you send me the output for "Log (Extension Host)"? |
Nothing come out on the "OUTPUT" console for "Log (Extension Host)" A little thing has changed, due to the latest update this morning, so I updated VS Code to version Here's the link to view my screen shot after I reproduce to the "Step" I declared before. Is there has another place to collect the log to specify the problem? I will find out and update to you. |
This is strange, might be linked to a crashed extension host. Are commands of other extensions available? Can you please post the logs of the Developer Tools (Help -> Toggle Developer Tools)? |
Sorry for late reply, here's what you ask. Startup
Call >> Quick Memo(After wait around 40 minutes)
After call the command again
|
Info
Windows OS 10 Pro 64 bits
VS Code 1.24.1
Journal v 0.6.0
Issue Details
Journal: Quick Memo
always throws exception and VS Code notify with messageCommand 'journal.memo' not found
every first time I open VS Code, and then when I call command again, command will work properly by asking me to name a note.Steps
memo
, then find theJournal: Quick Memo
and then press EnterCommand 'journal.memo' not found
Expected Behavior
Custom Settings
"journal.base": "C:/ext/Natta/.vscode/journal",
The text was updated successfully, but these errors were encountered: