Install Package Control for easy package management.
- Open the console with
Ctrl+` - Paste in the following:
Install Package Control for easy package management.
Ctrl+`
rebase vs merge).rebase vs merge)reset vs checkout vs revert)git rev-parse)pull vs fetch)stash vs branch)reset vs checkout vs revert)| { | |
| "always_show_minimap_viewport": true, | |
| "auto_complete_commit_on_tab": true, | |
| "auto_complete_with_fields": true, | |
| "bold_folder_labels": true, | |
| "caret_extra_bottom": 2, | |
| "caret_extra_top": 2, | |
| "caret_extra_width": 2, | |
| "caret_style": "phase", | |
| "color_scheme": "Packages/Theme - Cobalt2/cobalt2.tmTheme", |
| { | |
| /** EDITOR **/ | |
| "editor.cursorStyle": "line", | |
| "editor.cursorBlinking": "phase", | |
| "editor.fontFamily": "Operator Mono, Menlo, Monaco, 'Courier New', monospace", | |
| "editor.fontSize": 14, | |
| "editor.fontWeight": "300", | |
| "editor.lineHeight": 21, | |
| "editor.letterSpacing": 0.5, | |
| "editor.renderWhitespace": "all", |
| var OFF = 0, WARN = 1, ERROR = 2; | |
| module.exports = exports = { | |
| "env": { | |
| "es6": true | |
| }, | |
| "ecmaFeatures": { | |
| // env=es6 doesn't include modules, which we are using | |
| "modules": true |
Directory Structure
.
|-- dist/
|-- src/
|-- test/
| `-- setup.jsx # jsdom for renderIntoDocument()
|-- .babelrc
|-- .coveralls.yml
So you love the Operator Mono font? I don't blame you! So do we! It's a bit pricey but worth every penny.
In fact, we're so used to it in our editors that we were a bit sad with GitHub's otherwise neat code views. When we review PRs in the web UI, we want our Operator Mono!
So, assuming you have it installed on your machine, you can put the JS bit in the other code snippet of this Gist in a bookmarklet, and click it when you're on a GitHub.com page you want to have switch over to our beloved font. We used the ScreenSmart variant here, which you get in the font package and have probably installed, as it's the more legible one on screens. Feel free to adjust the font name if needed.
| { | |
| "auto-rename-tag.activationOnLanguage": [ | |
| "html", | |
| "xml", | |
| "php", | |
| "javascript" | |
| ], | |
| /** BEAUTIFY **/ | |
| "beautify.language": { | |
| "css": [ |
| { | |
| /* See all the pre-defined configs here: https://www.npmjs.com/package/eslint-config-defaults */ | |
| "extends": "defaults/configurations/eslint", | |
| "parser": "babel-eslint", | |
| "ecmaFeatures": { | |
| "jsx": true | |
| }, | |
| "plugins": [ | |
| "react" | |
| ], |