Skip to content

Commit

Permalink
Merge pull request #96 from anb0s/v2_0
Browse files Browse the repository at this point in the history
v2.0
  • Loading branch information
anb0s authored Sep 29, 2016
2 parents 78787bc + aa08878 commit c502620
Show file tree
Hide file tree
Showing 239 changed files with 10,265 additions and 287 deletions.
132 changes: 76 additions & 56 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# EasyShell [![Build Status](https://travis-ci.org/anb0s/EasyShell.svg)](https://travis-ci.org/anb0s/EasyShell) [![Download EasyShell](https://img.shields.io/sourceforge/dt/pluginbox.svg)](https://sourceforge.net/projects/pluginbox/files/latest/download)
This eclipse plugin allows to open a shell window or file manager from the popup menu in the navigation tree or editor view. The current directory of the opened shell is the directory which was selected with the popup menu. Additionally it is possible to run selected file in the system shell and copy file or directory path. Multiple selections are also supported.
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!

![alt text](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_Menu_1.4.1.png "Menu")
![alt text](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.0_context_menu_windows.png "Context Menu @ Windows")

![alt text](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_Preferences_1.4.1.png "Preferences")
![alt text](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.0_popup_menu_windows.png "Popup Menu @ Windows (Alt+E)")

![alt text](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.0_multi-selection_dialog_windows.png "Dialog for multiple tool selection @ Windows (Alt+Shift+E)")

![alt text](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.0_preferences_menu.png "Preferences - Menu")

![alt text](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.0_preferences_menu_new.png "Preferences - Menu 'New'")

![alt text](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.0_preferences_menu_new_content_assist.png "Preferences - Menu 'New' with content assist")

![alt text](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.0_preferences_command.png "Preferences - Command")

![alt text](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.0_preferences_command_new.png "Preferences - Command 'New' with content assist")

Installation:
-------------
Expand All @@ -20,63 +32,71 @@ OR
Features:
---------

EasyShell does not support virtual folders, because they are not
present in the file system!

The plugin is platform-independent in principal. It just launches
a (configurable) system command to open the shell. The following
platform and shell combinations are supported as selections
available from the drop-down-list in the preferences page:
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. 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:
- DOS-Shell / Explorer
- PowerShell / Explorer (check path of PowerShell executable!)
- Cygwin (Bash) / Explorer (check path of Cygwin-bash executable!)
http://cygwin.com
- Console / Explorer
- Command prompt (known as DOS shell or cmd.exe)
- PowerShell
- Bash (Cygwin, Git for Windows, etc.)
http://cygwin.com, https://git-for-windows.github.io
- Console
https://sourceforge.net/projects/console
- DOS-Shell / TotalCommander
http://www.ghisler.com
- Git (Bash) / Explorer (check path of Git-bash executable!)
http://msysgit.github.io
- ConEmu / Explorer (check path of ConEmu executable!)
- ConEmu
https://code.google.com/p/conemu-maximus5/

Unix / Linux:
- KDE Konsole / Konqueror and Dolphin
- Gnome Terminal / Nautilus
- MAC OS X Terminal / Finder
- CDE Xterm / Dtfile (not tested!)

Other:
- Default / Unknown (can be defined for all systems supported by Java)

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. The following substitution variables are available
for building the command:

{0} = The drive letter (only Windows, not used on other platforms)<br/>
{1} = The selected directory path<br/>
{2} = The selected file or directory path<br/>
{3} = The selected file name<br/>
{4} = The project name of selected directory or path (for external files it's "Easy Shell")<br/>
{5} = The line separator<br/>

Option "Enable string tokenizer" with values "Yes, No" and default value "Yes".<br/>
The whole command line string will be splitted (tokenized) to single strings before expansion
of parameters {0} - {4} and passing to command line. With this solution there is no need to
surround parameters {0} - {4} with quotes when space character is possible between command
line option and parameter, e.g.: /D {1}. Otherwise maybe quotes are still needed,
e.g.: --working-directory="{1}".

Option "Add quotes to {1}, {2}, {3}*" with values "No, Single, Double, Automatic" and default
value "No". <br/>
If changed to other values, parameters will be eclosed with quotes.
ATTENTION: use it carefully with "string tokenizer" and remove quotes from commands.

Option "Enable debug output" with values "Yes, No" and default value "No".<br/>
If changed to "Yes", debug messages will be printed to error console.
- Cmder
https://github.com/cmderdev/cmder
- Explorer
- TotalCommander
http://www.ghisler.com

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

Unix (BSD, Mac OS X) or Linux:
- XDG Open
- KDE Konsole
- Konqueror
- Gnome Terminal
- Xfce Terminal
- Sakura Terminal
- ROXTerm
- Pantheon Terminal
- Dolphin
- Nautilus
- Nemo
- Thunar
- Pantheon
- PCManFM

MAC OS X
- Terminal
- Finder

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

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. 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: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)
- and all other available variables in Eclipse

License:
--------
Expand Down
2 changes: 2 additions & 0 deletions feature/.settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
2 changes: 1 addition & 1 deletion platform/Eclipse-3.8.target
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?pde version="3.8"?><target name="eclipse-3.8-Juno" sequenceNumber="8">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.sdk.ide" version="3.8.2.M20130131-0800"/>
<unit id="org.eclipse.sdk.ide" version="0.0.0"/>
<repository location="http://download.eclipse.org/eclipse/updates/3.8"/>
</location>
</locations>
Expand Down
2 changes: 1 addition & 1 deletion platform/Eclipse-4.4.target
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?pde version="3.8"?><target name="eclipse-4.4-Luna" sequenceNumber="6">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.sdk.ide" version="4.4.2.M20150204-1700"/>
<unit id="org.eclipse.sdk.ide" version="0.0.0"/>
<repository location="http://download.eclipse.org/releases/luna/"/>
</location>
</locations>
Expand Down
4 changes: 2 additions & 2 deletions platform/Eclipse-4.5.target
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?><target name="eclipse-4.5-Mars" sequenceNumber="2">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.sdk.feature.group" version="4.5.2.v20160212-1500"/>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.sdk.ide" version="0.0.0"/>
<repository location="http://download.eclipse.org/releases/mars/"/>
</location>
</locations>
Expand Down
2 changes: 1 addition & 1 deletion platform/Eclipse-4.6.target
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?pde version="3.8"?><target name="eclipse-4.6-Neon" sequenceNumber="4">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.sdk.ide" version="4.6.0.I20160428-0800"/>
<unit id="org.eclipse.sdk.ide" version="0.0.0"/>
<repository location="http://download.eclipse.org/releases/neon/"/>
</location>
</locations>
Expand Down
2 changes: 2 additions & 0 deletions plugin/.settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
5 changes: 4 additions & 1 deletion plugin/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ Bundle-Activator: de.anbos.eclipse.easyshell.plugin.Activator
Bundle-Vendor: Andre Bossert
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.core.resources
org.eclipse.core.resources,
org.eclipse.core.expressions,
org.eclipse.core.variables,
org.eclipse.jdt.core;resolution:=optional
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Bundle-ActivationPolicy: lazy
Bundle-ClassPath: target/easyshell-library.jar
3 changes: 2 additions & 1 deletion plugin/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ bin.includes = icons/,\
releases/README.TXT,\
releases/CHANGES.TXT,\
META-INF/,\
target/easyshell-library.jar
target/easyshell-library.jar,\
src/de/anbos/eclipse/easyshell/plugin/UIMessages.properties
src.includes = icons/,\
manpages/,\
releases/CHANGES.TXT,\
Expand Down
Binary file added plugin/icons/clipboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons/clipboard1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons/easyshell.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons/explore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons/explore1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons/explore2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons/macosx/explore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons/open.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons/run.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons/run1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons/run2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons/unknown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons/user.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons/windows/easyshell.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons_example/gif/console_view.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons_example/gif/copy.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added plugin/icons_example/gif/copy_edit_co.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons_example/gif/cpyqual_menu.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file added plugin/icons_example/gif/editor.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons_example/gif/editor_area.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons_example/gif/environment_obj.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin/icons_example/gif/exclusion_filter_attrib.gif
Binary file added plugin/icons_example/gif/external_tools.gif
Binary file added plugin/icons_example/gif/file_obj.gif
Binary file added plugin/icons_example/gif/filenav_nav.gif
File renamed without changes
Binary file added plugin/icons_example/gif/folder.gif
Binary file added plugin/icons_example/gif/goto_input.gif
Binary file added plugin/icons_example/gif/help.gif
Binary file added plugin/icons_example/gif/home_nav.gif
Binary file added plugin/icons_example/gif/prompt.gif
Binary file added plugin/icons_example/gif/properties.gif
File renamed without changes
Binary file added plugin/icons_example/gif/run_exc.gif
Binary file added plugin/icons_example/macosx/10.png
Binary file not shown.
Binary file added plugin/icons_example/macosx/Terminalicon.png
Binary file added plugin/icons_example/macosx/allmyfiles.png
Binary file added plugin/icons_example/macosx/[email protected]
Binary file added plugin/icons_example/macosx/finder.png
Binary file added plugin/icons_example/macosx/[email protected]
Binary file added plugin/icons_example/macosx/finder_16x16.png
Binary file added plugin/icons_example/macosx/icon_terminal_2x.jpg
Binary file added plugin/icons_example/macosx/terminal.png
Binary file added plugin/icons_example/macosx/url 2.png
Binary file added plugin/icons_example/macosx/url.png
Binary file added plugin/icons_example/macosx/url@2x 2.png
Binary file added plugin/icons_example/macosx/[email protected]
Binary file added plugin/icons_example/png/console_view.png
Binary file added plugin/icons_example/png/copy.png
Binary file added plugin/icons_example/png/copy_edit.png
Binary file added plugin/icons_example/png/copy_edit_co.png
Binary file added plugin/icons_example/png/copyviewtoclipboard_tsk.png
Binary file added plugin/icons_example/png/cpyqual_menu.png
Binary file added plugin/icons_example/png/easyshell.png
Binary file added plugin/icons_example/png/easyshell2.png
Binary file added plugin/icons_example/png/easyshell_new.png
Binary file added plugin/icons_example/png/easyshell_old.png
Binary file added plugin/icons_example/png/eclipse.png
Binary file added plugin/icons_example/png/editor_area.png
Binary file added plugin/icons_example/png/environment_obj.png
Binary file added plugin/icons_example/png/exclusion_filter_attrib.png
Binary file added plugin/icons_example/png/external_tools.png
Binary file added plugin/icons_example/png/file-new-16x16.png
Binary file added plugin/icons_example/png/file_obj.png
Binary file added plugin/icons_example/png/filenav_nav.png
Binary file added plugin/icons_example/png/fldr_obj.png
Binary file added plugin/icons_example/png/folder.png
Binary file added plugin/icons_example/png/goto_input.png
Binary file added plugin/icons_example/png/help.png
Binary file added plugin/icons_example/png/home_nav.png
Binary file added plugin/icons_example/png/prompt.png
Binary file added plugin/icons_example/png/prompt2.png
Binary file added plugin/icons_example/png/prompt_old.png
Binary file added plugin/icons_example/png/prompt_old2.png
Binary file added plugin/icons_example/png/properties.png
Binary file added plugin/icons_example/png/run_exc.png
Binary file added plugin/icons_example/test/Command Prompt.png
Binary file added plugin/icons_example/test/Prompt.png
Binary file added plugin/icons_example/test/Terminal (2).png
Binary file added plugin/icons_example/test/Terminal (3).png
Binary file added plugin/icons_example/test/app_terminal.png
Binary file added plugin/icons_example/test/app_terminal_16x16.png
Binary file added plugin/icons_example/test/terminal (1).png
Binary file added plugin/icons_example/test/terminal-19.png
Binary file added plugin/icons_example/test/terminal-icon.png
Binary file added plugin/icons_example/test/terminal.gif
Binary file added plugin/icons_example/test/terminal.png
74 changes: 74 additions & 0 deletions plugin/icons_example/test/terminal.svg
Binary file added plugin/icons_example/test/terminal_16x16.png
Loading

0 comments on commit c502620

Please sign in to comment.