Re: ANN: Script Editor Refactoring Support

2019-03-22 Thread Mark Wieder via use-livecode

On 3/22/19 4:28 AM, Richmond via use-livecode wrote:

That presumably means that people can clone that and fiddle about
with it themselves there rather than just on their desktops.

OR: it could mean that the intention is, eventually, to integrate this
into the LC IDE as a permanent feature.


Neither.
Since it's primarily a binary stack (I intended to make in an SO 
library, but it turned out I needed a few substacks and dialogs), 
placing it on github doesn't really offer any more advantages in terms 
of being able to clone the source. It's all FOSS anyway under an MIT 
license.


But as suggested, github allows other folks to subscribe to 
notifications and so get automatic notices of updates. That versus my 
having to upload new versions to revOnline, place announcements of the 
new version on both the forum and the lists. Also gives more exposure to 
folks who aren't normally on either of those two places. I, for example, 
rarely venture over to the web forum, and so I'm probably missing out on 
announcements of things that might catch my interest.


In short, I think revOnline/Sample Stacks/LiveCodeShare, in addition to 
having gone through way too many name changes over the years to keep 
track of (have you noticed that clicking on "Sample Stacks" in the IDE 
toolbar brings up a dialog named "revOnline" and if you try to find 
either of those on the livecode.com website you have to scroll all the 
way to the bottom, click in "Resources" on "Sample Stacks" and that 
takes you not to revOnline but to "LiveCode Share"? Which is 
download-only)... but I digress and lose the syntax of that sentence I 
was typing... getting back to it...


I think LiveCode Share has run its course. It was good for many years, 
and there have been rumors of a better replacement on the way for a good 
many years now as well, but I think it's just not up to the task any 
more. There is, for instance, no place to put extensions unless you 
enclose them in a stack. You can put extensions on the web forum, but 
there's no way to find them - like so many things LiveCode, you have to 
know they're there in order to look for them.


So github seems like a more logical place for distribution even if it's 
not taking advantage of the more git-related aspects of the platform. In 
addition, placing the repo in github allows me to distribute new updates 
with a simple git push.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-22 Thread Richmond via use-livecode

That presumably means that people can clone that and fiddle about
with it themselves there rather than just on their desktops.

OR: it could mean that the intention is, eventually, to integrate this
into the LC IDE as a permanent feature.

Richmond.

On 22.03.19 г. 9:09 ч., hh via use-livecode wrote:

Mark Wieder wrote:
Thanks to a suggestion from Mikey, the refactor plugin has been removed
from SampleStacks/LiveCodeShare and now lives at
https://github.com/mwieder/revRefactor

What's the purpose of such a move?

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: ANN: Script Editor Refactoring Support

2019-03-22 Thread hh via use-livecode
> Mark Wieder wrote:
> Thanks to a suggestion from Mikey, the refactor plugin has been removed
> from SampleStacks/LiveCodeShare and now lives at 
> https://github.com/mwieder/revRefactor

What's the purpose of such a move?

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Mark Wieder via use-livecode

On 3/21/19 7:42 PM, Robert Brenstein via use-livecode wrote:

Wow! Which versions of LiveCode is this baby compatible with?


The LC8 and LC9 series. Before that the IDE doesn't have proper hooks or 
the subscribe mechanism to support the plugin mechanics.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Robert Brenstein via use-livecode

Wow! Which versions of LiveCode is this baby compatible with?

On 20 Mar 2019, at 18:45, Mark Wieder via use-livecode wrote:


Announcing (60 days until the San Jose conference):

Script Editor Refactor Plugin
Brings refactoring support to the LiveCode Script Editor.
Place the plugin into your user Plugins folder.
After launching the script editor there will be a new Refactoring 
menuItem in the Edit menu.
The Refactoring menuItem will also appear in the contextual menu 
of the Script Editor.
The Refactoring menu is inspired by the JetBrains refactoring 
support in RubyMine, etc.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Mark Wieder via use-livecode

On 3/21/19 8:51 AM, Bob Sneidar via use-livecode wrote:

And another. Find Orphans flags all the values as unused constants in a 
constant declaration. Example:

constant cExcludedWords = 
"inc,incorporated,corp,corporation,co,comp,company,llc,llp,ltd"

produces a flag for "inc" "Incorporated" etc.


Ouch. Thanks. fixed on github.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Mark Wieder via use-livecode

On 3/21/19 3:41 AM, AndyP via use-livecode wrote:

This is outstanding..what a contribution to the community.

Found  one problem though..


No close/dismiss button.


