Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular WebStorm-重新格式化文件与内联装饰器_Angular_Typescript_Webstorm_Tslint_Reformat - Fatal编程技术网

Angular WebStorm-重新格式化文件与内联装饰器

Angular WebStorm-重新格式化文件与内联装饰器,angular,typescript,webstorm,tslint,reformat,Angular,Typescript,Webstorm,Tslint,Reformat,我已经设置了规则更喜欢内联装饰器。我想实现装饰和功能名称在同一行 @HostListener('document:keydown.escape', ['$event']) public closeDetail(): void { 使用WebStorm的重新格式化文件(Ctrl+Shift+Alt+L)。但它将其重新格式化为 @HostListener('document:keydown.escape', ['$event']) public closeDetail(): void { 我试图

我已经设置了规则更喜欢内联装饰器。我想实现装饰和功能名称在同一行

@HostListener('document:keydown.escape', ['$event']) public closeDetail(): void {
使用WebStorm的重新格式化文件(Ctrl+Shift+Alt+L)。但它将其重新格式化为

@HostListener('document:keydown.escape', ['$event'])
public closeDetail(): void {
我试图以编辑器代码样式更改Typescript属性,但没有任何效果。我的设置: