https://pantsbuild.org/ logo
#development
Title
# development
p

proud-dentist-22844

06/28/2022, 10:45 PM
I was just reading the 2.12 blog draft that talks about BSP. Is BSP only for Java/Scala? Or could it help PyCharm integrate better with pants too?
w

witty-crayon-22786

06/28/2022, 10:47 PM
good question. there have been prototypes of using BSP for C/C++, and the IntelliJ people who work on BSP have been pushing to make it more widely adopted. there is no fundamental reason why it couldn’t be useful for Python, but the Python plugin for IntelliJ is closed source, unfortunately
from the Pants side, we could absolutely expose BSP information for Python.
p

proud-dentist-22844

06/28/2022, 10:53 PM
The community edition is Apache 2 licensed. Here’s the plugin: https://github.com/JetBrains/intellij-community/tree/master/python
w

witty-crayon-22786

06/28/2022, 10:53 PM
ah, TIL!
p

proud-dentist-22844

06/28/2022, 10:54 PM
I happen to pay for the professional edition. 🤷 But, I used the community edition for awhile before I had reason to upgrade.
w

witty-crayon-22786

06/28/2022, 10:55 PM
so yea, we have a line to the folks who work on BSP at Jetbrains… last i heard they were moving the implementation from a JVM-specific location to a general plugin that could be used more easily by multiple backends
p

proud-dentist-22844

06/28/2022, 10:55 PM
sweet. Better pants integration with PyCharm (and GoLand) would be fantastic.
w

witty-crayon-22786

06/28/2022, 10:55 PM
i can file a ticket about it with more info if that would be useful, although it’s pretty speculative
1
👍 1
p

proud-dentist-22844

06/28/2022, 10:56 PM
GoLand, on the other hand, is not open source 😢
b

bitter-ability-32190

06/29/2022, 6:03 PM
❤️ 1
p

proud-dentist-22844

06/29/2022, 7:15 PM
You posted the same link twice… 😜
😵 1
b

bitter-ability-32190

06/29/2022, 7:30 PM
fixed 😅
p

proud-dentist-22844

06/29/2022, 7:54 PM
Cool. So, what? We add the python extension support in pants and then wait for JetBrains to add it to PyCharm? (or someone who does Java can figure out how to contribute to the open source python extension I linked to… I am not into Java so that person is not me.)
b

bitter-ability-32190

06/30/2022, 12:31 AM
I have no clue. I'll probably reach out privately and see whats what. FWIW I have 0 personal motivation until VS Code supports BSP. But my devs do use JetBrains stuff 🤔
👍 1