Discussion:
[notepad-plus - Plugin Development] New plugin: CCompletion
(too old to reply)
SourceForge.net
2007-09-28 17:31:30 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4542316
By: nobody


It's an autocompletion plugin, that also features two other similar
functionalities:
- find identifier and display it in secondary view
- go to identitifer
For more information on usage, see the plugin help.

The plugin uses Exuberant Ctags and can operate with all identifiers that Ctags
recognizes.
You need to download ctags.exe from
http://ctags.sourceforge.net
and place it in your N++\plugins directory.

Even though this is first release, the plugin is version 1.00 and will probably
not be further developed. Well, we'll see ;)

Download:
http://freeweb.siol.net/rmihor/NppCCompletionPlugin100.zip

I would like to thank Don for his help with the N++ plugin system and, of course,
for the N++ itself. Thanks!

Regards,
Bostjan


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-29 07:45:59 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4543537
By: kib2

It seems to work fine for me, thanks a lot Bostjan.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-29 09:10:34 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4543600
By: nobody

Can it support php?
In Ctags's site, it said ctags support php, but when I use your plugin with
php file, a popup with message "invalid ctags file format" is shown.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-29 15:39:23 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4543856
By: nobody
Post by SourceForge.net
Can it support php?
Yes, of course. I just tested it with some example PHP code from
http://px.sklar.com/code.html?id=540&fmt=pl
and it worked fine. Could you send me the ctags.tmp file that doesn't work?
You can find the email address in the plugin About dialog.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-01 02:08:55 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4545164
By: nobody

Just sent you the ctags.tmp file.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-01 16:34:10 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4546119
By: nobody


I found two errors.
1. Fixed ending sequence to include a tabulator while parsing. I'm still not
sure if Ctags can include this as well into identifier signature, but it works
for now ;)
2. Ctags included at least one line where a long identifier signature filled
several lines. I modified my parser so it survives multiple calls for one
identifier.

I uploaded the new version of the plugin:
http://freeweb.siol.net/rmihor/NppCCompletionPlugin101.zip

Regards,
Bostjan


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-03 13:46:21 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4550229
By: nobody

Hi thaks for this good plug-in.
Do you think that it could be possible to allow user to change colum size because
sometimes it is not possible to watch the source filepath

Thanks

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-03 15:52:18 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4550414
By: nobody

I might add that in the future. Keep your fingers crossed ;)

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-03 16:07:05 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4550435
By: nobody

Question for Don:

would it be possible to add a notification message N++ sends to plugins, when
any file gets saved? It would enable me to auto-regenerate tags whenever user
saves. I would add an option to enable this feature, disabled by default. CCompletion
would also launch a thread for this purpose so it wouldn't stall N++ GUI thread
on every save.

Thanks a lot!
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-03 16:16:12 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4550455
By: harrybharry

Well, currently you can subclass Notepad++ to do this. I'd like such a message
aswell as it keeps me from having to subclass Notepad++ as its not a very beautiful
lthing to do ;)

You can do it by doing so:

//Subclass notepad++ to intercept messages (autosave)
DefaultNotepadPPWindowProc = (WNDPROC)
SetWindowLongPtr(nppData._nppHandle,GWLP_WNDPROC,(LONG)&NotepadPPWindowProc);

....

LRESULT CALLBACK NotepadPPWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
lParam) {
switch(msg) {
case NPPM_SAVECURRENTFILE: {
//Document being saved
if (uploadOnSave) {
LRESULT result = CallWindowProc(DefaultNotepadPPWindowProc, hwnd, msg, wParam,
lParam); //call the N++ loop first, so the file gets saved
if (result) //only allow uploading if the save was successfull
//Do you update CTags thingey here
return result;
}
break; }
case WM_COMMAND: {
if (LOWORD(wParam) == IDM_FILE_SAVE) {
LRESULT result = CallWindowProc(DefaultNotepadPPWindowProc, hwnd, msg, wParam,
lParam); //call the N++ loop first, so the file gets saved
if (result) //only allow uploading if the save was successfull
//Do you update CTags thingey here
return result;
}
break; }
}
return CallWindowProc(DefaultNotepadPPWindowProc, hwnd, msg, wParam, lParam);
}

Hope that helps you

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-03 17:34:34 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4550568
By: donho

I thought this message exists :
https://sourceforge.net/forum/message.php?msg_id=4472358

After quick checking, I realized that I was wrong.

So the notification message NPPN_FILESAVED will be implemented in next release
(probably v4.4).

Let me know if you need the modified binary to test your plugin.

Don

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-04 07:56:15 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4551629
By: dv__

It would be very cool to have two different notifications:
1) NPPN_FILEBEFORESAVE
2) NPPN_FILESAVED

The first one, NPPN_FILEBEFORESAVE, tells that the file is about to be saved.
So, when a plugin receives this notification, it can do some actions before
the file is saved. It could be such actions as: removing trailing spaces, removing
empty lines and so on.
Thus, this notification allows to do pre-saving actions.

The second one, NPPN_FILESAVED, tells that the file has been saved.
Thus, this notifications allows to do post-saving actions.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-04 08:11:02 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4551652
By: nobody

It works fine now! Thanks for your great work!

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-04 08:49:59 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4551687
By: nobody

Hi, thanks for this great plugin.
Only one request, if possible, it would be very cool if you have only one tags
list for a directory and all the subdirectories: so the plugin would be very
"perfect" !!

thanks again

Mauro

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-04 16:43:41 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4552340
By: nobody

Thanks, Don!

That binary sounds nice.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-04 17:18:52 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4552377
By: nobody

If I understood you correctly, you wish to see identifiers that are located
in files of the superdirectories (parent directories) and same level
directories.

The plugin currently shows one list for the current directory and all the
subdirectories. All the identifiers from subdirectories are included. You just
have to trigger it from one of the files on that level.

But having only one list would require adding settings for base project directory.
To enable several projects going at the same time, I would need to add a system
for any number of such paths. We're getting dangerously close to an IDE here,
arent we? :)

Still, I know big projects don't include only from subdirectories and current
directory, so I'll probably add it soon.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-04 18:49:12 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4552494
By: donho

OK, will be added.

Don

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-04 20:08:52 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4552621
By: nobody

Ok you are rigth... but if you have a root directory and several branches if
you select i.e a function call in a file and the identifier is on a different
branch, then notepad tries to open that file from a wrong path. Is this a mistake
?

Regards

Mauro

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-04 20:24:40 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4552654
By: nobody

... I've just give a look to the ctags file and I've seen that the information
where the identifier is located contains only a relative path; maybe could be
enough tell to the exuberant program to store the complete path !!

regards
Mauro

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-05 07:39:29 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4553539
By: merijnb

I'm trying to make a plugin which transparently will encrypt and decrypt a certain
own file format.
This requires both such a notify (and also for loading of course), but also
the possibility to change the actual data before it's saved and after it's
opened.

Is there any way to do this now, or is it possible to add this to N++?

tx, Merijn



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-05 09:00:04 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4553649
By: nobody

Did you encounter this? As far as I know, it shouldn't happen with CC 1.01.
Could you provide me with additional data?

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-05 09:04:47 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4553656
By: nobody

That would solve some issues, but I didn't find a Ctags option to output a full
path. Besides, the new system with a specified project directory won't require
that.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-05 09:42:31 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4553703
By: nobody

No, sorry was a my mistake... it don't happen

Regards

Mauro

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-06 11:13:01 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4555386
By: nobody

Just uploaded CCompletion v1.02.

1. Added ability for user to provide base project directories (up to 16). CCompletion
will show all the identifiers in all the files within the project. Identifier
lookup and go to identifier work as well, of course.
It's not neccessary to provide a project directory, though. CCompletion will
still work as before, if you don't.

2. Added a thread for ctags.exe execution, preparing for automatic tag regeneration
when any file gets saved (coming after next Notepad++ release).

3. Modified the column ratios somewhat, so that file paths have more space.

Link:
http://freeweb.siol.net/rmihor/NppCCompletionPlugin102.zip

Let me know if you find any bugs.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-07 16:16:31 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4556524
By: nobody

Mayor update: CCompletion 1.03

CHANGES:
1. Option to auto-regenerate tags on every file save. It's enabled by default
for project files, and disabled for all files.
2. Added two shortcut functions, that should have been there from the beginning:
go to identifier under caret, without the need to open CCompletion dialog. There
are two shortcuts, so you decide whether identifier definition is shown in current
or other view.
3. Added some menu options and shortcuts.
4. Removed previous limitation: modified my parser so it now handles spaces
properly, when they appear in paths in filenames.

LINK:
http://freeweb.siol.net/rmihor/NppCCompletionPlugin103.zip
I removed older versions so links won't work.

Let me know if you find any bugs.

Note to Don: I'm using subclassing until the next N++ hits with NPPN_FILEBEFORESAVE
and NPPN_FILESAVED.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-07 16:27:39 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4556528
By: nobody

Thanks for the idea!

I use subclassing a lot, but somehow it didn't hit me that I could subclass
N++. Probably because I never subclassed upwards the hierarchy.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-07 21:34:22 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4556821
By: donho

The subclassing of both Notepad++ handle and Scintilla handle is not encouraged
since it change their behaviours not only for the concerned plugins, but also
for all the plugins.

Here's the newest Notepad++ binary which contains the NPPN_FILEBEFORESAVE and
NPPN_FILESAVED notification :
http://notepad-plus.sourceforge.net/commun/misc/notepad++.zip

As well the plugins tutorial page is updated :
http://notepad-plus.sourceforge.net/uk/plugins-HOWTO.php

Don

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-08 08:45:49 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4557303
By: nobody

I know, that's why I mentioned I'm using subclassing temporarily. CCompletion
is also included in a passive way and I don't think it will interfere with anything.
I'll of course release an updated version without subclassing, since I'm also
against it if there's no need. Performance reasons, if nothing else.

Thanks for the binary.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-08 10:38:02 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4557440
By: nobody

Well Done !!

Now it works very well.

Thanks again

Regards

Mauro

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-10 14:24:15 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4561944
By: nobody

I am using the CCompletion 1.03 for my PHP project.
I set a project path in the ini.
I got a 3.2 MB ctags.tmp in the project folder.
But seems it missed so files. Some files under the same folder are generated,
but some are not.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-10 16:42:46 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4562191
By: nobody

I don't think Ctags skipped any files, so if I understood you correctly, you
are probably trying to say is that some identifiers are missing in the CCompletion
dialog list.

Let me explain.
As far as I know, listbox that CCompletion is using is a standard listbox, limited
to 32k items. Meaning, it will display up to that many. However! When you enter
something in the textbox, the list shrinks. The list in CCompletion always displays
up to 32k of those identifiers which match the expression you type in.

Think of it this way: could/would you actually search for an identifier in a
list of 32000? Displaying more would be pointless and inefficient. Just type
a few starting characters. Identifiers, which may have been past the 32k limit,
are sure to appear once the list shrinks enough.

I have not tested the plugin with languages other than C and there most likely
are a few languages it's not well suited for. I also have to admit, I did notice
one thing the last time I saw a PHP-generated "ctags.tmp". It included A LOT
of identifiers (and some of them obviously wrong, picked from text). I'm not
sure if that was a problem with Ctags, syntax errors, or maybe the project mixed
PHP and HTML where it normally shouldn't. I'm not familiar with PHP and cannot
really say.

Oh, and if Ctags did actually skip some files and the identifiers are not even
listed in "ctags.tmp", then you should turn to the Ctags team for further help.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-11 01:10:02 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4562928
By: nobody

I have tried searching the missed identifiers, but it did not show out.
Also, I have tried searching in the ctags.tmp, the identifiers does not exist
in the file.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-11 09:12:24 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4563362
By: nobody

1. Does any directory / path of your project files contain spaces? There could
be a problem with the way CCompletion executes Ctags, though I doubt it. I'll
have to look into it.

2. Could you also try executing ctags.exe directy in your project directory
(specify an output filename) and check if the generated file doesn't contain
the missing identifiers either?

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-11 21:47:13 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4564676
By: nobody

I'm adding the parameter info. This is what CCompletion executes:
ctags.exe -R --fields=-afiklmsSzt+Kn -f ctags.tmp *
Use a different output filename, so you can compare the two files.

If you run this directly in the project directory and it produces a different
file than CCompletion produced, then I probably have a bug in CCompletion. If
it produces the same file, you may want to contact Ctags team for further
support.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-12 01:39:20 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4564942
By: nobody

I use ctags 5.6 before, and now I tried the new version (5.7), it generated
a 18.5MB ctags.tmp file, but, with error "Invalid ctags file 3".
After looking into the new generated ctags.tmp, I could find the missed identifiers.
But it also produces identifiers for ".sql" files. Can CCompletion provide an
option for what files extensions should be generated? (I want only php & js
& html)

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-12 06:55:56 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4565194
By: geertvc

The link to the zip file is apparently not working any more...

Best rgds,

--Geert

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-12 06:58:09 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4565196
By: geertvc

Sorry,

Just saw here (https://sourceforge.net/forum/message.php?msg_id=4556524) the
link was removed and replaced with a new one....

Forget about previous email.

Best rgds,

--Geert

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-12 07:15:31 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4565218
By: geertvc

Hi,

Nice extension of NPP with this extra plug-in! Thanks for the time and effort
spent on this one.

Is there a possibility to add a feature that you return to the position you
were prior to pressing the F12 key?

Maybe it can be implemented as toggling between the location where you are and
the function definition of the function at that moment located under the cursor?

Next to this, is there any chance the source code would become available?

Best rgds,

--Geert

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-12 08:49:21 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4565287
By: nobody

I might implement history in the future, so you could return to previous
loctions.

As for the source code: not at the moment. One of the reasons being, it's probably
the ugliest code I've ever written, half of it done hastily in one weekend.
In other words, posting code like that might hurt my public image as a programmer
(joke :)

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-12 09:00:42 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4565305
By: nobody

I'll look into that error as soon as I get home. I might need your "ctags.tmp"
to debug. Could you send it to the email provided in the plugin "About" info?

As for specifying suffixes, I probably won't add that since it would require
complex settings.

You might consider not defining project path. With that, "ctags.tmp" would be
generated for each folder, so .sql and other unwanted files might not interfere,
depending on your project directory structure.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-12 10:57:29 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4565424
By: donho
One of the reasons being, it's probably the ugliest code I've ever written,
half of it done hastily in one weekend.
In other words, posting code like that might hurt my public image as a programmer
(joke :)

:)

Don

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-15 01:20:38 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4568502
By: nobody

Just send you the ctags.tmp.

I changed the extension of .sql files so that the ctags.tmp doesn't
include it. But the error still occur.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-15 17:13:15 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4569602
By: nobody

Fixed in CCompletion 1.04.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-15 17:15:46 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4569610
By: nobody

CCompletion 1.04

- removed subclassing (N++ 4.4 added the needed interface)
- modified Ctags switches to avoid huge tag signatures - much smaller ctags.tmp
files and hopefuly no more parsing problems
- added an option to ignore invalid tags and continue parsing without
a warning
- increased possible filename length to maximum, just in case (in identifier
structures)

http://freeweb.siol.net/rmihor/NppCCompletionPlugin.zip
NOTE: I removed version from the filename, so this link won't go dead with newer
versions.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-16 01:19:05 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4570956
By: nobody

What parameters you use in CCompletion to executes ctags?
Still using (ctags.exe -R --fields=-afiklmsSzt+Kn -f ctags.tmp *)?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-16 15:09:25 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4571883
By: nobody

"-R --fields=-afiklmnsSzt+K --excmd=number -f ctags.tmp *"

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-18 19:05:35 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4576497
By: nobody

This link
http://freeweb.siol.net/rmihor/NppCCompletionPlugin103.zip
gives a 404 error.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-19 08:36:05 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4577563
By: nobody

And this link should work from now on:
http://freeweb.siol.net/rmihor/NppCCompletionPlugin.zip

The post with this link is actually newer than the post with 1.03 link., but
this forum seems to have an interesting way of ordering posts.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-19 17:34:27 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4578377
By: nobody

Thanks for the new link. What an awesome plugin, thanks!

Randy

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-11-17 21:30:34 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4629196
By: clrs530

First of all: I like your Plugin very much. But there is a major problem. Could
you remember all ctags.tmp files you generated and delete them on closing of
Notpad++? It´s very annoying to find the file everywhere (maybe make an option
if you like them to be there).

I have some additional features I would love to see.
1. Reading the "Text" you are currently in and highlight it in the window. Top
priority for me (besides the problem above ;))!
2. A user friendly window. It´s nice to close it with ESC but funny that I
ever have to think what to do if I don´t want to choose anything :-D.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-11-19 10:00:37 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4630787
By: nobody

About ctags.tmp files: you can define project directory and only one file will
be generated. But I like the idea of automatic deletition of ctags.tmp files
so I'll probably add it in the next version.

1. This was already implemented, but later removed. I'll reenable it. The newest
unreleased version I'm using at home has it enabled, anyway ;) Just didn't release
it yet.
2. You are probably refering to lack of 'X' button. ESC is the standard way
to close any dialog. The problem is somewhat funny: if I add the 'X' button,
I get a default windows icon, which looks ugly. And I didn't want to bother
with the icon.

Regards,
Bostjan

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781

Continue reading on narkive:
Loading...