Thanks. fixed on github.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Mark Wieder via use-livecode
Thanks to a suggestion from Mikey, the refactor plugin has been removed 
from SampleStacks/LiveCodeShare and now lives at


https://github.com/mwieder/revRefactor

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Bob Sneidar via use-livecode
And another. Find Orphans flags all the values as unused constants in a 
constant declaration. Example:

constant cExcludedWords = 
"inc,incorporated,corp,corporation,co,comp,company,llc,llp,ltd"

produces a flag for "inc" "Incorporated" etc. 

Bob S

> On Mar 21, 2019, at 03:41 , AndyP via use-livecode 
>  wrote:
> 
> This is outstanding..what a contribution to the community.
> 
> Found  one problem though..


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread AndyP via use-livecode
This is outstanding..what a contribution to the community.

Found  one problem though..

 

No close/dismiss button.



-
Andy Piddock 


My software never has bugs. It just develops random features. 

TinyIDE  a Free alternative minimalist IDE Plugin for LiveCode 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Andre Garzia via use-livecode
this is just TOO AWESOME One of the things I always complained is
the lack of refactoring support. Thanks a ton my friend.

On Thu, Mar 21, 2019 at 2:48 AM Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 3/20/19 2:53 PM, Mark Wieder via use-livecode wrote:
>
> > Here's a scenario that will probably break:
> > (save your work first)
>
> Heh. In trying to fix that, I broke it more, so I just uploaded version
> 2. Fun stuff, eh?
>
> --
>   Mark Wieder
>   ahsoftw...@gmail.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread Mark Wieder via use-livecode

On 3/20/19 2:53 PM, Mark Wieder via use-livecode wrote:


Here's a scenario that will probably break:
(save your work first)


Heh. In trying to fix that, I broke it more, so I just uploaded version 
2. Fun stuff, eh?


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread Geoff Canyon via use-livecode
This sounds awesome!

gc

> On Mar 20, 2019, at 10:45 AM, Mark Wieder via use-livecode 
>  wrote:
> 
> Announcing (60 days until the San Jose conference):
> 
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread Bob Sneidar via use-livecode
And I wasn't there??!? Dam me! Dam me to heck!!!

Bob S


> On Mar 20, 2019, at 12:25 , Richard Gaskin via use-livecode 
>  wrote:
> 
> Mark demo'd this at our recent LiveCode User Group in Pasadena.  It's cool.  
> You will want to download it.
> 
> -- 
> Richard Gaskin
> Fourth World Systems


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread Bob Sneidar via use-livecode
You are the freaking bomb! 

Bob S


> On Mar 20, 2019, at 10:45 , Mark Wieder via use-livecode 
>  wrote:
> 
> Announcing (60 days until the San Jose conference):
> 
> Script Editor Refactor Plugin
>Brings refactoring support to the LiveCode Script Editor.
>Place the plugin into your user Plugins folder.
>After launching the script editor there will be a new Refactoring menuItem 
> in the Edit menu.
>The Refactoring menuItem will also appear in the contextual menu of the 
> Script Editor.
>The Refactoring menu is inspired by the JetBrains refactoring support in 
> RubyMine, etc.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread Mark Wieder via use-livecode

On 3/20/19 12:04 PM, Kaveh Bazargan via use-livecode wrote:


Now to try and break them. :-)


Hmmmph... always some clown who wants to try to actually *use* stuff.

Here's a scenario that will probably break:
(save your work first)

If you have a handler in a script and a handler with the same name and 
the same parameter list in a different script in the same stack;

and if you change the signature of one of the handlers...

the calls to the handlers will be modified to match, but I *think* the 
other handler definition won't get a changed set of parameters.


Of course, if you have identical handlers in multiple scripts, it would 
be a better idea to move them up the food chain and just have one 
instance, but ymmv.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread Mark Wieder via use-livecode

On 3/20/19 1:52 PM, J. Landman Gay via use-livecode wrote:

Wow. The whole thing sounds really cool but this "go back" bit is 
something I've wanted forever. You mind reader, you.




Heh. I've needed to move that over from the glx2 editor for a long time 
as well. But I specifically added it with you in mind. :)


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread hh via use-livecode
So useful and so clever made ... 5/5 stars!

> Mark Wieder wrote:
> Uploaded to LiveCodeShare:
> http://livecodeshare.runrev.com/stack/934/revRefactor

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread J. Landman Gay via use-livecode

On 3/20/19 12:45 PM, Mark Wieder via use-livecode wrote:

Go Back (contextual menu only)
     Not strictly part of a refactoring process, but since I was 
reworking the Edit menu anyway...

     After a "Go to definition" call, this gets you back to where you were.


Wow. The whole thing sounds really cool but this "go back" bit is 
something I've wanted forever. You mind reader, you.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread Matthias Rebbe via use-livecode


> Am 20.03.2019 um 20:25 schrieb Richard Gaskin via use-livecode 
> :
> Mark demo'd this at our recent LiveCode User Group in Pasadena.  It's cool.  
> You will want to download it.

Not just to download, even to use it. ;)


Matthias



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread Richard Gaskin via use-livecode

Mark Wieder wrote:

> Script Editor Refactor Plugin
>  Brings refactoring support to the LiveCode Script Editor.
>  Place the plugin into your user Plugins folder.
>  After launching the script editor there will be a new Refactoring
>  menuItem in the Edit menu.
>  The Refactoring menuItem will also appear in the contextual menu
>  of the Script Editor.
>  The Refactoring menu is inspired by the JetBrains refactoring
>  support in RubyMine, etc.
...
> Uploaded to LiveCodeShare:
> http://livecodeshare.runrev.com/stack/934/revRefactor


Mark demo'd this at our recent LiveCode User Group in Pasadena.  It's 
cool.  You will want to download it.


--
 Richard Gaskin
 Fourth World Systems


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread Kaveh Bazargan via use-livecode
I'm beginning to like you Mark. ;-)

Extremely useful set of tools. Now to try and break them. :-)

On Wed, 20 Mar 2019 at 18:50, JJS via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Just reading the possibilities looks awesome already. Have to check it out.
>
> Op 20-3-2019 om 19:45 schreef Jacques Hausser via use-livecode:
> > I had a dream…now it’s real ! Thanks !
> >
> > Jacques
> >
> >> Le 20 mars 2019 à 19:40, Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> a écrit :
> >>
> >> On 3/20/19 11:31 AM, Matthias Rebbe via use-livecode wrote:
> >>> Thanks for this great enhancement.
> >>> The rename handler is something i would have needed yesterday... Took
> me some time, but with your enhancement i would have been just some clicks
> and some typing.
> >> Ah... sorry about that... I was going to release it yesterday, but the
> "Go Back" feature needed a bit more tweaking.
> >>
> >> --
> >> Mark Wieder
> >> ahsoftw...@gmail.com
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> > **
> > Prof. Jacques Hausser
> > Department of Ecology and Evolution
> > Biophore / Sorge
> > University of Lausanne
> > CH 1015 Lausanne
> > please use my private address:
> > 6 route de Burtigny
> > CH-1269 Bassins
> > tel:  ++ 41 22 366 19 40
> > mobile:   ++ 41 79 757 05 24
> > E-Mail:   jacques.haus...@unil.ch
> > ***
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



-- 
Kaveh Bazargan PhD
Director
River Valley Technologies  • Twitter
 • LinkedIn

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread JJS via use-livecode

Just reading the possibilities looks awesome already. Have to check it out.

Op 20-3-2019 om 19:45 schreef Jacques Hausser via use-livecode:

I had a dream…now it’s real ! Thanks !

Jacques


Le 20 mars 2019 à 19:40, Mark Wieder via use-livecode 
 a écrit :

On 3/20/19 11:31 AM, Matthias Rebbe via use-livecode wrote:

Thanks for this great enhancement.
The rename handler is something i would have needed yesterday... Took me some 
time, but with your enhancement i would have been just some clicks and some 
typing.

Ah... sorry about that... I was going to release it yesterday, but the "Go 
Back" feature needed a bit more tweaking.

--
Mark Wieder
ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread Jacques Hausser via use-livecode
I had a dream…now it’s real ! Thanks !

Jacques

> Le 20 mars 2019 à 19:40, Mark Wieder via use-livecode 
>  a écrit :
> 
> On 3/20/19 11:31 AM, Matthias Rebbe via use-livecode wrote:
>> Thanks for this great enhancement.
>> The rename handler is something i would have needed yesterday... Took me 
>> some time, but with your enhancement i would have been just some clicks and 
>> some typing.
> 
> Ah... sorry about that... I was going to release it yesterday, but the "Go 
> Back" feature needed a bit more tweaking.
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread Mark Wieder via use-livecode

On 3/20/19 11:31 AM, Matthias Rebbe via use-livecode wrote:

Thanks for this great enhancement.
The rename handler is something i would have needed yesterday... Took me some 
time, but with your enhancement i would have been just some clicks and some 
typing.


Ah... sorry about that... I was going to release it yesterday, but the 
"Go Back" feature needed a bit more tweaking.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread Matthias Rebbe via use-livecode
Thanks for this great enhancement.
The rename handler is something i would have needed yesterday... Took me some 
time, but with your enhancement i would have been just some clicks and some 
typing.

Matthias

Matthias Rebbe

free tools for Livecoders:
https://instamaker.dermattes.de 
https://winsignhelper.dermattes.de 

> Am 20.03.2019 um 18:45 schrieb Mark Wieder via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> Announcing (60 days until the San Jose conference):
> 
> Script Editor Refactor Plugin
>Brings refactoring support to the LiveCode Script Editor.
>Place the plugin into your user Plugins folder.
>After launching the script editor there will be a new Refactoring menuItem 
> in the Edit menu.
>The Refactoring menuItem will also appear in the contextual menu of the 
> Script Editor.
>The Refactoring menu is inspired by the JetBrains refactoring support in 
> RubyMine, etc.
> 
> Rename Handler
>Allows you to rename in just the current script or all scripts in the 
> stack.
> 
> Rename Variable
>Both Rename Handler and Rename Variable change all uses of the object.
> 
> Convert Literal To Constant
>Creates a constant for the selected literal value.
>For instance, converts the string literal "hello" to
>constant kHello = "hello"
>and changes all references of "hello" to use kHello, i.e.,
>  put kHello into tVariable
>instead of
>  put "hello" into tVariable
> 
> Change Signature
>Change the parameter list for a command or function.
>For instance, change "myCommand pKey" to "myCommand pKey, pValue"
>Modifying parameters will modify calls to the handler in all scripts in 
> the stack.
> 
> Safe Delete
>Only deletes the handler/variable if nothing is using it.
>Otherwise you get a warning specifying where it's used.
> 
> Move Handler To
> Copy Handler To
>These allow you to select a new home for the selected handler.
> 
> Create Getter and Setter
>Allow external access to a script local variable.
>The handlers will be named after the variable name:
>local ArrayName
>becomes
>  command setArrayNameTo pValue
>and
>  function ArrayName()
> 
> Add Documentation
>Creates documentation for a handler in the form
>/**
>* HandlerName
>* parameters
>* Returns (if a function)
>* returnValues
>*/
>The documentation format is stored as a custom property template and can 
> be modified if desired.
> 
> Add Test
>Adds a template unit test for the selected handler to a file in the same 
> folder as the stack.
>The file has the same name as the stack with the ".tests" extension.
>The tests file is intended to be run using Ah, Software's TestRunner unit 
> testing stack.
>The unit test format is stored as a custom property template.
>Modifying it will probably cause it to cease functioning.
> 
> Convert Global To
>Script Local
>Getter and Setter
>Property
> 
> Convert Variable To
>Script Local
>Parameter
>Property
> 
> Extract To
>Creates a new handler from the selected block of code in the current 
> script.
> 
> Find Orphan Code
>Displays a list of unused local variables and uncalled handlers.
>Double-click a list item to select it in the script editor.
> 
> Undo Last Refactor
>There's a full undo first-in-last-out stack mechanism for those oops 
> moments.
>Issues a warning if you attempt to undo changes already saved to disk.
> 
> Go Back (contextual menu only)
>Not strictly part of a refactoring process, but since I was reworking the 
> Edit menu anyway...
>After a "Go to definition" call, this gets you back to where you were.
> 
> Uploaded to LiveCodeShare:
> http://livecodeshare.runrev.com/stack/934/revRefactor 
> 
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread Paul Dupuis via use-livecode

WOW


On 3/20/2019 1:45 PM, Mark Wieder via use-livecode wrote:

Announcing (60 days until the San Jose conference):

Script Editor Refactor Plugin
    Brings refactoring support to the LiveCode Script Editor.
    Place the plugin into your user Plugins folder.
    After launching the script editor there will be a new Refactoring 
menuItem in the Edit menu.
    The Refactoring menuItem will also appear in the contextual menu 
of the Script Editor.
    The Refactoring menu is inspired by the JetBrains refactoring 
support in RubyMine, etc.


Rename Handler
    Allows you to rename in just the current script or all scripts in 
the stack.


Rename Variable
    Both Rename Handler and Rename Variable change all uses of the 
object.


Convert Literal To Constant
    Creates a constant for the selected literal value.
    For instance, converts the string literal "hello" to
    constant kHello = "hello"
    and changes all references of "hello" to use kHello, i.e.,
  put kHello into tVariable
    instead of
  put "hello" into tVariable

Change Signature
    Change the parameter list for a command or function.
    For instance, change "myCommand pKey" to "myCommand pKey, pValue"
    Modifying parameters will modify calls to the handler in all 
