Sublime Forum

Open Source Sublime Text

#17

We have a custom package at my work, and I’m the main package maintainer. I generally found what I need with current APIs, so I hardly have the need to view/modify the source code of Sublime.

Having said that, the main dev architect is concerned about not being opened source, since the company can do very little to protect it’s assets when you have a closed system. Which I totally understand, when I see it from their eyes. We are a small company, I can hardly imagine how worried would be a company like Facebook or Google to run software that has access to their source code, which is basically their more important asset.

So, in general, +1 to open source it, I’m sure I could get my bosses to pay more licenses if it would :slight_smile: I also understand Sublime developers, they probably don’t want copycats taking their ideas, but there are licenses that can protect your code while letting others like us helping with some bugs.

Regards,
Jose

1 Like

#18

While that’s of course a valid consideration, I’d be more worried about the plugins than the core application. Does your architect disallow them, or does he review them all?

Some cases in point: Atom has analytics built in; look at what happened with Kite hijacking minimap and autocomplete_python for Atom; or SidebarEnhancements for Sublime which also tracks users. Of course them being open source makes it easier to “catch” them, but usually only after lots of users getting violated.

Are you going to review all source code for Atom or are you going to trust Sublime’s devs having their livelihoods depend on the product being trusted by peers? Do you review all source code in Ubuntu, or do you trust it? Wether or not something’s open source is secondary at best, IMO.

Edit, also…

I’m sure I could get my bosses to pay more licenses if it would

… bosses tend to not pay for things they can get for free :wink:

9 Likes

#19

This crashes are cause by the package:

  1. https://github.com/shagabutdinov/sublime-goto-last-edit-enhanced "GotoLastEditEnhanced"

Removing that package fixes this issue. On build 3142, the crashes seems to be fixed, however it created another similar issue:

  1. https://github.com/SublimeTextIssues/Core/issues/1846 add_regions causes Sublime Text to hang for ever after eating 1.81GB of RAM

Which stills present on the new version of the package https://github.com/shagabutdinov/sublime-goto-last-edit-enhanced/pull/4

0 Likes

#20

Nice. It had to be something like that, glad you found it.

1 Like

#21

I see your point, and obviously it’s impossible to track every development and review every code, but that’s one of the proposes of having an open source software, this review is done by a large community.

Also, it’s not about not trusting Sublime devs, they can also be hacked and they could be releasing a hacked binary without even knowing it. Being open source just adds more layers of control. Some linux distributions have incredible package maintainers that do a great job releasing and controlling the software, to name just one of those possible layers.

And you are right about bosses, haha, but fortunately it’s not a problem at my company. We are paying licenses for several other libraries and products already. A one time fee is pocket change for a company.

Jose

1 Like

#23

No, they use different programming languages and have different APIs. The only thing you may use on Visual Studio Code are the syntax definitions.

1 Like

#24

I have used Sublime for about a week now. I enjoy it for the most part.

Pro: nice layout, flexible key bindings, package control, REPL, multiple themes, autocomplete, matching brackets, matching quotes.

Con: install packages some packages require github and terminal knowledge. Even some good packages don’t have well-written manuals. key binding is written in JSON, you need to understand JSON. REPL is great, but needs some more work.

Overall: Sublime is my favorite. It would be nice if is better integrated with point-and-click and drop-down menus. For example, you need to browse package codes to make changes, not everything is in Preferences.

With that said, RStudio IDE is a successful open source IDE, they are doing well. SAS is proprietary software, and it is not. Octave is an open source, IMO not doing well. Matlab is proprietary, and it is doing well. So, it all depends on where the leadership of the team takes it.

0 Likes

#25

key binding is written in JSON, you need to understand JSON.

Atom and VS Code, too. But with latest PackageDev support for auto-completion of key bindings, settings and commands improved a lot and will improve further in near future.

Even some good packages don’t have well-written manuals.

One aspect of what I meant with much room for open source lovers to contribute.

need to browse package codes to make changes, not everything is in Preferences

My favorite way to access package settings is Side-by-Side Settings. But there is indeed nothing which would prevent package developers to use the Preferences.sublime-settings to store package settings to by providing well formed settings names prefixed with the package name.

0 Likes

#26

Packages such as sublimeREPL, package control, and key map should be standard shipment when you download ST.

They are essential and convenient. I don’t see why someone would not want it, if they really don’t want, they can uninstall.

This is what I meant by better integrated.

0 Likes

#27

Package Control makes network connections and downloads software onto your machine. It is also an open source piece of software that no one pays for, so it doesn’t get the same attention as Sublime Text itself does.

With recent versions of Sublime Text there is a command palette entry that makes it very simple to install Package Control for users who want it.

1 Like

#28

I’ve used sublime text for a long time and have never found a need for 2 out of those 3 packages.
I like the spartan starting conditions of a fresh sublime text install.
After that, just install what you need.

3 Likes

#29

The barrier to entry in is high if your background is not CS. While ST is light and versatile, tweaking/changing preferences is not easy. I spent a week changing THREE key bindings.

If you google all day, you will find what you need, that’s what I did.

Not the first user with such frustration, so, I’m just putting it out there.

0 Likes

#30

