Page 2 of 2

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Sun Sep 14, 2014 1:31 pm
by eddy
[Updated]
- restored : download link
- minor fixup: cursor placement of comment block

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Sat Oct 25, 2014 5:41 pm
by eddy
[Updated]
- more formating rules
- custom colors for word highlighting

Image

Image

Image

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Sat Oct 25, 2014 7:07 pm
by ostapas
Really handy tool. Many thanks. Would you mind adding an option to set different colouring for linked lists and maps? We could finally distuingish them from procedures.

P.S. Still noticed one drawback: plugin significantly slows down loading of larger projects(2000+ lines). Also slows down folding of code blocks :(

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Wed Oct 29, 2014 11:17 pm
by eddy
ostapas wrote: P.S. Still noticed one drawback: plugin significantly slows down loading of larger projects(2000+ lines). Also slows down folding of code blocks :(
I'm using the WindowsHook API to run this plugin. This is far from the best way to code integrated plugin. :?
Even with only hook code , the file loading is slower. With text processing and other workarounds, it's worse.

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Sat Nov 01, 2014 6:47 pm
by eddy
Updated
- improve file loading time

Tell me if it's better.

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Sat Nov 01, 2014 7:16 pm
by uwekel
Really great tool! Unfortunately Windows only :-(
This should become part of the PB IDE with cross-platform support :-)

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Sat Nov 01, 2014 7:19 pm
by ostapas
Hey, it became perhaps 50% faster! Many thanks again, your tool is real time saver!

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Sat Nov 01, 2014 7:19 pm
by ostapas
uwekel wrote:Really great tool! Unfortunately Windows only :-(
This should become part of the PB IDE with cross-platform support :-)
+77

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Mon Nov 10, 2014 12:00 am
by oreopa
One little issue I notice with this plugin:

Multiple repeated pasting with CTRL + V is a pain... It seems that you must release and re-press CTRL to acheive this... which is annoying :P

I assume its due to the way you are polling for PASTE or CTRL or sth... would be great if you can fix this...

To replicate:

Code: Select all

I WANT TO PASTE THIS TWICE <- SELECT THIS WITH MOUSE, THEN PRESS CTRL + V TWICE; PASTING OVER SELECTION

Code: Select all

Expected output:

I WANT TO PASTE THIS TWICE
I WANT TO PASTE THIS TWICE

Code: Select all

Actual output:

I WANT TO PASTE THIS TWICE <- FIRST PASTE WORKS
v <- SECOND PASTE DOES NOT, AS IF CTRL IS NO LONGER STILL PRESSED WHEN IT ACTUALLY IS
Hope I've explained it clearly enough.

EDIT: I just noticed it only happens with left CTRL + V... right CTRL + V works as expected...

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Sat Nov 29, 2014 9:55 pm
by eddy
Here is the project source code: http://goo.gl/1lPdn6

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Sat Dec 06, 2014 6:39 pm
by eddy
[updated]
- fix broken multi-paste (CTRL keypress)
- CTRL+ENTER shortcut to insert newline constant

Image

Todo:
- add missing compiler option $CURRENT_HOUR
- autocomplete floating point zero
- autocomplete split comment
- fix string parser

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Sat Dec 06, 2014 6:44 pm
by missile69
Really useful tool, Eddy! Thanks for sharing it.

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Sun Dec 07, 2014 5:16 am
by oreopa
Many many thanx for fixing the Left CTRL + V issue.

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Thu Dec 11, 2014 2:16 am
by eddy
[updated]
- autocorrect floating point zero
- autocomplete split comment
Image

Re: PB IDE plugin:autocomplete string & comment, code beauti

Posted: Sun Dec 14, 2014 10:24 pm
by eddy
[Updated]
- autocomplete string insertion
- autocomplete string cut
Image