I want to align my statements around a particular word or token.
Example:
import React from 'react';
import { browserHistory, Router, Route } from 'react-router';
import Main from './components/main';
In this case, I want my statements to be aligned around from
word.
Like this
import React from 'react';
import { browserHistory, Router, Route } from 'react-router';
import Main from './components/main';
I have installed a plugin called tabular
but I don't know how to align around a word. I can align around =
or any other token but not around a word.
LiveEasyAlign
.