Everlaw / nbts

NetBeans TypeScript editor plugin
282 stars 46 forks source link

Plugin removes empty space near curly braces in imports/exports with code completetion #142

Open PavelTurk opened 5 years ago

PavelTurk commented 5 years ago

It is much better (and it seems to be TypeScript naming convention) to have such code:

import { MyClass } from "./MyModule";

However, when I use code completion plugin removes empty spaces near curly braces, so I get

import {MyClass} from "./MyModule";

I suggest to leave empty spaces.

Chris2011 commented 5 years ago

I guess it uses the formatting Options of Javascript. With a 3rd-party-plugin, we can't have our own formatting If the Plugin is Not a friend dependency.