PB IDE plugin:autocomplete string & comment, code beautifier
Re: PB IDE plugin:autocomplete string & comment, code beauti
[Updated]
- restored : download link
- minor fixup: cursor placement of comment block
- restored : download link
- minor fixup: cursor placement of comment block
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
Re: PB IDE plugin:autocomplete string & comment, code beauti
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
Re: PB IDE plugin:autocomplete string & comment, code beauti
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
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
I'm using the WindowsHook API to run this plugin. This is far from the best way to code integrated plugin.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
Even with only hook code , the file loading is slower. With text processing and other workarounds, it's worse.
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
Re: PB IDE plugin:autocomplete string & comment, code beauti
Updated
- improve file loading time
Tell me if it's better.
- improve file loading time
Tell me if it's better.
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
Re: PB IDE plugin:autocomplete string & comment, code beauti
Really great tool! Unfortunately Windows only
This should become part of the PB IDE with cross-platform support
This should become part of the PB IDE with cross-platform support
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Re: PB IDE plugin:autocomplete string & comment, code beauti
Hey, it became perhaps 50% faster! Many thanks again, your tool is real time saver!
Re: PB IDE plugin:autocomplete string & comment, code beauti
+77uwekel wrote: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
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
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:
Hope I've explained it clearly enough.
EDIT: I just noticed it only happens with left CTRL + V... right CTRL + V works as expected...
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
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
EDIT: I just noticed it only happens with left CTRL + V... right CTRL + V works as expected...
Proud supporter of PB! * Musician * C64/6502 Freak
Re: PB IDE plugin:autocomplete string & comment, code beauti
Here is the project source code: http://goo.gl/1lPdn6
Last edited by eddy on Sat Dec 06, 2014 6:54 pm, edited 1 time in total.
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
Re: PB IDE plugin:autocomplete string & comment, code beauti
[updated]
- fix broken multi-paste (CTRL keypress)
- CTRL+ENTER shortcut to insert newline constant
Todo:
- add missing compiler option $CURRENT_HOUR
- autocomplete floating point zero
- autocomplete split comment
- fix string parser
- fix broken multi-paste (CTRL keypress)
- CTRL+ENTER shortcut to insert newline constant
Todo:
- add missing compiler option $CURRENT_HOUR
- autocomplete floating point zero
- autocomplete split comment
- fix string parser
Last edited by eddy on Sun Dec 07, 2014 9:47 pm, edited 5 times in total.
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
Re: PB IDE plugin:autocomplete string & comment, code beauti
Really useful tool, Eddy! Thanks for sharing it.
Re: PB IDE plugin:autocomplete string & comment, code beauti
Many many thanx for fixing the Left CTRL + V issue.
Proud supporter of PB! * Musician * C64/6502 Freak
Re: PB IDE plugin:autocomplete string & comment, code beauti
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
Re: PB IDE plugin:autocomplete string & comment, code beauti
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool