Code Monkey home page Code Monkey logo

contextquickie2's Introduction

ContextQuickie2

Showing the Windows Explorer Context Menu in Eclipse

Current State

Under development, basic context menu handling is working. The explorer context menu items can be added to the Eclipcse context menu in different ways:

  • The whole explorer context menu is shown as submenu "Explorer" in the Elipse context menu
  • Only specific entries are added to the Eclipse context menu where the following tools are supported:
    • 7-Zip
    • Beyond Compare
    • Notepad++
    • Open With...
    • TortoiseGit
    • TortoiseHg
    • TortoiseSVN

The follwoing context menu entries are currently not supported (not sure why they are not working, looks like the can only be executed directly from the Windows Explorer):

  • Sharing (Entry "Share")
  • Modern Sharing (Entry "Give acces to")

The screenshots below show example context menus based on the described configuration.

Installation

Prerequisites

ContextQuickie2 requires an installed Microsoft Visual C++ Redistributeable package which can be downloaded here.

The release versions are available at the Eclipse Marketplace

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

Alternatively, you can use the following update sites when installing new software in eclipse:

Configuration

The behavior can be configured in the workspaces preferences:

ContextQuickie2 Preferences Page

Remarks

Menu Entry "Open"

The menu entry "Open" is implemented to open the selected files/folders with the Windows Explorer.

Progress Monitoring

Because there are context menu extensions which don't support synchronous invocation, the progress reporting to Eclipse is done by monitoring the child processes of Eclipse during invocation. If there is a new child process which is known to ContextQuickie2 after invoking a context menu command, the progress of the command execution can be monitored in Eclipse. If there isn't a new child process after invoking or a command or the process is unknown to ContextQuickie2, progress monitoring cannot be done.

Currently, the following processes are known to ContextQuickie2:

  • Bcompare.exe for Beyond Compare
  • TortoiseGitProc.exe for TortoiseGit
  • TortoiseProc.exe for TortoiseSVN
  • thgw.exe for TortoiseHg

The described behavior also affects refreshing the workspace after a command was executed. As an alternative, you can enable "Refresh using native hooks or polling" in the workspace preferendes to let Eclipse update your workspace independent of ContextQuickie2.

Examples

TortoiseGit in the Eclipse Context Menu (Main Menu)

TortoiseGit in the Eclipse Context Menu (Main Menu)

TortoiseGit in the Eclipse Context Menu (Submenu)

TortoiseGit in the Eclipse Context Menu (Submenu)

TortoiseHg in the Eclipse Context Menu (Main Menu)

TortoiseHg in the Eclipse Context Menu (Main Menu)

TortoiseHg in the Eclipse Context Menu (Submenu)

TortoiseHg in the Eclipse Context Menu (Submenu)

TortoiseSVN in the Eclipse Context Menu (Main Menu)

TortoiseSVN in the Eclipse Context Menu (Main Menu)

TortoiseSVN in the Eclipse Context Menu (Submenu)

TortoiseSVN in the Eclipse Context Menu (Submenu)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.