禁用在 VS Code TypeScript Angular 项目中添加分号

问题描述

我正在尝试删除在 VS Code 中添加自动分号。

我找不到方法,如何在 Visual Studio Code 中禁用此编辑,这对我有用,似乎我正在以错误的方式做某事。

以前我已经为 implementation 'com.google.android.gms:play-services-vision:20.0.0 implementation 'com.google.android.gms:play-services-vision:20.0.0' implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava' implementation 'com.google.firebase:firebase-dynamic-links:19.0.0' implementation 'androidx.appcompat:appcompat:1.0.2' implementation 'com.google.firebase:firebase-bom:25.12.0' implementation 'androidx.annotation:annotation:1.1.0' implementation "com.android.support:support-v4:27.1.1" Prettier 安装了 ZentabsTSLintESLint,但是在安装此插件之前,分号自动添加处于活动状态

我已完全禁用 PrettierTSLintESLintZentabs

并在 TypeScript tslint.json 中代替 never

always

Preferences > Setting "semicolon": { "options": [ "never" ] }, 我试过 JavaScript > Format: Semicolonsignore

我尝试过标记答案和几乎所有其他答案,这实际上是 vue.js 问题 Stop Visual Studio Code From Automatically Adding Semicolons In .vue Files

我的 remove 看起来像这样:

setting.json

任何建议、指南或示例都会非常有帮助

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)