wiki:Features/CommandLineWindow

Description

While Padre is primarily a GUI based IDE we (ok, at least some of us) think that using the command line has advantages at least in some of use-cases. For example there is no really usable way in a GUI to remember and to select from the names of the last 100 or 1000 opened files. On the command line (shell) of Unix it is quite simple to look up previous commands in the history.

This can be very useful if I want to open a file I opened a while ago or if I want to open a file which has a similar name to what I had earlier. The Command Line Window of Padre is an experiment to provide an integrated way to enjoy the features of command line with the IDE.

Tickets

Ticket Resolution Summary Owner Reporter
#1172 Integrate the Recent File feature with the command line window szabgab

Test

  1. enable the command line window. View -> Show Command Line Window.
  2. press ? to get the list of commands.
  3. :! cmd - run command in shell. do :! ls to get the list of files and dirs.
  4. :e filename - open file. do :e Padre.pm (or every other file) to open the file on padre.
  5. :history - shows the history of all the commands.
  6. :keycatcher Number - shows the value of a single event.
  7. :padre cmd - runs a perl command. example: :padre Padre::Current->main->message("hi").

TODO

  • A lot more features need to be added before this becomes really usable.
Last modified 4 years ago Last modified on Mar 17, 2011, 6:30:04 AM