-
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
Unresolvable functions and variables #171
Comments
Hi, Thanks for raising the issue. |
So, if I have a module myModule.xqy and I import another module (utils.xqy) and then from within myModule I have a reference to some method in utils, the method is highlighted in red and the tooltip displayed states that the method cannot be resolved. Example: Then, later I reference a method within util.xqy I'm using the XQuery Support version 3 plugin in IntelliJ IDEA 15 CE |
Based on the extension used I assume you're using Marklogic. |
Based on that, I can select MarkLogic 8, but I'm currently working against a MarkLogic 7 server. Will this be an issue? |
That shouldn't be an issue. Only that it will give you Marklogic 8 specfic list of functions on auto-completion list (there isn't one for ML7 anyway in the plugin). Please select ML8 and it should be fine. |
I assume it solved the issue. |
@ligasgr It appears this issue is still present. I'm running ML8, and under Other |
Can you please post sample project (simplest project/files that recreate the issue) somewhere so that I have it a bit easier to reproduce the issue? |
@ligasgr I did some more testing, and the issue appears to be related to the fact that the imported module path contains a hyphen. For example, this works:
But this does not:
If you want a more complete test case, let me know. |
Hi Will, |
Is the update from commit c0c99dc available via the IntelliJ IDE yet? Just looking to update ASAP |
Hey, no it's not available yet. |
Hi there, I have the updated version of the plugin (3.2.0) installed in IntelliJ IDEA (2016.3.3) and it appears the bug is still there. If I have an imported module with a hyphen in the path, the plugin is unable to resolve the imported function/variable. |
Can you please create a sample project with sample file and expose it somewhere? I'm not able to reproduce the issue on the files with content provided in this issue... |
I'm trying to recreate the issue, but before I do can you please remind me what the setting is for Database Port? I can't remember if it needs to point to a WebDAV endpoint or HTTP??? Just want to make sure I have the plugin configured correctly. Here are my settings currently: |
Hey Bill, |
Noticed that functions imported from another module are not resolvable within the executing module.
The text was updated successfully, but these errors were encountered: