Friday, January 8, 2016

How to make Vim highlight Gradle syntax

This instruction was tested by me in OS X:

1. Edit/create file ~/.vimrc. Make sure that it contains following lines:
filetype plugin indent on

syntax on

2. Download Groovy for Vim configuration from here and save it to $HOME/.vim/syntax/ folder (create if missing):

3. Add following line to $HOME/.vim/filetype.vim file (create is missing): 
au BufNewFile,BufRead *.gradle  setf groovy 

4. Re-open your Vim

Wednesday, January 6, 2016

OS X - setting up "Jump to file" filters in IntellijIDEA 15

I've recently faced a problem with setting up file type filters in "Jump to file" dialog in IntellijIDEA 15 on Mac. Whenever I was trying to uncheck any of file extension checkboxes in the list, the dialog was disappearing.

Solved by clicking on any checkbox holding "Control" button once to make it focused, and then use it regular way.