nodpc / jn-npp-plugin

Automatically exported from code.google.com/p/jn-npp-plugin
0 stars 0 forks source link

Clearcase scripting: dynamic vs snapshot views [code attached] #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is more of a discussion starter than an issue.

I am really thankful that you chose to continue developing this plugin. I find 
the ClearCase scripting functionality really useful.

However, as I work mainly with snapshot views, the base Clearcase.js file is 
not working for me.

I found a version for snapshot views here: 
http://sourceforge.net/p/notepad-plus/discussion/482781/thread/b83fde50

I took that as a baseline, added "Open previous version" and "Find checkouts" 
menu items, made sure all of them work on snapshot views and added keyboard 
hints, so you could check out a file by Pressing Alt+a, o.

Here is what I've got, maybe someone would find it useful:
https://gist.github.com/anonymous/5c2cb5d8271e2faee5f0

The question I have is:
What are your thoughts on integrating both versions, for dynamic and snapshot 
views?
I see both of them share a lot of common code, would it make sense to detect if 
the file is in a dynamic view, and activate the dynamic functionality, or a 
snapshot view, and activating the alternative implementation.

I am willing to investigate if the above is possible, but I don't have an easy 
way to debug what I'm writing. Do you have any hints on how I could easily 
debug the scripts?

Thank you,
Arcadie.

Original issue reported on code.google.com by arcadie...@gmail.com on 1 Mar 2013 at 10:38

Attachments:

GoogleCodeExporter commented 9 years ago
I'll handle this one.

Original comment by eugen.kr...@gmail.com on 30 Apr 2013 at 8:21

GoogleCodeExporter commented 9 years ago
Hello Arcadie,
I don't know if it is possible to debug the scripts running inside of jN. I 
tried Windows Script 
Debugger(http://www.microsoft.com/de-de/download/details.aspx?id=1757). But it 
did not work for jN. It works for IE. Obviously it is necessary to implement 
something additional to get it working inside of jN.

Original comment by eugen.kr...@gmail.com on 3 May 2013 at 6:06

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r76.

Original comment by eugen.kr...@gmail.com on 5 May 2013 at 7:04

GoogleCodeExporter commented 9 years ago
Debugging functionality relevant links
http://msdn.microsoft.com/en-us/magazine/cc301316.aspx
http://e.craft.free.fr/ActiveScriptingLostFAQ/hostdebug.htm
https://groups.google.com/forum/?fromgroups#!forum/microsoft.public.scripting.de
bugger

Original comment by eugen.kr...@gmail.com on 5 May 2013 at 7:46

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r77.

Original comment by eugen.kr...@gmail.com on 5 May 2013 at 10:58

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r78.

Original comment by eugen.kr...@gmail.com on 8 May 2013 at 8:10

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r79.

Original comment by eugen.kr...@gmail.com on 8 May 2013 at 11:52