-
Notifications
You must be signed in to change notification settings - Fork 25
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
Auto-completion doesn't work #87
Comments
Before you add If it does pass syntax check - can you extract this file into its own local project (i.e. remove all other files except the class where you get the error) and check if you get same error ? If you still get the error - it would be interesting to see what you file looks like. Perhaps you could try to reduce the file in question to bare minimum - remove everything you can while error still happens so you could share it here. Can you also share the content of Thanks |
Contents of
For this test I've created and deployed new file in this project:
Problem occurs in this file as well. |
Interesting... looks like grammar/syntax is not an issue in your case. Must be something config related. if you move that test "SyntaxTest.cls" to your small "Developer Edition" project - do you get completion or do you get an error ? If you do not get the error - perhaps path or file permissions of your work project cause a problem somehow. Can you try moving your "work" project to a simpler path to see if this makes a difference ? Also, please post here:
Thanks |
All my projects are in the same path Just to double check, I've just inited both work org and dev org with Java:
OS:
ApexMessages:
|
Thanks for the details. Everything looks in order at first glance. Have you tried moving that test "SyntaxTest.cls" into your small "Developer Edition" project - do you get completion or do you get an error ? If you do not get an error - can you also try renaming: If that still does not work then next I would try to see if there is a file (or files) in the current project which make apex code scanner crash. This can be checked by gradually removing groups of files from project folder and trying completion in |
Hey, moving this class to another project worked, renaming didn't. I've removed all classes except SyntaxtTest.cls from the project and it works. |
It checks syntax of a given file against the grammar. Most problems with code completion relate to things in the source files which current grammar does not handle properly.
Did you mean "identify faulty files" ? In the current version it is a manual process unfortunately. |
In theory I have everything set up correctly(I think) because whenever I use omni competition on small project (Developer Edition org with few classes) it works.
But when I switch to my company's organizastion I'm getting following errors:
When trying to use omni-completition with pressing Ctrl-x,Ctrl-o in insert mode with following text before cursor:
system.
Any idea what it might be?
The text was updated successfully, but these errors were encountered: