-
Notifications
You must be signed in to change notification settings - Fork 407
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
Apex Code Editor Extension stopped working #583
Comments
@ad1969 - Could you do "If you've checked all of the above and nothing is working, check for errors in VS Code itself. In the VS Code menu bar, select Help > Toggle Developer Tools, click Console, and search for relevant messages." from https://github.com/forcedotcom/salesforcedx-vscode/wiki/Apex-Language-Server#is-the-apex-language-server-active I want to see the errors. |
@ad1969 - Could you show me the output of typing Sorry, I'm traveling and don't have my windows laptop with me. I don't know if this issue is specific to Windows where you need to reboot/restart to get the environment variables to be picked up. |
I appreciate the quick responses taking into account that you are traveling. I re-started my computer before submitting the issue. Anyway, here is the process.env: I guess what you are looking for is: JAVA_HOME: "C:\Program Files\Java\jdk1.8.0_172"
|
@ntotten - Thanks. Could you please explain what it means? We're in the middle to researching, training and preparing for new developments and need to understand what this bug is and how long will it take to resolve since this is an integral part of our plan. |
Final update: I re-installed the CLI, all extensions and started CS Code as admin - now it works. Not sure for how long.... |
@frigger - I suspect your case is a different issue. None of the extensions are firing for you, not just the Apex one. I'm saying that because a typical output should also contain "Salesforce CLI" and "Salesforce SLDS Language Server". This bug is tracking the fact that the Apex extensions started but encountered an error. Please open a separate issue so that we can ask for more information there. You might also try Troubleshooting Common Issues |
This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance. |
Summary
I had this working with your help from a previous Issue(535)
But for some reason it stopped working. Not sure if the following affected this:
I
I also have the sfdx-project file in the root:
Expected result
See some additional menu items such as F12, etc...
Actual result
This is what I see:
I'm also not seeing any Apex items in the output list:
Additional information
Feel free to attach a screenshot.
VS Code Version: 1.26.0
OS and version: Windows 10
Thank you
Alex
The text was updated successfully, but these errors were encountered: