Hi GATK Users,

Happy Thanksgiving!
Our staff will be observing the holiday and will be unavailable from 22nd to 25th November. This will cause a delay in reaching out to you and answering your questions immediately. Rest assured we will get back to it on Monday November 26th. We are grateful for your support and patience.
Have a great holiday everyone!!!

GATK Staff

Comment WDL lines with Ctrl+/ in Sublime Text

myourshawmyourshaw University of ColoradoMember ✭✭

There is a nice WDL syntax highlighter for Sublime Text described on the WDL web site. However, the highlighter does not provide a shortcut for commenting out a line or block of lines. I found that this works well to implement a commenter using the Ctrl+/ keys.
Create the file $HOME/.config/sublime-text-3/Packages/wdl.tmPreferences with the following contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
   <string>WDL Comment</string>
            <string># </string>

Don't worry about the reference to Apple Computer; this works fine on a Red Hat box.


Best Answer


Sign In or Register to comment.