Last active
March 25, 2022 12:14
-
-
Save siddhpant/0a8da64af82910493b91c80fb4bde6a0 to your computer and use it in GitHub Desktop.
User setttings for Sublime Text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"anaconda_linting": false | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"class": "sidebar_label", | |
"font.face": "Fira Code SemiBold", | |
"font.size": 12 | |
}, | |
{ | |
"class": "sidebar_heading", | |
"font.face": "Fira Code SemiBold", | |
"font.size": 12 | |
}, | |
{ | |
"class": "tab_label", | |
"font.face": "Fira Code SemiBold", | |
"font.size": 12 | |
}, | |
{ | |
"class": "label_control", | |
"font.face": "Fira Code SemiBold", | |
"font.size": 12 | |
}, | |
{ | |
"class": "quick_panel_label", | |
"font.face": "Fira Code SemiBold", | |
"font.size": 12 | |
}, | |
{ | |
"class": "quick_panel_path_label", | |
"font.face": "Fira Code SemiBold", | |
"font.size": 12 | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ "keys": ["alt+m"], "command": "toggle_menu" }, | |
// Open a terminal tab at current file directory | |
{ | |
"keys": ["ctrl+alt+y"], | |
"command": "toggle_terminus_panel", | |
"args": { | |
"cwd": "${file_path:${folder}}" | |
} | |
}, | |
// Close terminal | |
{ | |
"keys": ["ctrl+w"], "command": "terminus_close", | |
"context": [{ "key": "terminus_view"}] | |
}, | |
// Remove trrailing whitespaces | |
{ "keys": ["ctrl+alt+space"], "command": "delete_trailing_spaces" } | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Show total time | |
"time_per_file": false, | |
// The format the presence details (top line) will be in. | |
"details": "Copied from siddhpant's gists" // :-P | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"color_scheme": "Packages/ayu/ayu-mirage.sublime-color-scheme", | |
"theme": "ayu-mirage.sublime-theme", | |
"gtk_client_side_window_decorations": false, | |
"trim_trailing_white_space_on_save": true, | |
"ensure_newline_at_eof_on_save": true, | |
"font_face": "Hack Bold", | |
"font_size": 13, | |
"rulers": [80], | |
"tab_size": 4, | |
"translate_tabs_to_spaces": true, | |
"ignored_packages": ["Vintage"] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SublimeLinter Settings - User | |
{ | |
"linters": { | |
"clang": { | |
"I": ["${folder}", "${file_path}"] | |
}, | |
"clang++": { | |
"I": ["${folder}", "${file_path}"] | |
}, | |
"flake8" : { | |
"args": ["--stdin-display-name", "${file:stdin}"] | |
}, | |
// From https://github.com/poucotm/SublimeLinter-contrib-verilator | |
"verilator": { | |
// "lint_mode": "load_save", | |
"styles" : [ | |
{ | |
"types": ["warning"], | |
"mark_style": "squiggly_underline", | |
"icon": "Packages/SublimeLinter/gutter-themes/Blueberry Cross/warning.png" | |
}, | |
{ | |
"types": ["error"], | |
"mark_style": "fill", | |
"icon": "Packages/SublimeLinter/gutter-themes/Blueberry Cross/error.png" | |
} | |
], | |
"args": [ | |
"--error-limit", | |
"500", | |
// "--default-language", | |
// "1800-2017", // systemverilog | |
// "1364-2005", // verilog | |
"--bbox-sys", | |
"--bbox-unsup", | |
"-Wall", | |
"-Wno-WIDTH", | |
"-Wno-IGNINC", | |
"-Wno-IGNDEF", | |
"-Wno-STMTDLY", | |
"-Wno-UNDRIVEN", | |
"-Wno-PINCONNECTEMPTY", | |
"-Wno-INPUTPINEMPTY", | |
"-Wno-OUTPUTPINEMPTY" | |
], | |
"filter_errors": [ | |
"Unsupported:", | |
"\\[IGNDEF\\]", | |
// "expects 8192 bits" // not to use -Wno-WIDTH | |
], | |
// To lint based on single file (ignore external module definition) | |
"use_multiple_source": false, | |
"search_project_path": false, | |
// To lint based on multiple files | |
// (search external sources - the same directory or project path) | |
// "use_multiple_source": true, | |
// "search_project_path": true, | |
// example) example.sublime-project | |
// "sources": [ "D:\\project\\srcs", "D:\\project\\working" ] | |
// windows subsystem for linux (wsl verilator_bin) | |
"use_wsl": false, | |
// additional option to filter file type | |
"extension": [ | |
".v" | |
], | |
// additional option for better highlighting near | |
"message_near_map": [ | |
["Case values", "case"], | |
["Suggest casez", "casex"] | |
] | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"theme": "birds-of-paradise" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Settings in here override those in "TrailingSpaces/trailing_spaces.sublime-settings" | |
{ | |
"include_empty_lines" : false, | |
"modified_lines_only": true, | |
"trim_on_save": true | |
} |
Fix for TAB
key not indenting on st4 is to delete/rename the old settings (~/.local/sublime-text-3
*) and start afresh. :/
Good for us, the settings are right here! :-P
* Yes, the folder is named sublime-text-3
if you upgraded using apt
. The new settings folder will be named sublime-text
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ST4 compliant