Closed graue70 closed 3 years ago
This is how comments look in Visual Studio Code with the extension SPARQL Language Server (with Stardog extensions)
:
Of course, they don't have the autocompletion problem I mentioned above.
I don't quite see a good solution for the autocomplete problem, yet. I'll think about it and add syntax highlighting for comments in the meantime.
The coloring of comments is implemented.
I'm closing this issue because it isn't clear whether there even exists a solution for the autocompletion problem.
Comments are already supported, meaning they can be typed and do not raise an error.
It would, however, be nice to have them colored differently than predicates.
Also, there is an issue with autocompletion if one types
#
. There is autocompletion happening and there are actual (seemingly correct) results whose labels start with a hash sign. I'm not sure whether this can be solved somehow, meaning whether it can be possible for the UI to recognize and differentiate between wanting for examplewd:Q12886367
(#Beautiful) and typing a comment.