nulld3v 20 days ago

Nothing. No obfuscation either really. Heavy obfuscation could hurt performance, and light obfuscation can break reflection that might be used by plugins.

There isn't much value in trying to protect their source code. IDEs are evolving rapidly in response to languages, any decompilation you prepare would be outdated immediately. And nearly all JVM programs can be trivially cracked anyways, even if heavily obfuscated/guarded.

IshKebab 20 days ago

They probably use an obfuscator. Standard practice for Java which is otherwise relatively easy to decompile.

Or they may not bother, because what are you going to do with that source code anyway? You don't need it to pirate the IDE, there's no secret sauce in there, and you obviously can't use it to make a competitor. There would be very little value in obtaining the code.

thesuperbigfrog 20 days ago

.jar files are just specially packaged .zip files for distributing Java programs and libraries.

.class files are Java bytecode.

What source code files are you seeing?

What are the filenames, etc.?

JetBrains's IDE source code would likely be Kotlin (.kt, .kts file extension) or Java (.java file extension) source code files.

  • cocoa19 20 days ago

    You can decompile class files into java files, so OP’s question makes sense. Same with C#.

rickette 20 days ago

They protect their source code by releasing awesome products that developers happily pay for (I do).

  • dansult 19 days ago

    Accurate. JetBrains IDEs are the only ones I'll use. Webstorm, PyCharm, GoLand - all wonderful.

  • codegeek 19 days ago

    The correct and only answer.

  • hahn-kev 20 days ago

    Yeah the company asset is not source code. It's the relationships with devs and trust built up over years of delivering.

not_your_vase 20 days ago

You mean that you have opened the class file, and saw the actual source code? Class file is supposed to be object-code (or whatever java calls that) - which can be decompiled (and sometimes even in a meaningful way), but generally it is not supposed to be the source itself...

(I just downloaded goland, and extracted a random jar file, and at least with that, the above paragraph seems to stand)

Tomte 20 days ago

Most of it is Open Source and on GitHub, anyway. So you shouldn‘t be surprised to see source code.

The Community edition lacks certain features, though.

  • yi_xuan 20 days ago

    Goland has no community version :)

    • Tmpod 20 days ago

      As far as I'm aware, all their IDEs are based on IDEA, almost acting as IDEA+special plugin, so a lot of code will still be the same. Of course, the language-specific stuff is not open, but as others have said, Java bytecode is fairly easily decompiled anyway.

    • Tomte 20 days ago

      Oh right, I always assume that JetBrains has the same strategy across its tools. Happened not for the first time. Thanks for reminding me!

popoxdev 19 days ago

I don't think they see this as a problem. If people really want to decompile the code they could. Most of it is open source already and the codebase is very large to make any competing product out of it.

uncomplexity_ 20 days ago

it's a lost cause. the people who want to pirate it will always find a way to circumvent efforts against it. better to spend efforts for people who pay than people who dont pay. better features for those who pay, instead of obfuscation for those who cant pay.

this is also good for those who cant pay, some of them are students or professionals who just simply dont have the budget yet.

  • razakel 19 days ago

    It's $40 a month for every product. That's affordable for anyone.

    • romperstomper 19 days ago

      you can also just pay for 12 months (sometimes it comes with some discount) or just pay month by month during last 12 months and you will have the perpetual fallback license after that which lasts forever (though you won't get updates until you start monthly payments again)

      • razakel 19 days ago

        Yeah, exactly. It's cheaper than an iPhone, whereas something like Visual Studio is more like the price of a used car.

softwaredoug 19 days ago

People overvalue source code and undervalue the institutional knowledge it represents.