Question

I'm using StyleCop to ensure that I only access fields with the this. prefix. This works like a charm but I'm wondering if there is an option for intellisense to hide suggestions for fields when I'm not explicitly prefixing the current expression with this. like it does for TypeScript class fields.

Thanks!

Was it helpful?

Solution

I'm closing this now, there seems to be no switch for IntelliSense to achieve this.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top