Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6803151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:18:33+00:00 2026-05-26T19:18:33+00:00

Whenever I press Ctrl + S in eclipse to save source code I want

  • 0

Whenever I press Ctrl + S in eclipse to save source code I want some custom CMD on shell to run on my CentOS host. How can I do that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T19:18:34+00:00Added an answer on May 26, 2026 at 7:18 pm

    Your best bet is to add an external builder to your project. You can choose to run an ant script or an arbitrary program (like /bin/bash) with arguments of your choice. Every time a project resource is saved (like a file) your builder will be run. See Ant Project Builders for a discussion on external builders.

    The Java Editor has Save Actions that can be activated and customized, but AFAIK they don’t include the ability to run a program. See Preferences > Java > Editors.

    If you can write plugins, you can also add an org.eclipse.core.commands.IExecutionListener to the org.eclipse.ui.commands.ICommandService and listen for the Save command (org.eclipse.ui.IWorkbenchCommandConstants.FILE_SAVE). Then you can do anything that you can write in java. But the external project builders are probably the fastest way to what you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want my JTextPane to insert spaces whenever I press Tab. Currently it inserts
Whenever I run any jython program in Eclipse, I got the following error in
whenever i needed to test my web site, i used to press ctrl and
I want to get alerted whenever I press a key. I've tried: $('body').live('keyup', function()
I am making an application. Now what i want is that whenever user Press
Why isn't this code working? The app loads fine, however whenever I press the
How would I make the source text of a UITextView change whenever I press
Whenever you press comment on facebook, u can see the page move to textarea
I have an EditField in my program. whenever i press the 'sym' key on
I have Xcode 4.2 and whenever I run my app in the simulator and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.