PB IDE plugin : smart indent, remove spaces, autocompletions

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
+18
Enthusiast
Enthusiast
Posts: 228
Joined: Fri Oct 24, 2008 2:07 pm

Post by +18 »

I want to know this cool plugin will be continue ,improve, new version...
is there a Similar plugin for pb editor?
btw , thanks to eddy
nice job
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

For the moment, it's not my priority.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
+18
Enthusiast
Enthusiast
Posts: 228
Joined: Fri Oct 24, 2008 2:07 pm

Post by +18 »

Ok. waiting... :roll:
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

If you don't want to wait, you can post some feature requests for IDE too.
All these features are cross-platform and can be added easily in the IDE.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
+18
Enthusiast
Enthusiast
Posts: 228
Joined: Fri Oct 24, 2008 2:07 pm

Post by +18 »

ok, but i'm thinking PB hasn't a specificed planning for improvement
IDE,then just chance is your plugin.
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post by chen »

It does not run in the new beta:

When executing the executable appear the pop up, dont show the PB directory

PB install directory:

and the next pop up are unchecked with messages : "failed to write file"

Is this true or Im doing something wrong
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

I got this error too. Here's how to make it work (tested only on XP SP3 32 bit):

1. Create a folder called "EditorPlugin" in the PB install folder (e.g. "C:\Program Files\PureBasic"). Extract the plugin files in it.

2. Create an empty text file on your desktop and rename it to "PB.reg". Then right click on it and select "Edit". In that notepad window copy/paste this code:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\Applications\PureBasic.exe]

[HKEY_CURRENT_USER\Software\Classes\Applications\PureBasic.exe\DefaultIcon]
@="C:\\Program Files\\PureBasic\\PureBasic.exe,1"

[HKEY_CURRENT_USER\Software\Classes\Applications\PureBasic.exe\shell]

[HKEY_CURRENT_USER\Software\Classes\Applications\PureBasic.exe\shell\open]

[HKEY_CURRENT_USER\Software\Classes\Applications\PureBasic.exe\shell\open\command]
@="\"C:\\Program Files\\PureBasic\\PureBasic.exe\" \"%1\" /P \"C:\\Documents and Settings\\USERNAME\\Application Data\\PureBasic\\PureBasic.prefs\" /T \"C:\\Documents and Settings\\USERNAME\\Application Data\\PureBasic\\Templates.prefs\" /A \"C:\\Documents and Settings\\USERNAME\\Application Data\\PureBasic\\Tools.prefs\""
Change the "USERNAME" to reflect your user name and the PB paths (if applicable) in this file then save it and execute it.

3. Go to "C:\Program Files\PureBasic\EditorPlugin" and execute "PureEditorExtension.exe". It should now see the path, install normally.

Lemme know if it works :D.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
kawasaki
Enthusiast
Enthusiast
Posts: 182
Joined: Thu Oct 16, 2003 8:09 pm

Post by kawasaki »

We shouldn't have to manually alter our registries to install a program.

If he created this tool for PureBasic, then he should have it so it supports PureBasic, no matter what version.


Is this tool officially dead now?
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

Is this tool officially dead now?
Yeah, I stopped the development.
The plugin works but its auto-installer is broken because of registry modification.
You have to install it manually.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
kawasaki
Enthusiast
Enthusiast
Posts: 182
Joined: Thu Oct 16, 2003 8:09 pm

Post by kawasaki »

How about releasing the source, for further development by people who would like to see this continue?
User avatar
oreopa
Enthusiast
Enthusiast
Posts: 283
Joined: Sat Jun 24, 2006 3:29 am
Location: Edinburgh, Scotland.

Post by oreopa »

Inf0Byt3 wrote:Lemme know if it works :D.
It sure does for me. But I also run XPsp3 32bit... :D I really appreciate the tip anyway!
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

I wonder if it would be more interesting to code a new IDE for PB 4.0
I tried to upgrade the JAPBE code but it's too long.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
bembulak
Enthusiast
Enthusiast
Posts: 575
Joined: Mon Mar 06, 2006 3:53 pm
Location: Austria

Post by bembulak »

Is ther anyone, who stil has the tool working?

If you could post the properties from "Tools | configure", would be great!
I've configured the tools manually one time, but lost the properties (commandline arguments, ...) due to broken OS. :(

Thanks!
cheers,

bembulak
User avatar
bembulak
Enthusiast
Enthusiast
Posts: 575
Joined: Mon Mar 06, 2006 3:53 pm
Location: Austria

Post by bembulak »

Ok,
for those who are still working with the tool (like me):

When Setup fails it is still no problem to have it running. All you have to do is manually configure PureFormatter.

I usually have two "modes":
  • Formatting triggered by the user:
    • [1] Go to "Tools | configure tools" and press the "New"-Button.

      [2] Add PureFormatter (select the path) and use -f as argument for the tool.

      [3] Check "wait until tool ends"

      [4] Event for triggering the tool "menu or shortcut"

      [5] Define a shortcut you like...
  • Formatting triggered automatically:
    • [1] Same as above, add the tool, but:

      [2] use -auto as argument for the tool

      [3] use "editor start" as event for triggering the tool.

      [4] Check "wait until tool ends"
Works fine here for me.

Hope my translation is ok for all of you to read and that this may help a little to those who still use this fantastic tool.
cheers,

bembulak
thanos
Enthusiast
Enthusiast
Posts: 423
Joined: Sat Jan 12, 2008 3:25 pm
Location: Greece
Contact:

Post by thanos »

@eddy
Amazing work!
One of the most useful tools.
Too bad you stopped the development. :cry:


Thanos
» myPersonal Banker :: Because you do not need to have a master degree in economics in order to organize your finances!
Post Reply