You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request: Validate File Extension Before Conversion
Description
Before converting the currently opened file's extension to .blade.php, it is essential to verify that the file has a .html extension. This feature will ensure that only HTML files are converted to Blade templates.
Task
Utilize the VS Code API to check the extension of the currently opened file in the workspace. If the file has a .html extension, proceed with the conversion to .blade.php. Otherwise, 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.
The text was updated successfully, but these errors were encountered:
Feature Request: Validate File Extension Before Conversion
Description
Before converting the currently opened file's extension to
.blade.php
, it is essential to verify that the file has a.html
extension. This feature will ensure that only HTML files are converted to Blade templates.Task
Utilize the VS Code API to check the extension of the currently opened file in the workspace. If the file has a
.html
extension, proceed with the conversion to.blade.php
. Otherwise, display an appropriate message to the user.Acceptance Criteria
.html
extension to.blade.php
..html
extension, an informative message should be displayed to the user.Additional Context
This feature will enhance the robustness of the extension by preventing unintended file conversions and improving user experience.
The text was updated successfully, but these errors were encountered: