Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support VS macros #57

Closed
mrlacey opened this issue Jan 14, 2024 · 5 comments
Closed

Support VS macros #57

mrlacey opened this issue Jan 14, 2024 · 5 comments

Comments

@mrlacey
Copy link
Owner

mrlacey commented Jan 14, 2024

Request from the marketplace:

  1. Support for VS macros such as $(SolutionDir) etc.
@mrlacey
Copy link
Owner Author

mrlacey commented Jan 14, 2024

What to support?

list from: https://stackoverflow.com/a/1519854

$(OutDir)
$(ConfigurationName)
$(ProjectName)
$(TargetName)
$(TargetPath)
$(ProjectFileName)
$(TargetExt)
$(TargetFileName)
$(DevEnvDir)
$(TargetDir)
$(ProjectDir)
$(SolutionFileName)
$(SolutionPath)
$(SolutionDir)

@mrlacey
Copy link
Owner Author

mrlacey commented Jan 14, 2024

X-Ref #45

@Ami-Mizuno
Copy link

I will admit this one may not be very useful. However when combined with #56 It would make image paths easier. For example

$(SolutionDir)\MyImages\MyStructFile.png

Of course you could always add a setting to specify a image directory. I think this way is more portable for solutions with multiple projects however.

@mrlacey mrlacey added this to the v3 milestone Nov 14, 2024
@mrlacey
Copy link
Owner Author

mrlacey commented Nov 16, 2024

Adding support for:

$(ItemPath)
$(ItemDir)
$(ProjectDir)
$(SolutionDir)

@mrlacey
Copy link
Owner Author

mrlacey commented Nov 17, 2024

Adding support for:

$(ItemPath) $(ItemDir) $(ProjectDir) $(SolutionDir)

These "macros" are supported as part of a file name/path as of version 3.0 (in the marketplace now).

@mrlacey mrlacey closed this as completed Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants