I use IntelliJ IDE to develop projects and hence it marks any field with _ prefix as private. However VSCode adheres to # prefix for private fields which is acceptable by IntelliJ as well.
Currently used prefix is _, example: this._context.
Due to this, all the private fields are visible and accessible in VSCode's auto-completion. Better to refactor to use the #.
I use IntelliJ IDE to develop projects and hence it marks any field with
_
prefix as private. However VSCode adheres to#
prefix for private fields which is acceptable by IntelliJ as well.Currently used prefix is
_
, example:this._context
. Due to this, all the private fields are visible and accessible in VSCode's auto-completion. Better to refactor to use the#
.