Login Register

Scratch 1.1 Released

We are happy to announce that version 1.1 of Scratch, the elementary Community text editor, has been released. This is an important step for the development of this editor which has become, especially as of this version, a serious choice for a GTK based text editor.

With 1.1 you will see many new features, such as:

  • New plugin system which now has a better structure and allows developers to write extensions in an easy way thanks to libpeas
  • Four plugins by default: Contractor, Pastebin, FileManager, and BashShell
  • Preferences dialog refactoring which is now a central part of the editor experience with a lot of settings to make your Scratch "more personal"
  • An option to run Scratch with a "set of extensions" was added to make the editor more extensible. It is a powerful feature which is now not heavily used, but you can find an example of this in lp:euclide (a good Vala CMake IDE for Scratch)
  • UI refactoring. The language selector is now in the text view's context menu and the search/replace/go to entries are now in a Find Bar
  • Added the possibility to auto save documents.

We'd like to spend a few words about that last feature mentioned. Nearly all text editors, regardless of the platform, require a click on a save button or an additional action to save the changes made by the user. With the auto save function (which is optional), this doesn't happen anymore; editing a file is like writing on a piece of paper. Everything is saved automatically without the need of additional actions. It may sound strange at first, but will quickly become very comfortable, and will likely be one of your favorite features.

In addition to adding these new features, we also fixed over 100 bugs and Scratch's memory usage was improved.

You can download the Scratch 1.1 source code from the Launchpad page of the project here, and you can install it easily using the elementary stable ppa (ppa:elementary-os/stable).

Thanks a lot to all the contributors!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
waspinator
Posted 1 year 1 day ago

since it auto saves after every key input, it would be nice for it to also save snapshots, or the undo history. Sometimes you change something, then realise you don't want to save any changes. At least there should be a complete undo history during the editing session to be able to cancel all changes and return to the original state.

eldelacajita
Posted 51 weeks 6 days ago

I agree with this. Saving snapshots/versions would be a good solution. Playback (even with a timeline like PiratePad) would be awesome.

abdumu
Posted 1 year 3 days ago

I cant work with line duplicate (CTRL + D) .. is there any chance to configure the keyboard shortcut map

Developer
Mefrio
Posted 1 year 3 days ago

it was implemented and works. Maybe you can re try to use it? :)

nanotime
Posted 1 year 3 days ago

hey! Scratch have a themes editors? xD

gazornonplat
Posted 1 year 5 days ago

Neat, but does it have syntax highlighting for .rpy files? :)

Developer
mbarvian
Posted 1 year 5 days ago

That about dialog is the sex guys. Looks so polished :)

Coonkies
Posted 1 year 5 days ago

Is GTK3 or GTK2 based ?

Developer
Mefrio
Posted 1 year 5 days ago

Gtk 3, as all elementary's apps

Paer76
Posted 1 year 1 week ago

They did the same to Noise. Keep on doing that and luna. will finaly gets Released! Nice WORK As always

kevinzhow
Posted 1 year 1 week ago

get closer to release luna

elementaryben
Posted 1 year 1 week ago

Raleway looks nice in action.

Designer
Harvey Cabaguio
Posted 1 year 1 week ago

That's open sans light lol.

skulbuny
Posted 1 year 5 days ago

Good on you guys to use Open Sans. Best free alternative to Helvetica, in my opinion.

elementaryben
Posted 1 year 6 days ago

Hilarious! I'm so excited about Luna I'm "seeing" Raleway everywhere.

-- This message typed in Raleway...

kushalsharma83
Posted 1 year 1 week ago

This looks great and autosave definitely makes it a number one choice for a text editor for me. However, the convenience of accessing Tomboy through the notification area and creating a new note right there -- not to mention the ability to have all my notes accessible through one panel and have them synchronized through Ubuntu One -- will still keep me preferring Tomboy over any other text editor for light note taking.

From a non-programming end user's perspective, I wonder if implementing these features in a text editor would have some merit as well.

Developer
Shnatsel
Posted 1 year 4 days ago

We have a separate app for note taking in development.

Yaseen Noorani
Posted 1 year 1 week ago

The last feature is very very nice, it's a good touch on your part.
Well done

h4k
Posted 1 year 1 week ago

"I want to spend a few words about the last feature I mentioned. All text editors, in Linux and not, need a click on a save button or an additional action to save the changes made by the user." - Not true, this is not a original feature in the software world... congrats anyway

Developer
Mefrio
Posted 1 year 1 week ago

I don't know editors that implement auto save as in Scratch. Other editors save files every two or three seconds. In Scratch the text is saved really at every change with no disk usage problems, this is the original thing :)

hadret
Posted 1 year 5 days ago

Check out scribes: https://launchpad.net/scribes

Developer
Mefrio
Posted 1 year 4 days ago

I can't see any form of auto save in Scribes

Idroy
Posted 1 year 4 days ago

Scribes does have auto save, but it's time based.

peedanee
Posted 1 year 1 week ago

Yeah, I use Scratch for some times now, and I like its auto-save feature. But as Dikoo said, Where is the FileManager plugin for scrath?

Developer
Mefrio
Posted 1 year 1 week ago

FileManager plugin uses the Marlin's libs so to get it you need to install Marlin

Dikoo
Posted 1 year 1 week ago

I have marlin and don't see File Manager plugin :<

Developer
Mefrio
Posted 1 year 1 week ago

if you compiled it manually, wait for the ppa build :)

Dikoo
Posted 1 year 1 week ago

Oh, I see, thanks :)

CraigE
Posted 1 year 1 week ago

Really really nice. The inclusion of a terminal extension is brilliant. And loving the 'cobalt' theme.

willeosoeurs
Posted 1 year 1 week ago

I've included some screenshot here : http://bit.ly/JEcFS3

Lazze
Posted 1 year 1 week ago

It looks stunning, I'm amazed how good GTK applications can look when developed with a specific Theme/Distro in mind.

zeeeeee
Posted 1 year 1 week ago

I've been using it for a while now. for real important work and all! :) congratulations, its one of the best polished elementary apps right now.

Lork Scorguar
Posted 1 year 1 week ago

Really nice release. Autosave feature is awesome.
It works very good on my elementary OS daily build

Developer
munchor
Posted 1 year 1 week ago

Congratulations on the release, perhaps a screenshot would make more people happy.

Mod
Jonathan
Posted 1 year 1 week ago

A screenshot would make us very happy. Especially those that can't get it via the ppa because it says that the package is deprecated (???).

joehms22
Posted 1 year 1 week ago

The PPA build happens in five hours, so you'll have to wait unless you build it yourself.

Dikoo
Posted 1 year 1 week ago

Wait, FileManager? Where? I see only Contractor, Bash Shell and PasteBin plugins :(

EDIT:

+1 for screens ;)

Felipaoo
Posted 1 year 1 week ago

A couple of screenshots would do pretty well. Fantastic news, btw!

matko.maricak
Posted 1 year 1 week ago

I like Sublime Text's approach to that. At the exit, all your progress and working state (including cursor position in the individual opened tabs) is saved externally and document stay unchanged.

bhaismachine
Posted 1 year 1 week ago

Good initiative but I just want to point out that there is an autosave feature already available in Gedit. Though it's based on time with minimum autosave period being one minute. Do you guys autosave each time change is made or it's the same as gedit after some specific time period?

Andrea
Posted 1 year 1 week ago

This is real autosave, it saves at every change.

bhaismachine
Posted 1 year 1 week ago

That's great ! Thanks.

Andrea
Posted 1 year 1 week ago

I absolutely confirm: autosave is just GREAT *-*

kalle_r
Posted 1 year 1 week ago

Great need to try it out :D

cruelangel
Posted 1 year 1 week ago

Could we get a screenshot? :3