Closed ababaian closed 6 years ago
Gedit uses GTKsourceview
Vim uses it's own syntax files
One feature we should implement for sublime install is to automatically change to the bioSyntax theme only when a bioSyntax file format is being used: https://hiltmon.com/blog/2012/11/07/multiple-themes-in-sublime-text-2/
Initially we're going to be focusing on SublimeText / YAML for all the formats; we'll port it from there.
Starting an Example File for your bioformat
In Sublime > Tools > Developer > New Syntax
Installing a syntax for
Copy the '.sublime-syntax' file to
Linux: ~/.config/sublime-text-3/Packages/User Windows: %APPDATA%/Roaming/Sublime Text 3/Packages/ Mac: ~/Library/Application Support/Sublime Text 3/Packages/User/
NOTE: The
.sublime-syntax
file cannot contain any Tabs; everything is space-indentedDefining / Changing the color scheme
Overview
We'll be using 'Monoka.tmTheme' as the base theme for now.
Your bioformat syntax file should use already existing definitions in the theme file for the 'scope'
The default theme file is available here or it's zipped under 'sublime_text_3/Packages/Color Scheme - Default.sublime-package'