Opened 7 years ago

Closed 6 years ago

#542 closed Feature Requests (fixed)

save on unfocus

Reported by: lkwg82 Owned by: nobody
Priority: 5 Milestone: 1.2.0
Component: PHP Editor Version: 1.2.0-nightly
Keywords: autosave Cc:

Description (last modified by ed_mann)

if you are switching very often between shell and eclipse it would be nice to have an option to let eclipse save on unfocus.

--> already successfull implemented in SciTE scintilla.org

thx.

I dont know if it is concerned to epic or to eclipse-main project.

would be nice if you let me know.

Attachments (2)

save-on-blur.diff (14.2 KB) - added by mbowie 6 years ago.
Possible patch - initial rev.
save-on-blur_2.diff (17.1 KB) - added by ed_mann 6 years ago.
Save on Blur all working patch

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 years ago by nobody

Logged In: NO 

This is a very useful feature for web development.

Would love to see it implemented in the IDE.

comment:2 Changed 6 years ago by ed_mann

  • billable set to 0
  • Component changed from None to PHP Editor
  • Description modified (diff)
  • Keywords autosave added
  • Milestone set to 1.2.x
  • os_platform set to Linux
  • Version changed from None to 1.2.0-nightly

Changed 6 years ago by mbowie

Possible patch - initial rev.

Changed 6 years ago by ed_mann

Save on Blur all working patch

comment:3 Changed 6 years ago by ed_mann

I have attached a new patch to this ticket that incorporates the work that mbowie did and also the code that i worked on to enable this feature. I also removed "Remove trailing space on editor save" from the Typing tab under PHPeclipse->PHP, this is now in Editor where mbowie added it.

comment:4 Changed 6 years ago by ed_mann

  • Resolution changed from None to fixed
  • Status changed from assigned to closed

This is in changeset:1502. It has been tested and is working. Check the PHP Preferences Editor to turn on the feature.

Note: See TracTickets for help on using tickets.