abcoates / sublime-text-turtle-sparql

Sublime Text syntax and completions files for Turtle (and, later, SPARQL). Developed for Sublime Text 3 beta.
Other
40 stars 9 forks source link

No toggling of comments #1

Open wood-chris opened 9 years ago

wood-chris commented 9 years ago

Hi!

I've noticed that using the Ctrl + / shortcut in a .ttl document doesn't toggle comments for the line / select text - is this something that's easy to introduce? (I've never written a syntax definition file so don't really know the work involved...)

Cheers, Chris

abcoates commented 9 years ago

Good question, I'll try & find out.

Cheers, Tony.

Anthony B. Coates abcoates@contakt.org +44 (79) 0543 9026

-----Original Message----- From: "Chris Wood" notifications@github.com Sent: ‎14/‎08/‎2015 13:28 To: "abcoates/sublime-text-turtle-sparql" sublime-text-turtle-sparql@noreply.github.com Subject: [sublime-text-turtle-sparql] No toggling of comments (#1)

Hi! I've noticed that using the Ctrl + / shortcut in a .ttl document doesn't toggle comments for the line / select text - is this something that's easy to introduce? (I've never written a syntax definition file so don't really know the work involved...) Cheers, Chris — Reply to this email directly or view it on GitHub.

abcoates commented 9 years ago

I haven’t had time to research this properly yet, but I found a useful discussion of the issue on stackoverflow, so I guess it’s a general Sublime Text 3 thing:

http://stackoverflow.com/questions/17742781/keyboard-shortcut-to-comment-lines-in-sublime-text-3

Cheers, Tony.

From: Chris Wood [mailto:notifications@github.com] Sent: 14 August 2015 13:28 To: abcoates/sublime-text-turtle-sparql sublime-text-turtle-sparql@noreply.github.com Subject: [sublime-text-turtle-sparql] No toggling of comments (#1)

Hi!

I've noticed that using the Ctrl + / shortcut in a .ttl document doesn't toggle comments for the line / select text - is this something that's easy to introduce? (I've never written a syntax definition file so don't really know the work involved...)

Cheers, Chris

— Reply to this email directly or view it on GitHub https://github.com/abcoates/sublime-text-turtle-sparql/issues/1 . https://github.com/notifications/beacon/AAKQIdS-JqhMdaRM8RtkDFIeRsM9Vk_xks5ondZjgaJpZM4Fronu.gif

wood-chris commented 9 years ago

Sorry - I should have declared that I'm using Sublime Text 2(!). All other keyboard shortcuts for block commenting in other syntax definitions still work

kapcom01 commented 8 years ago

Hello, I am on Sublime Text 3 and the above workaround didn't work. I can toggle comments in other lagnguages like Python but not on SPARQL.

If I change syntax to PYTHON by clicking the option menu at bottom right I can then toggle comments. If I switch back to SPARQL then I can't.