Skip to content
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

Missing functionality #535

Closed
Alex-Dinu opened this issue Jul 26, 2018 · 6 comments
Closed

Missing functionality #535

Alex-Dinu opened this issue Jul 26, 2018 · 6 comments

Comments

@Alex-Dinu
Copy link

Alex-Dinu commented Jul 26, 2018

Summary

I installed the extensions, I don't get the features documented in Apex Code Editor for Visual Studio Code extension:

  1. View Code Completion
  2. Code snippets
  3. View\jump definitions
  4. Find all references

Is this because we don't implement DX yet? I would assume that this would work for any .cls file.

Steps To Reproduce:

  1. Clicked CTL or right click to peek definition.

Expected result

The definition coming up.

Actual result

Apex options not listed.
image

Additional information

Feel free to attach a screenshot.

VS Code Version: 1.25.1

SFDX CLI Version: 43.8.0

OS and version: Windows 10

@Alex-Dinu
Copy link
Author

I installed the latest JDK, added it to the environment variables and updated the settings, yet I still can't get the peek , for example, to show up. Here are the settings I updated:

"salesforcedx-vscode-apex.java.home": "C:\Program Files (x86)\Java\jdk1.8.0_172"

@vazexqi
Copy link
Contributor

vazexqi commented Jul 27, 2018

@ad1969 - This is likely a dupe of #123. Do you have a sfdx-project.json? If not, then none of the features will activate.

@Alex-Dinu
Copy link
Author

Could be. Can you please provide me a location I can look at a sfdx-project.json file? Dreamhouse is mentioned, but not sure what it is.

Thanks
Alex

@Alex-Dinu
Copy link
Author

Never mind. Got it in github.

@Alex-Dinu
Copy link
Author

I'm now getting the features. Thank you very much.

Do you know if possible, I can get these extensions to work with sandboxes directly?

@vazexqi
Copy link
Contributor

vazexqi commented Jul 30, 2018

@ad1969 - We are working on it right now. Those features are still behind a pref and require the latest unpublished version of the Salesforce CLI.

If you are curious, you can take a look at

#523
#531

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants