-
Notifications
You must be signed in to change notification settings - Fork 12
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
Create new package in specified directory #108
Comments
@AdmiringWorm this is as per the initial design. I had envisioned having a folder structure similar to the AU template, where you would open the If we can make it so that the selected folder is the target for the new command, that would be pretty cool! |
opening the So honestly, that would be a noop for me. I do have a feeling it would be possible to get the selected folder though, although I haven't yet been able to figure out how. |
Found this: microsoft/vscode#3553 so unfortunately it seems it isn't possible to get the currently selected folder, unless creating a menu for the explorer would be an option. |
If having a context menu for when a user right-click a folder (which would be enough for me), I can look into implementing that. Thoughts? /cc @mkevenaar @gep13 |
@AdmiringWorm right click on the folder in vscode? Would work for me too! I think another option would be: |
That certainly is also an option. Personally I think I would prefer the ability to right click a folder though (mostly because I hate being prompted for input when it isn't necessary), not that any of them is mutually exclusive. |
@AdmiringWorm some good points being made here, especially with regard to the top level folder. I would have no objection to having a right click option on a selected folder. I would suggest that this is in addition to the |
@gep13 yeah of course, but I think the command and the menu context could use the same call as well (again, I haven't looked into this yet). Basically, allowing the command to be passed in an argument, if it's null use the default workspace, if not use the path passed in (if at all possible). |
@AdmiringWorm yip, that sounds like a good plan! |
@gep13 great. 😄 |
(GH-108) Adding ability to change the directory to create a new package to
Expected Behavior
Would expect the created package to be created in a subdirectory inside the directory that is selected.
Current Behavior
Currently the package will always be created in a subdirectory in the root of the workspace.
Possible Solution
Not sure yet.
Steps to Reproduce (for bugs)
Context
Makes me always need to move the package directory manually to a different location.
Your Environment
The text was updated successfully, but these errors were encountered: