News for hackers. Stuff that matters.
Re:Why Emacs: Redux by mumblemumble on Wednesday November 17, 2021 @08:43AM (#29252832)
Java support is, unfortunately, iffy in every editor that isn't made by JetBrains.

I've recently got Python working well. It can be done. The deeper problem - and this is admittedly ubiquitous in emacs - is that the defaults are awful, and there is not even good discoverable official documentation about what configuration you should use because everyone's just a wee bit too content to allow, "We have a very welcoming community on IRC!" to stand in for a proper new user experience.

Re:Why Emacs: Redux by throwaway2037 on Wednesday November 17, 2021 @11:37AM (#29255269)
Hi. I am absolutely a dyed-in-the-wool JetBrains "fanboi", but I need to counter this statement: <<Java support is, unfortunately, iffy in every editor that isn't made by JetBrains.>>

Both Eclipse and NetBeans are outstanding (and free) Java IDEs. To be clear: I write this as someone who does not make extensive use of plug-ins with IntelliJ. I am almost exclusively using the default plug-ins provided by JetBrains. For many, many years, NetBeans was (enviably) considered the Gold Standard for Java Swing GUI design that was drag-and-drop. I knew developers who used NetBeans only for GUI design, then IntelliJ or Eclipse for other work!

Finallly, I have never used Visual Studio Code, but I also assume -- at this point -- that it is very good with Java. The speed at which their community has grown is simply breathtaking.

I am interested to hear from other people if this agree or disagree with me.

Re:Why Emacs: Redux by quanticle on Wednesday November 17, 2021 @12:24PM (#29255926)
>Finallly, I have never used Visual Studio Code, but I also assume -- at this point -- that it is very good with Java. The speed at which their community has grown is simply breathtaking.

Unfortunately, that's not the case. I tried using VSCode with its Java development extension pack last week and I found that it was nowhere near as polished as, for example, its Python or Typescript extensions, both of which are gold standard. I ended up switching back to IntelliJ.

Re:Why Emacs: Redux by approxim8ion on Wednesday November 17, 2021 @02:56PM (#29258104)
This is my experience as well, VSCode has been excellent for TypeScript, but it is lacking a lot when it comes to Java. I'm much happier with Eclipse. I'm sure IntelliJ is great too but Eclipse works fine for me and I've never felt the need to drop it.
Re:Why Emacs: Redux by ReleaseCandidat on Wednesday November 17, 2021 @08:56AM (#29252976)
> I've recently got Python working well

I can't complain about Python except I didn't succeed in using the projects local pipenv automatically.

Re:Why Emacs: Redux by rwilson4 on Wednesday November 17, 2021 @09:27AM (#29253394)
Have you considered a .dir-locals.el file?
Re:Why Emacs: Redux by ReleaseCandidat on Wednesday November 17, 2021 @09:56AM (#29253822)
That's actually how I ended up doing it. But not dynamically running `pipenv --venv` but hard-coding the path to the virtualenv, which I don't like :(
Re:Why Emacs: Redux by bananaoomarang on Wednesday November 17, 2021 @10:28AM (#29254339)
In case it helps:

I have struggled with a similar thing (poetry not pipenv, but should be applicable) and came to this working solution: https://github.com/bananaoomarang/dotfiles/blob/master/emacs...

Basically: if poetry project file exists in project root, get the path for the active venv with poetry and activate with the emacs pyvenv package. This adds a little jank when switching projects I haven't looked into ironing out yet but it is functional.