ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

CMSSWLookup

by riga ALL

Sublime Text 2/3 Plugin for easy CMSSW code lookup.

Labels cern, cmssw

Details

Installs

  • Total 122
  • Win 86
  • Mac 26
  • Linux 10
Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

CMSSW Lookup Sublime Text 2/3 Plugin

This ST2/3 plugin lets you easily lookup python based CMSSW code from within your config files.

Usage

  1. (Text-) Select an import path of a CMSSW module, i.e. the path passed to the process.load call or the module path of a real python import.

  2. Execute the CMSSW Lookup command, e.g. via the command palette.

  3. If a quick panel shows up, select the lookup type: you either may want to open a python file or a directory. By default, your webbrowser will open the desired resource on github.com.

cmsswlookup usage

With the default configuration, the example above opens https://github.com/cms-sw/cmssw/blob/CMSSW_5_3_19/RecoJets/JetProducers/python/ak5GenJets_cfi.py.

Configuration

This plugin comes with a small number of package settings to guarantee proper results on your OS.

  • branch: the branch to want to lookup, defaults to master
  • url_format: the url format you like to use, defaults to https://github.com/cms-sw/cmssw/blob/{branch}/{path}
  • open_cmd: the command your OS uses to open websites

Development