You are here: PSPad forum > English discussion forum > Code Explorer

Code Explorer

Goto Page: 1 2 3 Next

#1 Code Explorer

Posted by: pythonui | Date: 2015-03-09 12:34 | IP: IP Logged

Is there any way to implement own code explorer(tree) for any file extension/type?

i.e , I have file extension "adap" (example) for that how can i?

Edited 1 time(s). Last edit at 2015-03-09 12:35 by pythonui.

Options: Reply | Quote | Up ^


#2 Re: Code Explorer

Posted by: pspad | Date: 2015-03-09 12:37 | IP: IP Logged

Code explorer user definition isn't possible at the presence. But if you will send me source code (samples with all possible cases) and description what do you want to see in the Code explorer, I will add it.

Options: Reply | Quote | Up ^


#3 Re: Code Explorer

Posted by: pythonui | Date: 2015-03-09 12:41 | IP: IP Logged

I have something like this in my file smiling smiley

Content:

---------
04-Mar-15
---------

=> Test1

---------
05-Mar-15
---------

=> Test2

Need:

I have no problem with extension.
Currently I have file with "tasks" extension.
I need to explore dates pattern in explorer only dates is there(like variables).
on select go to that date line(as in all case).

Edited 3 time(s). Last edit at 2015-03-09 12:47 by pythonui.

Options: Reply | Quote | Up ^


#4 Re: Code Explorer

Posted by: pspad | Date: 2015-03-09 13:02 | IP: IP Logged

There is PSPad scripting what can help you. E.g. ToDo script search for pattern and list it for you.

Or you can use simple search dialog with regular expressions.
Search for: ^\d{2,2}\-\w{3,4}\-\d{2,2}
[x]Regular expressions

And press List button

When you click on line in the result window, PSPad will brings you to line in original text.

Options: Reply | Quote | Up ^


#5 Re: Code Explorer

Posted by: pythonui | Date: 2015-03-09 13:06 | IP: IP Logged

Nice solution smiling smiley

But every time I have to search for " ^\d{2,2}\-\w{3,4}\-\d{2,2} " and list it and select it.

Not an issue.I will manage with this. :D

Any other fast shortcut for this ? smiling smiley

Thanks

Edited 1 time(s). Last edit at 2015-03-09 13:07 by pythonui.

Options: Reply | Quote | Up ^


#6 Re: Code Explorer

Posted by: pspad | Date: 2015-03-09 13:24 | IP: IP Logged

As I wrote, you can use PSpad scripting and made same thing using scripting similar as ToDo script does it. Then you will be able to call it with shortcut.

Options: Reply | Quote | Up ^


#7 Re: Code Explorer

Posted by: pythonui | Date: 2015-03-10 03:09 | IP: IP Logged

Where can I find PSPAD scripting?

Options: Reply | Quote | Up ^


#8 Re: Code Explorer

Posted by: pspad | Date: 2015-03-10 04:26 | IP: IP Logged

Ïf you don't see menu script, go to program settings / System integration and enable scripting support.
Some information are in the help or you can use file readme.rtf in the subfolder script

Options: Reply | Quote | Up ^


#9 Re: Code Explorer

Posted by: pythonui | Date: 2015-03-11 02:58 | IP: IP Logged

Oh! Thanks

Options: Reply | Quote | Up ^


#10 Re: Code Explorer

Posted by: pythonui | Date: 2015-04-13 11:52 | IP: IP Logged

Hello,

I need to create pspad script for finding dates from my file and list it some where.On click date it would go to that line.

Is it possible ?

Thanks

Options: Reply | Quote | Up ^


Goto Page: 1 2 3 Next





Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR