Column/Vertical selection with Keyboard in SublimeText 3

You should see Sublime Column Selection: Using the Mouse Different mouse buttons are used on each platform: OS X Left Mouse Button + ⌥ OR: Middle Mouse Button Add to selection: ⌘ Subtract from selection: ⇧+⌘ Windows Right Mouse Button + Shift OR: Middle Mouse Button Add to selection: Ctrl Subtract from selection: Alt Linux … Read more

How to open remote files in sublime text 3

On server Install rsub: wget -O /usr/local/bin/rsub \https://raw.github.com/aurora/rmate/master/rmate chmod a+x /usr/local/bin/rsub On local Install rsub Sublime3 package: On Sublime Text 3, open Package Manager (Ctrl-Shift-P on Linux/Win, Cmd-Shift-P on Mac, Install Package), and search for rsub and install it Open command line and connect to remote server: ssh -R 52698:localhost:52698 server_user@server_address after connect to server … Read more

RuboCop: Line is too long ← How to Ignore?

In your code, you can disable a bunch of lines like this: # rubocop:disable Layout/LineLength puts “This line is lonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnng” # rubocop:enable Layout/LineLength Or add this to your .rubocop.yml file to increase the max length: Layout/LineLength: Max: 100

Change / Add syntax highlighting for a language in Sublime 2/3

Syntax highlighting is controlled by the theme you use, accessible through Preferences -> Color Scheme. Themes highlight different keywords, functions, variables, etc. through the use of scopes, which are defined by a series of regular expressions contained in a .tmLanguage file in a language’s directory/package. For example, the JavaScript.tmLanguage file assigns the scopes source.js and … Read more

syntax highlighting for react code in sublime

Installing babel fixes the syntax highlighting. Steps to install babel on sublime3: For windows: Press Ctrl+Shift+P For mac: Cmd+Shift+P Then type install and select Package control: Install Package Then type Babel and select ‘Babel-Snippets’. It will install babel in few moments. Then set the Babel syntax in Sublime3 Editor from: View > Syntax > Babel … Read more