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

[Feature]: Change the Current Opened File in Workspace from html to blade.php #6

Open
Bakugo90 opened this issue Nov 18, 2024 · 0 comments
Labels
feature good first issue Good for newcomers

Comments

@Bakugo90
Copy link
Owner

Description

Implement a feature to change the extension of the currently opened file in the workspace from .html to .blade.php. This feature will ensure that only HTML files are converted to Blade templates.

Task

  1. Utilize the VS Code API to check the extension of the currently opened file in the workspace.
  2. If the file has a .html extension, proceed with the conversion to .blade.php.
  3. If the file does not have a .html extension, display an appropriate message to the user.

Acceptance Criteria

  • The extension should only convert files with a .html extension to .blade.php.
  • If the currently opened file does not have a .html extension, an informative message should be displayed to the user.
  • The implementation should use the VS Code API to determine the file extension.

Additional Context

This feature will enhance the robustness of the extension by preventing unintended file conversions and improving user experience.## Description
Implement a feature to change the extension of the currently opened file in the workspace from .html to .blade.php. This feature will ensure that only HTML files are converted to Blade templates.

Task

  1. Utilize the VS Code API to check the extension of the currently opened file in the workspace.
  2. If the file has a .html extension, proceed with the conversion to .blade.php.
  3. If the file does not have a .html extension, display an appropriate message to the user.

Acceptance Criteria

  • The extension should only convert files with a .html extension to .blade.php.
  • If the currently opened file does not have a .html extension, an informative message should be displayed to the user.
  • The implementation should use the VS Code API to determine the file extension.

Additional Context

This feature will enhance the robustness of the extension by preventing unintended file conversions and improving user experience.

@Bakugo90 Bakugo90 added good first issue Good for newcomers feature labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant