Open utterances-bot opened 3 years ago
Hey! Thanks for this.
Is the code for this public? I noticed that it doesn't detect projects that start with a dot. e.g. .dotfiles
This would be resolved by adding dot: true
in the following line:
const names = await glob('*', { cwd: wd, onlyDirectories: true, dot: true });
@bluprince13 Feel free to update the extension. But why is the project starts with a dot?
Yeah, I did on my system. I just thought it’d be nice to update the source code too, but don’t think you’ve made it public?
Ahaha I guess it’s rare. But, some people have such a repo to keep their config. Mine for example: https://github.com/bluprince13/.dotfiles
@bluprince13 https://github.com/vivaxy/alfred-open-in-vscode.
Added dot: true
and released with npm.
Nice 🙂
Love it! Is there a way that the bar will show all available folders in the path without typing anything after "code"?
Hi @DanielOfir, thank you for the support.
It's not possible to show all available folders when code
is typed. Because code
means open folder in VSCode currently.
But it could be possible to show all folders when code
is typed. Related codes: https://github.com/vivaxy/alfred-open-in-vscode/blob/main/index.js#L86.
Alfred 4 Workflow Open in VSCode - vivaxy's Blog
Alfred 4 Workflow Open in VSCode
https://vivaxyblog.github.io/2019/08/14/alfred-workflow-open-in-vscode.html