scripts in the stack.


Safe Delete
    Only deletes the handler/variable if nothing is using it.
    Otherwise you get a warning specifying where it's used.

Move Handler To
Copy Handler To
    These allow you to select a new home for the selected handler.

Create Getter and Setter
    Allow external access to a script local variable.
    The handlers will be named after the variable name:
    local ArrayName
    becomes
  command setArrayNameTo pValue
    and
  function ArrayName()

Add Documentation
    Creates documentation for a handler in the form
    /**
    * HandlerName
    * parameters
    * Returns (if a function)
    * returnValues
    */
    The documentation format is stored as a custom property template 
and can be modified if desired.


Add Test
    Adds a template unit test for the selected handler to a file in 
the same folder as the stack.

    The file has the same name as the stack with the ".tests" extension.
    The tests file is intended to be run using Ah, Software's 
TestRunner unit testing stack.

    The unit test format is stored as a custom property template.
    Modifying it will probably cause it to cease functioning.

Convert Global To
    Script Local
    Getter and Setter
    Property

Convert Variable To
    Script Local
    Parameter
    Property

Extract To
    Creates a new handler from the selected block of code in the 
current script.


Find Orphan Code
    Displays a list of unused local variables and uncalled handlers.
    Double-click a list item to select it in the script editor.

Undo Last Refactor
    There's a full undo first-in-last-out stack mechanism for those 
oops moments.
    Issues a warning if you attempt to undo changes already saved to 
disk.


Go Back (contextual menu only)
    Not strictly part of a refactoring process, but since I was 
reworking the Edit menu anyway...
    After a "Go to definition" call, this gets you back to where you 
were.


Uploaded to LiveCodeShare:
http://livecodeshare.runrev.com/stack/934/revRefactor




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

ANN: Script Editor Refactoring Support

2019-03-20 Thread Mark Wieder via use-livecode

Announcing (60 days until the San Jose conference):

Script Editor Refactor Plugin
Brings refactoring support to the LiveCode Script Editor.
Place the plugin into your user Plugins folder.
After launching the script editor there will be a new Refactoring 
menuItem in the Edit menu.
The Refactoring menuItem will also appear in the contextual menu of 
the Script Editor.
The Refactoring menu is inspired by the JetBrains refactoring 
support in RubyMine, etc.


Rename Handler
Allows you to rename in just the current script or all scripts in 
the stack.


Rename Variable
Both Rename Handler and Rename Variable change all uses of the object.

Convert Literal To Constant
Creates a constant for the selected literal value.
For instance, converts the string literal "hello" to
constant kHello = "hello"
and changes all references of "hello" to use kHello, i.e.,
  put kHello into tVariable
instead of
  put "hello" into tVariable

Change Signature
Change the parameter list for a command or function.
For instance, change "myCommand pKey" to "myCommand pKey, pValue"
Modifying parameters will modify calls to the handler in all 
scripts in the stack.


Safe Delete
Only deletes the handler/variable if nothing is using it.
Otherwise you get a warning specifying where it's used.

Move Handler To
Copy Handler To
These allow you to select a new home for the selected handler.

Create Getter and Setter
Allow external access to a script local variable.
The handlers will be named after the variable name:
local ArrayName
becomes
  command setArrayNameTo pValue
and
  function ArrayName()

Add Documentation
Creates documentation for a handler in the form
/**
* HandlerName
* parameters
* Returns (if a function)
* returnValues
*/
The documentation format is stored as a custom property template 
and can be modified if desired.


Add Test
Adds a template unit test for the selected handler to a file in the 
same folder as the stack.

The file has the same name as the stack with the ".tests" extension.
The tests file is intended to be run using Ah, Software's 
TestRunner unit testing stack.

The unit test format is stored as a custom property template.
Modifying it will probably cause it to cease functioning.

Convert Global To
Script Local
Getter and Setter
Property

Convert Variable To
Script Local
Parameter
Property

Extract To
Creates a new handler from the selected block of code in the 
current script.


Find Orphan Code
Displays a list of unused local variables and uncalled handlers.
Double-click a list item to select it in the script editor.

Undo Last Refactor
There's a full undo first-in-last-out stack mechanism for those 
oops moments.

Issues a warning if you attempt to undo changes already saved to disk.

Go Back (contextual menu only)
Not strictly part of a refactoring process, but since I was 
reworking the Edit menu anyway...

After a "Go to definition" call, this gets you back to where you were.

Uploaded to LiveCodeShare:
http://livecodeshare.runrev.com/stack/934/revRefactor

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode