https://pantsbuild.org/ logo
#general
Title
# general
w

wide-midnight-78598

08/08/2022, 3:03 AM
Fun little Sunday project results. Apparently creating a VSCode extension is wayyyy easier than I had previously assumed 🙂 Monitoring my source roots and transitive targets in the VS Code sidebar
❤️ 7
😮 1
4
👀 2
b

busy-vase-39202

08/08/2022, 4:40 PM
I hope you open source that! 🙏
w

wide-midnight-78598

08/08/2022, 4:41 PM
Yep, without the BSP its kinda meh, but it just calls to the pants script and its decent enough for what i need to visualize without constantly running terminal commands
As requested: https://github.com/robotpajamas/suspenders Also, @busy-vase-39202 I just realized I used the Pants logo without express permission - but I guess it was under the implicit understanding that whenever this plugin becomes half-decent, it gets pulled into the
pantsbuild
organization and out of my org - so we have people to maintain it.
If anyone has any ideas of what they think could be simple enhancements to the IDE plugin (noting that I haven't integrated the BSP, so "very simple" is probably more like it)... Feel free to create an issue here https://github.com/RobotPajamas/suspenders/issues My focus is on introspection, because I think it's useful but not worth constantly typing the commands in. However, the treeview on the left will have stuff like "package this target", "test this target", etc
h

happy-kitchen-89482

08/09/2022, 3:26 PM
This is seriously great! People have been asking for better VSCode support for a long time
w

wide-midnight-78598

08/09/2022, 3:28 PM
My "let me make something to make my life marginally easier" nature plays out well in open source communities 🙂
❤️ 2
b

bitter-ability-32190

08/09/2022, 3:29 PM
Love extensions like this. Makes me wanna eat em up. Nom nom nom. My maintainer 2c is we should probably consider the lifecycle of an "official" extension, as undoubtedly it'll see many changes as it grows and matures.
Ownership is another concern. As we onboard more cool and exciting things (yay) we should be prepared to own it. Right now I have no idea how we'd own this (although I'm personally very interested) in terms of CI/CD, branching+release, etc...
w

wide-midnight-78598

08/09/2022, 3:31 PM
For sure, which is why it's living in one of my orgs right now - so much more to actually releasing software than just building it - that's like 50%
b

busy-vase-39202

08/09/2022, 3:32 PM
That question seems like potentially a good topic for next week's meetup...?
3
b

bitter-ability-32190

08/09/2022, 3:32 PM
Last time I released a VS Code extension (a few years back) it wasn't too crazy. I'd be happy if this was published. I'd likely install and try it out. We should probably just be mindful of namesquatting on "Pants" or whatever
w

wide-midnight-78598

08/09/2022, 3:45 PM
We should probably just be mindful of namesquatting on "Pants" or whatever
Currently robotpajamas.suspenders 🙂
👀 1
🙌 1
1
b

bitter-ability-32190

08/10/2022, 12:02 PM
On a particularly slow day, I might look into BUILD file language support
w

wide-midnight-78598

08/10/2022, 12:09 PM
I was looking into that and pants.toml support, but I wasn't really sure how they're natively working. For the Pants.toml validation, looks like you need a toml extension. Language support is possible, but I was assuming that would be rolled in with the experimental-bsp (which hopefully relates to lsp stuff) - with the goal of not re-doing that which is already in progress
b

bitter-ability-32190

08/10/2022, 12:15 PM
I don't think there's any ongoing work for Python bsp. Additionally, I'm not sure vs code supports a Python bsp (I think it's still suuuper young over at jetbrains). Lastly, it'd be purely lsp, likely just piggy-backing off the existing pyright lsp support
w

wide-midnight-78598

08/10/2022, 1:08 PM
aahh, okay okay, I thought IDE integration via the BSP would include LSP and was actively in prog. Cool beans
Mind creating a ticket for it?
b

bitter-ability-32190

08/10/2022, 1:36 PM
❤️ 1
b

busy-vase-39202

08/10/2022, 4:35 PM
Are there questions y'all have for JetBrains about the roadmap on this? Happy to track down someone in JetBrains devrel to pass that forward to.
b

bitter-ability-32190

08/10/2022, 4:37 PM
I got involved on some issue somewhere. But Idk when I'll realistically have the time to learn the Python BSP 🙂
4 Views