-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
VS code tasks don't show up if .vscode is excluded from project view. #25
Comments
I've noticed that VS Code won't search within hidden folders, however, I haven't found the document of how to change this behavior yet, I may find some workaround later. |
@RUSshy @lkytal I wrote a quick extension that just binds vscodes native workbench.action.tasks.runTask to a status bar item. This should show all the tasks available even when .vscode is hidden and also has the benefit of showing recent tasks at the top. I'll probably publish it within the next week. I'm calling it project tasks in every place I can so that it doesn't cause confusion with this extension. |
@haugerbr I'm considering switching to using the API 'workbench.action.tasks.fetchTasks', however, I'm examing whether this changes will break some backward compatibilities. |
@Ikytal I think you have some benefits scanning for tasks and customizing the view. Mine will be at the mercy of what vscode does with the task runner in the future. I just wanted it mainly so I could hide vs code and have recently used tasks at the top. |
@lkytal I see what you mean now. If that can work and solves the problem of hidden folders not contributing tasks then I think I'll switch back to using yours. Especially if there is a way to order and hide tasks in the dropdown menu. |
Should be fixed in version 3.5.0. |
If I want to hide the .vscode folder since it really shoudn't be shown in the explorer view, it causes the extension to not find the tasks.json file and those tasks do not show up in the view. Is there any way for the extension to still find the tasks with the folder or file hidden from the explorer view?
The text was updated successfully, but these errors were encountered: