Home Download Buy Blog Forum Support

Reducing sublime text 2 size

Reducing sublime text 2 size

Postby Ronins on Sun Mar 17, 2013 6:52 pm

Hello everyone,
I started using sublime text 2 couple of days ago, and I must say; I really am in love with it.
I have created my own test language, and i would really very much like to use Sublime text 2 as the editor for it. The only problem is size, and support for other languages (i need support for single language for this build). Can anyone please direct me to any link, or guide me, so that i can reduce the excess size of it, remove unnecessary features, and make it more slimmer?

Any help would be appreciated.

Regards,
Ronins

edit: by unnecessary features, i mean anything unimportant which can help reduce size, including deleting certain files (if necessary), removing support for other languages, so that they do not appear in set syntax list and similar optimisations..
Last edited by Ronins on Sun Mar 17, 2013 7:07 pm, edited 1 time in total.
Ronins
 
Posts: 8
Joined: Sun Mar 17, 2013 6:47 pm

Re: Reducing sublime text 2 size

Postby robertcollier4 on Sun Mar 17, 2013 7:06 pm

You can delete all the .sublime-package files except for "Default.sublime-package" and "Theme - Default.sublime-package" and "Color Scheme - Default.sublime-package". You can also look inside of .sublime-package files by renaming them to .zip
robertcollier4
 
Posts: 154
Joined: Sun Feb 24, 2013 5:37 pm

Re: Reducing sublime text 2 size

Postby Ronins on Sun Mar 17, 2013 7:10 pm

robertcollier4 wrote:You can delete all the .sublime-package files except for "Default.sublime-package" and "Theme - Default.sublime-package" and "Color Scheme - Default.sublime-package". You can also look inside of .sublime-package files by renaming them to .zip

thank you for your response, but removing some of those files are giving error messages upon launching sublime 2
Ronins
 
Posts: 8
Joined: Sun Mar 17, 2013 6:47 pm

Re: Reducing sublime text 2 size

Postby Ronins on Sun Mar 17, 2013 7:43 pm

Also, if possible, is there any stripped off version of sublime text 2 that can be directly by implementing syntax definitions for languages directly?
Ronins
 
Posts: 8
Joined: Sun Mar 17, 2013 6:47 pm

Re: Reducing sublime text 2 size

Postby karljs on Sun Mar 17, 2013 7:49 pm

I'm not sure what your plan is, but you should probably be aware that the EULA for Sublime Text forbids redistribution. Stripping out files of your own installation is probably fine.

http://www.sublimetext.com/eula
karljs
 
Posts: 10
Joined: Fri Jun 22, 2012 5:33 am

Re: Reducing sublime text 2 size

Postby Ronins on Sun Mar 17, 2013 8:07 pm

The idea is to use sublime text 2 as an editor for my programming language (it is not commercial, but simply personal).. Therefore, i need the minimal version of sublime (it is simply epic)..
Ronins
 
Posts: 8
Joined: Sun Mar 17, 2013 6:47 pm

Re: Reducing sublime text 2 size

Postby robertcollier4 on Sun Mar 17, 2013 8:54 pm

Keep Text.sublime-package as well.
robertcollier4
 
Posts: 154
Joined: Sun Feb 24, 2013 5:37 pm

Re: Reducing sublime text 2 size

Postby Ronins on Mon Mar 18, 2013 12:27 am

Done that.
Deleting those files interferes with creating new build systems.. I'll keep some backup files, so that wont be a problem..
Any more ways to reduce size effectively?
Ronins
 
Posts: 8
Joined: Sun Mar 17, 2013 6:47 pm

Re: Reducing sublime text 2 size

Postby jps on Mon Mar 18, 2013 1:38 am

Why do you want to reduce the size? The packages only add up to a few MB on disk.

As mentioned above, redistribution is not permitted, so bandwidth isn't an issue.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Reducing sublime text 2 size

Postby Ronins on Mon Mar 18, 2013 4:27 am

jps wrote:Why do you want to reduce the size? The packages only add up to a few MB on disk.

As mentioned above, redistribution is not permitted, so bandwidth isn't an issue.

redistribution is not an issue, because the language is more like college project (plus personal project). Anyways, sublime takes about 22mb on disk, so i was wondering if i could bring down that size, language itself being around 3-4mb..
Plus, its always great to have a language specific editor included..
Sublime has everything i can expect from an editor, and a lot more too.. So, sublime is the perfect candidate for making it editor.. That said, redistribution is not an issue, its more like cutting down size of individual's copy of the sublime..
Ronins
 
Posts: 8
Joined: Sun Mar 17, 2013 6:47 pm

Next

Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot], HAL9000 and 19 guests