Is there any quick way to find what goals apply to...
# general
t
Is there any quick way to find what goals apply to what target?
w
Like, programmatically? Soon... https://github.com/pantsbuild/pants/pull/20331
t
Nice! Is this for a specific VSCode plugin?
w
Yep https://github.com/robotpajamas/suspenders Finishing the Peek PR and fixing up the plugin are next on my list, once I finish this migration tool for an upcoming pants internal syntax change
t
Is that your Repo? Because I forked it and added some, what I think, are improvements.
image.png
w
Yep, that's me. I have a bunch of tickets to cover a swathe of new features (and re-factorings), but only freed up time as of a few days ago 🙂
PRs welcome.
t
Sweet. It's not a huge change, but it provides nice quality-of-life for me, and (eventually) my team as I'm getting them to use Pants.
w
Dope. This is the big ticket I need to get done which is blocking most of my updates
t
Agreed. I'll hold off on anything else until this gets pushed through. You'll get a PR here soon.
w
👍 I should be back on that peek PR next week (I hope). Need to write a performance check to see whether i can put goals in by default, or if its costly. Then basically, all the context menu actions can trigger off those goals
I must be mis-remembering, I thought I had a nested targets layout, not flat?
t
The
main
branch actually only renders `FolderTreeItem`'s and doesn't create `TargetTreeItem`'s from a BUILD file in the project root.
This PR should fix that.
🎉 1
Aside from the actual functionality of being able to run a target in-IDE, I like the sanity-check for targets and having the IDE intellisense BUILD files.
So, you get a from me 🙂
🎉 1
w
The
main
branch actually only renders `FolderTreeItem`'s and doesn't create `TargetTreeItem`'s from a BUILD file in the project root.
Ahhhh, I didn't update the targets I guess - was waiting on getting peek running
, I like the sanity-check for targets and having the IDE intellisense BUILD files.
I've got some LSP stuff coming down the pipe too, working on first-class support for our build files - some of my clients are vscode users and more into data science, and don't want to fumble around with figuring this kinda stuff out
t
No worries. I have actually been using JetBrains IDEA for a while, but the WSL/Remote development was just HORRENDOUS. Decided to give VSCode another shot and it's working a treat. Then I found your pants extension and was like 😮
w
🙂 I dropped IntelliJ about 5 years ago, just too slow, can't do it. Anytime I go back into Android Studio, it's pain 😢