这些是我在VSCODE中看起来很烦人的一些东西,我希望有人可以帮助我禁用它们.
1.)在标签中概述<>.
我不了解你,但我觉得这很烦人.
2.)在活动行中的轮廓
我浏览了所有工作区设置,并将所有可能 - 或者至少 - 设置为false,以任何方式与突出显示和概述相关但没有运气.
我在设置Input属性时遇到问题.我正在试图做的是通过从app.component.ts称为值passBool并设置属性的nextComponent称为receivedBool.
这是我的代码:
app.component.ts
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
template: `
<nextComponent [receivedBool]="passBool"></nextComponent>
`
})
export class AppComponent {
//Variables
passBool: Boolean = true;
constructor(){
console.log('The boolean value we are trying to pass is: ' + this.passBool)
}
}
Run Code Online (Sandbox Code Playgroud)
nextComponent.component.ts
import { Component, Input } from '@angular/core';
@Component({
selector: 'nextComponent',
template: `<i> </i> `
})
export class NextComponent {
@Input() receivedBool: Boolean = false;
constructor () {
console.log('The boolen value we …Run Code Online (Sandbox Code Playgroud)