following are the setting and themes that i used to make my sublime text look cool and meaningful
1. Preference.Sublime-setting -USER
{"caret_extra_bottom": 1,
"caret_extra_top": 1,
"caret_extra_width": 1,
"color_scheme": "Packages/Theme - Tech49/Tech49.tmTheme",
"drag_text": false,
"font_size": 12.3,
"highlight_line": true,
"highlight_modified_tabs": true,
"indent_to_bracket": true,
"line_padding_bottom": 1.5,
"line_padding_top": 2,
"overlay_scroll_bars": "enabled",
"theme": "Tech49.sublime-theme"
}
2. Programming Language - Build Files
i. Python2
{
"cmd": ["tilix -e 'bash -c \"python2 -u $file;echo;echo Press ENTER to exit; read line\"'"],
"shell": true
}
ii. Python3
{"cmd": ["tilix -e 'bash -c \"python3 -u $file;echo;echo Press ENTER to exit; read line\"'"],
"shell": true
}
iii. C
{"cmd": ["tilix -e 'bash -c \"${file_path}/${file_base_name};echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo; echo Press ENTER to continue; read line;exit; exec bash\"'"],
"selector" : "source.c",
"shell": true,
"working_dir" : "$file_path"
}
iv. C++
{"cmd": ["g++ -Wall ${file} -o ${file_base_name}"],
"working_dir": "${file_path}",
"selector": "source.c++",
"shell": true,
"working_dir" : "$file_path",
"variants": [
{
"cmd": ["tilix -e 'bash -c \"${file_path}/${file_base_name};echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo; echo Press ENTER to continue; read line;exit; exec bash\"'"],
"shell": true,
"name": "Run",
"working_dir" : "$file_path"
}
]
}
// {
// "cmd": ["g++", "$file", "-o", "${file_path}/${file_base_name}"],
// "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
// "working_dir": "${file_path}",
// "selector": "source.c, source.c++, source.cxx, source.cpp",
// "variants":
// [
// {
// "name": "Run",
// "shell": true,
// "cmd": ["tilix -e 'bash -c \"${file_path}/${file_base_name};echo;echo;echo;echo;echo;echo;;echo;echo;echo;echo;echo;echo; echo Press ENTER to continue; read line;exit; exec bash\"'"]
// }
// ]
// }
Comments
Post a Comment