EasyShell - This Eclipse plugin allows to open a shell window or file manager from the popup menu in the navigation tree or editor view. Additionally it is possible to run selected file in the shell, copy file or directory path or run user defined external tools. Key shortcuts and multiple selections are also supported!
Clone or download
anb0s [v2.2] testing of build 2.2.0.v20181108-1757 #169
new fixed issues in this build:
- [x] #160 add support for CDT include and binary containers
- [x] #162 add support for CDT include browser
- [x] #168 "Copy Qualified Name to Clipboard" does not work in editor
- [x] added CDT SKD to all target platforms
- [x] added all target platforms to Travis CI build matrix
- [x] added target platform for Eclipse Photon (4.8)
- [x] set Eclipse 4.8 (Photon) as default target
- [x] removed openjdk7, because new Tycho (>=0.25) needs Java 8
- [x] README wth-Eclipse logo
- [x] moved GitHub related files to .github
- [x] updated copyright year to 2018
- [x] added oraclejdk9 to build matrix
- [x] Update tycho version to 1.2.0
- [x] updated the version to 2.2.0 and minimum Java 8 (JavaSE 1.8)
- [x] added openjdk10 and oraclejdk10
- [x] added Eclipse Photon 4.9 (2018-09) target platform
- [x] removed oraclejdk10 and added openjdk11

Signed-off-by: Andre Bossert <anb0s@anbos.de>
Latest commit 1ce137a Nov 8, 2018

README.md

EasyShell

Version Issues Chat @ gitter Build Status License

This Eclipse plugin allows to open a shell window or file manager from the popup menu in the navigation tree or editor view. Additionally it is possible to run selected file in the shell, copy file or directory path or run user defined external tools. Key shortcuts and multiple selections are also supported!

Installation:

Eclipse Markeplace: http://marketplace.eclipse.org/content/easyshell

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

OR

Use update site: http://anb0s.github.io/EasyShell

OR

Download EasyShell from GitHub OR Download EasyShell from SourceForge Download EasyShell

extract it to "eclipse\dropin" folder and restart.

Features:

The plugin is platform independent in principal. It just launches a (configurable) system command to open the shell, file explorer or other user defined command. It also copies path etc. to clipboard. Just open context menu for an Eclipse editor or selected resource in some view:

context_menu_windows context_menu_Linux

Keyboard-shortcuts:

Alt + E: Main popup menu (Windows)

popup_menu_windows

Alt + Shift + E: execute multiple commands for selection(s)

multi_selection_dialog_windows multi_selection_dialog_linux

Shortcuts that executes the command directly if only one defined or opens a popup menu like Alt + E reduced for category:

Alt + O: Open Here (shell)

popup_menu_linux

Alt + R: Run with (shell)

Alt + X: Explore

Alt + C: Copy to Clipboard

Alt + U: User defined category

Special not available for all OS:

Alt + D: Open with Default application

Supported OS and commands:

The following platform, shell combinations and tools are supported as selections available in the preferences page. The user can define own commands and menues or just adapt the predefined ones!

Windows:

Linux:

MAC OS X

  • Terminals
    • Open
    • Terminal
    • iTerm
  • File Browsers
    • Finder

All OS

  • Copy to clipboard:
    • Full Path
    • Full Path Unix (@Windows)
    • Qualified Name
    • ... more configurable...

If path to your tool is not added to PATH variable, please add it or adapt the command in EasyShell!

Preferences:

preferences_general

preferences_menu

preferences_menu_edit

preferences_menu_edit_filter

preferences_menu_edit_content_assist

But you can configure any shell or command you like as long as you can figure out how to run a command to open the shell with given parameters or execute the tool you want.

preferences_command

preferences_command_new_content_assist

The following substitution variables are available for building the command:

  • ${easyshell:resource_loc} = absolute path of file or directory
  • ${easyshell:resource_name} = name of file or directory
  • ${easyshell:resource_basename} = name of file without extension
  • ${easyshell:resource_extension} = extension of file name (without '.')
  • ${easyshell:resource_path} = relative path to workspace of file or directory
  • ${easyshell:container_loc} = absolute path of file directory or directory itself
  • ${easyshell:container_name} = name of file directory or directory itself
  • ${easyshell:container_path} = relative path to workspace of file directory or directory itself
  • ${easyshell:parent_loc} = absolute path of parent directory, for files it's equal to ${easyshell:container_loc}
  • ${easyshell:parent_name} = name of parent directory, for files it's equal to ${easyshell:container_name}
  • ${easyshell:parent_path} = relative path to workspace of parent directory, for files it's equal to ${easyshell:container_path}
  • ${easyshell:project_loc} = absolute path of project
  • ${easyshell:project_name} = name of project
  • ${easyshell:project_path} = relative path to workspace of project
  • ${easyshell:windows_drive} = drive letter of file or directory on Windows
  • ${easyshell:qualified_name} = full qualified (class) name
  • ${easyshell:line_separator} = line separator, e.g. '\n' (Unix) or '\r\n' (Windows)
  • ${easyshell:path_separator} = path separator, e.g. ':' (Unix) or ';' (Windows)
  • ${easyshell:file_separator} = file separator, e.g. '/' (Unix) or '\' (Windows)
  • ${easyshell:script_bash} = Bash script (internal)
  • and all other available variables in Eclipse

The following substitution variables are available for building the menu name:

  • ${easyshell:command_category} = command category
  • ${easyshell:command_type} = command type
  • ${easyshell:command_name} = command name
  • ${easyshell:command_os} = command operating system

License:

https://eclipse.org/org/documents/epl-v10.html

with-Eclipse logo