I love Sublime and have bought v2 and v3 but I am very worried about the bus factor. If anything happens to Jon, or simply enough time passes and he loses interest, then everyone who has invested time into learning how to use Sublime efficiently will be left high and dry as soon as it becomes incompatible with OS changes. It’s by far the fastest and cleanest GUI text editor, and it would suck for the source code to languish on someone’s hard drive. I really don’t think there’s that much economic reason to keep it open-source (it’s perfectly usable in trial mode anyway if people are looking to “pirate” a copy), and a no-resale license could protect Jon from bigger companies muscling him out with better/more support. To be honest, it seems quite selfish to hold something with so much public usefulness hostage. If you’ve already made a fair amount of income for the time you’ve already spent working on it, you don’t really have the moral right to keep it closed-source, and if you haven’t made a fair amount yet, you could always crowdsource an amount you think is fair in exchange for releasing the source. I’d be happy to contribute to that crowdfunding.

0 Likes

#31

SublimeHQ isn’t just Jon these days, so the bus factor isn’t as relevant

0 Likes

#32

I guess Jon is very happy developing Sublime Text and would definitely not like anyone else bossing him around how he should do stuff. I guess anyone does. I mean, if the code went public, he could spend most of this time review and rejecting pull requests other than actually coding stuff. Other than that, he would have to directly and equally compete with Atom and VSCode teams, which are much bigger than his. But even worse, while having a smaller team, Atom and VSCode directly code with JavaScript, which is very much high level than C++. Let explain this with a picture:

0 Likes

#33

I think you’ve misunderstood what I wrote. I am asking for a crowdfund to open-source the existing code, not all new code written from now on. No-one would be under any obligation, moral or legal, to obey the whims of anyone asking for PRs, submitting bug reports etc. All I want is for Sublime Text to exist free of capitalist influences and to not become obsolete if Sublime HQ becomes insolvent. Making the existing code open-source would not force Sublime to “compete” with other open-source editors any more than it already is; and if anything open-sourcing would only help Sublime in that regard.

0 Likes

#34

John already said he prefers Sublime Text project open source other than dead:

Jon Skinner: I’d rather see Sublime open sourced rather than abandoned, but it is a commercial venture, and it just doesn’t make any sense to both release it as open source and continue working on it.
What's happening

While his commercial venture keeps working for him, he will keep to closed source. Unless you buy it from him, and release it as Open Source. How much would you think Sublime Text worth and how much would motivate Jon Skinner to sell it to you open source it?

  • 3 million of dollars
  • 5 million of dollars
  • 10 million of dollars
  • 50 million of dollars
  • 250 million of dollars
  • 750 million of dollars
  • 1.5 billion of dollars
  • 4.0 billion of dollars
  • 5.0 billion of dollars

0 voters


But, if Jon sells Sublime Text to you and you open source it, (instead of keeping it private and selling licences), wbond, djohnston, karin would be unemployed. And:

  1. Who will work full time fixing Sublime Text bugs? People can only work on it occasionally, because either they work full time or no food.
  2. Who will pay to keep the Sublime Text website & forum online?
  3. What will @jps to do with 5.0 billion of dollars?

I think Jon would not think too much before open sourcing it, if you pay him that much. He would not have to work for the rest of his life anymore. Can someone crowdfund that much?

2 Likes

#35

Let’s not forget, once you’ve crowd funded it, and released it from “the shackles of capitalism”, unless a project like Sublime Text is funded by other big companies (Github funds their own Atom as Microsoft does with Visual Studio, but now they are both Microsoft, so who will survive :thinking:) development for such a large project may dry up.

I’ve never understood this fear that if a project isn’t open source it may die. There are many open source projects that are also dead or dying a slow death. Yes, there are also open source projects that thrive, but open sourcing a project does not guarantee its survival.

10 Likes

#36

free of capitalist influences

Do you have a recipe how to be free from capitalist influences in a capitalist world where even merely living in a flat or house (as opposed to living in a cave, dugout or tent) without any extra ambitions (food, travel, hobbies) costs money? Right, why don’t just we all make a living from donations and crowdfunding!

1 Like

#37

That’s a hilarious poll addons_zz.

20% of responders value Sublime Text at $5 billion - a valuation of that amount would mean Jon was making a post-tax profit of at least $250 million a year, but more realistically for this kind of business he’d be needing a yearly post-tax profit somewhere between $500 million and $1 billion. To achieve that he’d need to be getting something like 10-20 million new users every year (the entire population of a mid-sized country). This forum currently has 28,192 users - the lowest available figure in the poll of $3 million looks rather optimistic - most likely is that ST has generated revenue of a few million dollars during its entire 10-11 year existence and a valuation of less than $1 million would be more likely [note that: 28,192 * $80 = $2,255,360].

I doubt Jon is making more that $150-200 thousand a year from it, but nothing wrong with that. It’s a nice cottage industry with a very decent pay cheque, he’s his own boss, provided gainful employment to a handful of people, he’s created a much loved piece of software that’s used by tens of thousands of people, heavily influenced the design of modern coding editors, and earned the respect of those who have an idea of what he set out to do - Sublime HQ News November 2007 (start with the bottom post and work upwards). Also, while he might not have invented simultaneous editing, he certainly popularized it and I am almost certain that Sublime Text was the first coding editor to have them. That’s all pretty impressive in my book.

I’m very glad to hear that Jon would prefer to ‘see Sublime open sourced rather than abandoned’. But fingers crossed ST will continue to evolve and operate as a commercial product for a long time, I’m firmly of the view that if Jon quit and ST became an open source project that would be the beginning of its demise.

P.S. Just noticed that only 5 people voted in addons_zz’s poll, so 20% was 1 person. :slight_smile:

4 Likes