Open
Description
Title: Support for detection of tool versions in .tool-versions
file
Issue Description:
Currently, the project supports the automatic detection of Node.js versions through the .node-version
file. However, it would be highly beneficial to extend this functionality to include detection of tool versions specified in the .tool-versions
file.
Proposed Solution:
To achieve this, we can enhance the version detection mechanism to recognize and apply the specified tool versions from the .tool-versions
file. This improvement will streamline the development process by ensuring that the correct tool versions are utilized consistently across different environments.
Expected Behavior:
- When a
.tool-versions
file is present in the project, the system should automatically identify and use the specified tool versions. - In cases where a specific tool version is not available, the system should provide a clear error message or prompt the user to install the required version.
Additional Information:
- This enhancement will contribute to a more seamless and efficient development workflow, especially for projects that rely on specific versions of various tools.
- Compatibility with a broader range of tools will further empower developers and facilitate smoother collaboration within the project.
Steps to Reproduce:
- Create a
.tool-versions
file in the project directory. - Specify the desired tool versions in the following format:
tool_name version_number
. - Run the project or relevant tooling that relies on version detection.
Acceptance Criteria:
- The system successfully detects and applies tool versions specified in the
.tool-versions
file. - Clear error messages or prompts are provided in cases where a specified tool version is unavailable.
Metadata
Metadata
Assignees
Labels
No labels