start_jupyter_cm icon indicating copy to clipboard operation
start_jupyter_cm copied to clipboard

Remove only QTConsole

Open lwbaqueros opened this issue 1 year ago • 1 comments

Is it possible to install a context menu for only JupyterLab, for example? Or add an option to remove to remove all or only the desired CM entry (Jupyter Notebook, Jupyte Labo, or QTConsole)?

lwbaqueros avatar Jan 08 '24 14:01 lwbaqueros

This isn't currently possible but It shouldn't be difficult to implement:

  • pass the argument https://github.com/hyperspy/start_jupyter_cm/blob/8c344cbaf4380e2781542a6cf6d9d7e9b7fdb063/start_jupyter_cm/command.py#L6-L10
  • Edit the various the relevant for loop for each platform, for example: https://github.com/hyperspy/start_jupyter_cm/blob/8c344cbaf4380e2781542a6cf6d9d7e9b7fdb063/start_jupyter_cm/windows.py#L60

ericpre avatar Jan 08 '24 16:01 ericpre