angular - How to make changes to custom formatter in WebStorm -


this question has answer here:

i make change custom formatter in webstorm ide. when use [ctrl] + [alt] + [o] hotkey, imports in typescript files formated form:

import {httpmodule} "@angular/http"; 

it's ok, tslint highlight line , show message:

tslint: " should ' (quotemark)

is possible change webstorm custom formatter format imports in way:

import {httpmodule} '@angular/http'; 

i note i'm not interested in changing tslint.json

in settings | code style | typescript | punctuation, set use single. note can import code style prerefences tslint.json : open in editor , click 'yes' when prompted apply settings. see https://blog.jetbrains.com/webstorm/2017/01/webstorm-2017-1-eap-171-2455/, import code style tslint.json


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -