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

tab completion error when local name has a dot (.) #68

Open
seebi opened this issue Nov 15, 2015 · 2 comments
Open

tab completion error when local name has a dot (.) #68

seebi opened this issue Nov 15, 2015 · 2 comments
Assignees
Labels

Comments

@seebi
Copy link
Member

seebi commented Nov 15, 2015

@prefix : <http://example.com/>.
@prefix owl: <http://www.w3.org/2002/07/owl#> .

:my.Class a owl:Class .
:my.Property a owl:ObjectProperty .
:myResource a :my|

(the cursor is at the pipe at the end)

Given this document, I get not completion suggestions after :my or :my..

@seebi seebi added the bug label Nov 15, 2015
@nittka
Copy link
Contributor

nittka commented Nov 16, 2015

I can reproduce the problem of missing proposaly after :my. but :myworks for me. Could you please check again (you really have to invoke code completion at the given position, invoking it and then use arrow keys will not cause all proposals to be calculated again)?

I don't know yet, if this problem can be fixed easily. One cause is the ambiguity of . at the end of a triple, where it might mark the end or be a separator for a local name.

@nittka
Copy link
Contributor

nittka commented Nov 17, 2015

After some investigation, it looks like a major effort to fix this problem. Also there are very simple workarounds (that should be documented), so I do not think it worth to address the issue at the moment.

  • For me code completion works if invoked directly after :my
  • For me code completion works if there is character after the full stop, i.e. if invoked after the full stop in :my.x
  • If there is a white space (or EOF) after the full stop, there are two workarounds for getting the proposals. Either invoke code completion before the full stop or invoke it after the full stop and press the left arrow key and then right arrow key.

@nittka nittka assigned seebi and unassigned nittka Nov 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants