-
Notifications
You must be signed in to change notification settings - Fork 23
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
CFMLCompletionItemProvidor Error #27
Comments
Seems related to my current project since another works fine. |
I narrowed the problem down to interfaces. The simplest one is this interface name="IJsonConverter" { string function getJsonString(); } If i remove the functions and just have it as an empty interface. i no longer get the error and completions work. |
Thanks for providing more detail. Can you please be specific how the interface is causing the issue? What relation does the interface have with the file that is having the issue? Or is the issue with every file if the interface exists in the workspace? |
It seemed to be the case where if i have an interface with functions defined in it the error occurs. I have to restart vscode each time to test things. https://github.com/maverck/cfml-vscode-example in the example i am not even using the interface at all. it's just there. |
Please see if v0.5.1 fixes your issue. |
@msp1kpj Would you be able to provide a sample file in which this error occurs? I could just make it not error there, but if I know why it is failing I could probably make a smarter fix. |
Appears to be fixed for me. Thank you. At first i didn't think it was fixed but then i noticed my workspace mappings were gone. |
[2019-01-14 21:56:04.125] [exthost] [error] TypeError: Cannot read property 'uri' of undefined
at CFMLCompletionItemProvider.provideCompletionItems (/home/maverck/.vscode/extensions/kamasamak.vscode-cfml-0.5.0/out/features/completionItemProvider.js:284:159)
at /usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:561:127
at t.asThenable (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:141:941)
occurs when i try add a dot after a variable containing a component
doesn't provide function/variable completion suggestions.
The text was updated successfully, but these errors were encountered: