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

New files creates only in the root folder? #2

Open
Zormon opened this issue Jan 11, 2024 · 2 comments
Open

New files creates only in the root folder? #2

Zormon opened this issue Jan 11, 2024 · 2 comments
Assignees

Comments

@Zormon
Copy link

Zormon commented Jan 11, 2024

When i run a command (like "Moodle: New Version File"), the file is always created on the root of the project, not on current plugin or selected folder, making these shortcuts useless. There is any form of making them in the correct subdir of the folder tree?

Thanks

@ManuelGil
Copy link
Owner

Hi @Zormon ,

This extension is designed so that some files are created directly in the root folder since trying to detect the active folder is a complex process that may not give the best results. However, it is possible to add functionality to add the folder in which the file should be created.

In a few days I can realize the implementation of this functionality. I appreciate your interest and I hope to have this feature as soon as possible so you can continue to enjoy this extension.

@ManuelGil ManuelGil self-assigned this Jan 11, 2024
@ManuelGil
Copy link
Owner

ManuelGil commented Jan 13, 2024

Hello again,

I have already integrated the new feature in the latest update.

If you want to create a new file in a specific folder, you can right click on the folder and select the New File option in the Moodle Pack context menu. This will create a new file in the selected folder and open the file in the editor.

demo

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