You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
#github-linkify-cmssw
2
2
3
-
This Chrome extension turns `#include X` in C/C++ files, and `import X`/`from X import Y`/`process.load(XXX.YYY.ZZZ_cff)` in python config files, into hyperlinks when viewing CMSSW files on Github.com, so you can get to the includes easily. (I don't know why this hasn't been done already.)
3
+
This Chrome extension turns `#include X` in C/C++ files, and `import X`/`from X import Y`/`process.load(XXX.YYY.ZZZ_cff)` in python config files, into hyperlinks when viewing CMSSW files on Github.com, so you can get to the includes easily. It works on the central repo AND your forks. (I don't know why this hasn't been done already.)
4
+
5
+
C++ bonus: it even adds links to the related src files (if they exist).
4
6
5
7
## Instructions
6
8
@@ -32,4 +34,12 @@ Maybe I'll do a Firefox equivalent some day. If I ever get this one done.
32
34
33
35
8) Once you've made your edits, hit the Reload button below the extension (or ctrl/cmd+R on the chrome://extensions page) and reload your cmssw page to see your work in action!
34
36
37
+
## TODO/Ideas
38
+
39
+
- use github API?
40
+
- options page to add loacation of headers for non-CMSSW repos?
41
+
- or auto lookup - e.g. if #include "myEvent.h" link to same folder/myEvent.h, or #include "../myObj.h" link to ../myObj.h ?
42
+
- options page? (keyboard shortcut, etc)
43
+
- allow you to custom define where header files are?
"description": "Turns #include statments in C++ files, and import X/from X import Y/process.load(XXX.YYY.ZZZ_cff) in python config files, into links when browing CMSSW on Github.",
0 commit comments