r/javahelp • u/[deleted] • Aug 24 '21
Codeless Is VSCode or Eclipse better as an IDEA replacement?
I am on my way into a new job in which I’ll have to use a Remote Desktop to do my work. That’s okay. But that means I won’t get an IDEA license for my private stuff.
I sometimes do some programming, but not to the extend that buying a license for my stuff would make a lot of sense. I mainly do Spring Boot and Angular projects.
So I was thinking about using Eclipse. But to be honest I am not sure how “alive” it is when looking at IDEA an VSCode.
I am not quite sure which is better for Java related programming: VSCode or Eclipse? What are your opinions?
5
u/wildjokers Aug 24 '21
It isn’t clear to me why you can’t use IntelliJ anymore. What does Remote Desktop have to do with it? What IDE does your new job use?
1
Aug 24 '21
It has IDEA but not on my local computer. And I won’t do my private work on a Remote Desktop which I have no control over.
7
u/wildjokers Aug 24 '21
IntelliJ CE is free. And a personal license for Ultimate isn't that expensive.
1
u/joxxer42 Aug 24 '21
If you have a personal license you can use it in more than one location, just not simultaneously. I believe there is a doc on their website indicating this.
4
Aug 24 '21
Just get IDEA community?
1
Aug 24 '21
It does not have support for Spring or Java EE.
3
3
u/nutrecht Lead Software Engineer / EU / 20+ YXP Aug 25 '21
It works just fine. It misses some goodies but you can still use Spring/Jakarta. IntelliJ CE is still miles better than Eclipse. And VSCode is not suitable for Java development.
1
6
u/dionthorn this.isAPro=false; this.helping=true; Aug 24 '21
Intellij idea community edition is free and plenty powerful for private work. Eclipse is good and has decades of support. VSCode is not designed for java but could work much like you could program in notepad++, you can, you probably shouldn't when better tools exist.
https://www.jetbrains.com/idea/download/#section=windows
Second download is CE free.
2
1
Aug 24 '21
I just checked it does not have support for Java EE or Spring
5
u/dionthorn this.isAPro=false; this.helping=true; Aug 24 '21
You can run them using the Application run/debug configuration or via Maven/Gradle (like you would do in the command line, outside of any IDE).
for Java EE
https://stackoverflow.com/questions/6698847/how-to-use-java-ee-intellij-idea-community-edition
Configure a global library for your application server jars and add this global library to the module dependencies.
File -> Project Structure... -> Global Libraries -> + -> Java -> [choose root dir of server]
Here are the differences between Ultimate and CE
https://www.jetbrains.com/idea/features/editions_comparison_matrix.html
So while it doesn't expressly provide JavaEE support you can rework it too.
5
u/agathver Aug 24 '21
If you are doing Spring on CE, all you will miss is configuration auto-complete, template autocomplete and JS support. Plus Ultimate for individuals is not so expensive
3
u/strikefreedompilot Aug 24 '21
Use both is the best answer. I use eclipse/spring source for java programming / debugging. However the plugins are a bit dated so I typically have the proj opened with vs code for its git, docker, editing/viewing non-java files, etc
1
4
u/wsppan Aug 24 '21
Eclipse. Hands down. Its an actual IDE vs an editor with plugins. From the docs for VSCode
What is the difference between Visual Studio Code and Visual Studio IDE?
Visual Studio Code is a streamlined code editor with support for development operations like debugging, task running, and version control. It aims to provide just the tools a developer needs for a quick code-build-debug cycle and leaves more complex workflows to fuller featured IDEs, such as Visual Studio IDE.
1
u/evil_burrito Extreme Brewer Aug 24 '21
IMO, IDEs are actually pretty much interchangeable in terms of function. They all pretty much do the same things and all do them pretty much equally well.
What makes the difference is how familiar/comfortable the developer is with the IDE in question. I have used VS, NetBeans, Eclipse, IDEA, etc over the years. My current muscle memory is tuned to Eclipse. Trying to change to IDEA would be fine, but, it would slow down my development for some time until I relearned.
In other words, if you don't already know the IDE, the learning curve is probably going to be the same for any of them. Use the one with the most uptake in the ecosystem (other people at your new job use it) or the one with the most favorable license terms. You'll be up to speed on it in no time and have no trouble.
2
Aug 24 '21
I use VSCode for smaller things like YAML and Node, and I also tried it for Java but it felt slow compared to IDEA.
In IDEA I am very much used to the keyboard shortcuts. It is really good! But as I said, that I don’t think buying a license would make sense, since I do not too often use it in my spare time.
1
u/evil_burrito Extreme Brewer Aug 24 '21
So, go with the one whose license terms you're most comfortable with. Be prepared to put in some time learning/relearning shortcuts, etc. It won't take long, maybe a day or so of solid work. Then, you'll be just as comfortable with the new IDE as you are with the old one.
1
Aug 24 '21
Good point, I did not think about the license so far. Eclipse is an open source license whereas the VSCode has some special license that belongs to the VSCode binary. Weird stuff.
What I really like are IDEs which just work. I guess then Eclipse might be the better choice. With code I’ll need to install many extensions to get the same experience. I think I’ll give Eclipse a try and if it doesn’t work I’ll try VSCode.
2
2
2
2
1
Aug 25 '21
VS Code is good.
I can use it for a small project but mainly I think the problem it still have is code refactoring and business level Gradle support
0
•
u/AutoModerator Aug 24 '21
Please ensure that:
Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
You include any and all error messages in full
You ask clear questions
You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.
Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar
If any of the above points is not met, your post can and will be removed without further warning.
Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://imgur.com/a/fgoFFis) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.
Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.
Code blocks look like this:
You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.
If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.
To potential helpers
Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.