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

Improve environment variables options #22

Closed
3 tasks done
sisoe24 opened this issue Oct 6, 2024 · 0 comments · Fixed by #23
Closed
3 tasks done

Improve environment variables options #22

sisoe24 opened this issue Oct 6, 2024 · 0 comments · Fixed by #23
Labels
enhancement New feature or request
Milestone

Comments

@sisoe24
Copy link
Owner

sisoe24 commented Oct 6, 2024

  • Add ${workspaceFolderBasename}
  • Add ${userHome}
  • Make it a list rather than a single string
"nukeTools.environmentVariables": {
        "PYTHONPATH": [
            "${workspaceFolder}/${workspaceFolderBasename}",
            "${userHome}/config",
        ]
    }
@sisoe24 sisoe24 added the enhancement New feature or request label Oct 6, 2024
@sisoe24 sisoe24 added this to the 0.16.0 milestone Oct 6, 2024
@sisoe24 sisoe24 mentioned this issue Oct 10, 2024
2 tasks
sisoe24 added a commit that referenced this issue Oct 10, 2024
* Refactor placeholder replacements in launch_executable.ts

* Remove duplicate import

* Improve environment variables options #22

* Refactor resolveEnvVariables function and optimize environment variable replacement

* Remove commented lines

* Update readme

* Update changelog

* Rename file

* Update readme

* Update notification message for breaking changes in settings

* Use property shorthand

* Fix commands camelCaseName #21

* Update run_code.svg icon

* Update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant