sublime-text-turtle-sparql icon indicating copy to clipboard operation
sublime-text-turtle-sparql copied to clipboard

No toggling of comments

Open wood-chris opened this issue 9 years ago • 4 comments

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

wood-chris avatar Aug 14 '15 12:08 wood-chris

Good question, I'll try & find out.

Cheers, Tony.

Anthony B. Coates [email protected] +44 (79) 0543 9026

-----Original Message----- From: "Chris Wood" [email protected] Sent: ‎14/‎08/‎2015 13:28 To: "abcoates/sublime-text-turtle-sparql" [email protected] 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 avatar Aug 14 '15 21:08 abcoates

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:[email protected]] Sent: 14 August 2015 13:28 To: abcoates/sublime-text-turtle-sparql [email protected] 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

abcoates avatar Aug 17 '15 09:08 abcoates

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

wood-chris avatar Aug 17 '15 09:08 wood-chris

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.

kapcom01 avatar Nov 29 '15 20:11 kapcom01