简体   繁体   English

Typescript 语法高亮不起作用

[英]Typescript syntax highlighting not working

After enabling the Typoscript plugin like suggested by the IDE none of my.ts files show syntax highlighting any more.启用 Typoscript 插件后,如 IDE 建议的那样,my.ts 文件不再显示语法突出显示。

I've tried reinstalling android studio after removing all settings folder in appdata, userprofile, program files folder.在删除 appdata、userprofile、program files 文件夹中的所有设置文件夹后,我尝试重新安装 android studio。 I've tried with new project and existing ones.我已经尝试过新项目和现有项目。 I am not able to get the syntax highlighting back.我无法恢复语法突出显示。

I'm running: - windows 10 - Android Studio 3.5我正在运行: - windows 10 - Android Studio 3.5

import { Component } from '@angular/core';

@Component({
  selector: 'app-home',
  templateUrl: 'home.page.html',
  styleUrls: ['home.page.scss'],
})
export class HomePage {

  constructor() {}

}

How do I get syntax highlighting working again asif a clean installation.如何让语法突出显示再次工作,就像全新安装一样。

Eventualy reinstalling everything solved my issues.最终重新安装一切解决了我的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM