Feature request: user name variable

Sysprogs forums Forums VisualGDB Feature request: user name variable

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8903
    j.jemine
    Participant

    Hi,

    Could we have a built-in variable ($(User) ?) that would resolve to the current Windows user name?

    We currently use a user variable for this purpose, but it is error prone because developpers often forget to set it.

    Not having to worry about this variable would be a great quality of life improvement for us!

    Thanks!

    #8907
    support
    Keymaster

    Hi,

    VisualGDB actually recognizes and substitutes the normal environment variables with the $(Variable) syntax. Hence you can simply use the $(USERNAME) syntax to refer to the built-in Windows variable containing the current user name.

    #8911
    j.jemine
    Participant

    Good to know 🙂

    Perfect, thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.