It is currently 26 Mar 2019, 08:35
   
Text Size

Edit script file directly from card explorer

Moderators: melvin, beholder, ubeefx, Lodici, ShawnieBoy, CCGHQ Admins

Edit script file directly from card explorer

Postby Lodici » 01 Jun 2014, 08:03

As discussed with @shawnieboy I have added the ability to open a script file in the default ".txt" editor by double-clicking on a card in the card explorer. This is only available if running in dev mode (-Ddebug or -DdevMode is true).

Note, any changes you make to a script will not be reflected in the explorer. It will require a restart. If it is an issue then I can look at adding a refresh option.
User avatar
Lodici
Programmer
 
Posts: 399
Joined: 13 Oct 2013, 09:44
Has thanked: 29 times
Been thanked: 71 times

Re: Edit script file directly from card explorer

Postby Lodici » 06 Jun 2014, 19:30

New update - now anyone can view a card's script and groovy file by double-clicking on a card in the explorer. Click on the file path to open in an external editor.
screenshot.png
User avatar
Lodici
Programmer
 
Posts: 399
Joined: 13 Oct 2013, 09:44
Has thanked: 29 times
Been thanked: 71 times

Re: Edit script file directly from card explorer

Postby ShawnieBoy » 06 Jun 2014, 21:13

=D>
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Edit script file directly from card explorer

Postby jerichopumpkin » 07 Jun 2014, 11:01

that's really cool, man!!!
jerichopumpkin
 
Posts: 212
Joined: 12 Sep 2013, 11:21
Has thanked: 19 times
Been thanked: 13 times


Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 1 guest

Login Form