Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

ShellExtensions deprecated, forked into FileManager and PowerShell plugins

(1/5) > >>

dmoore:
As part of a push to get the file manager and custom command functionality of my ShellExtensions plugin into the official Code::Block's contrib plugin repository, I've decided to split the plugin into two: FileManager, which as the name suggests has the file manager; and PowerShell, which handles customizable commands that will be offered to the user every time they right click on a file (whether it be in the editor, project manager or file manager) and the dockable console output window.

the new plugins are available in the branches folder of my repo:

PowerShell


--- Code: ---svn checkout http://svn.berlios.de/svnroot/repos/cbilplugin/branches/PowerShell
--- End code ---

FileManager


--- Code: ---svn checkout http://svn.berlios.de/svnroot/repos/cbilplugin/branches/FileManager
--- End code ---

note that both sets of source are supposed to be installed into plugins/contrib of your C::B source. I will make win32 binary builds of both plugins available shortly.

I will be committing new features to those plugins to those repositories. I am unlikely to continue to support the old ShellExtensions plugin (it will remain available in the cbilplugin repository).

The latest new feature is drag and drop support for editor tabs: drag a file tab to a directory in the file manager and you will be given a save as feature (be aware that C::B will update any projects associated with the file)

For linux users: if you want to build these plugins alongside the codeblocks source with makefiles, you will need to patch your codeblocks sources with the attached file (courtesy of jens)

[attachment deleted by admin]

mmkider:
FileManager is good.
Thank you.
 :D

Cryogen:

 Hi,

I think that changes in the IDE src may have broken these plug-ins over the last year. Neither will compile out of the box. I found the following:

-Instances of the path "..\..\..\include\wxscintilla\include" in both projects' build options need to be changed to "..\..\..\sdk\wxscintilla\include".
-In File Manager, "#include <iostream>" needs to be added to the includes at the top of FileExplorerUpdater.cpp, for me. You may have it declared somewhere else but, for me, line 17


--- Code: ---    std::cout<<"destructor file explorer updater"<<std::endl;

--- End code ---

fails due to the lack of it.

Once compiled, I found that File Manager seemed to work OK, except that the SVN decorators only ever show a green flash, which looks like it means that the file is up-to-date, and that's often wrong. I presume that PowerShell is needed to provide the functionality. PowerShell itself runs and gives me the Extensions menu. Using that opens a new window entitled "Shells" but I can't make it do anything. It remains grey and there is no context menu and no indication of what it's meant to do. I can't find any docs anywhere, either.

Can you advise what's supposed to be happening and I'll have a play around with it some more?

Thanks.

dmoore:

--- Quote from: Cryogen on March 29, 2010, 08:03:48 am ---I think that changes in the IDE src may have broken these plug-ins over the last year. Neither will compile out of the box. I found the following:

--- End quote ---

It worked for me until recently, but thanks for the tips.


--- Quote ---Once compiled, I found that File Manager seemed to work OK, except that the SVN decorators only ever show a green flash, which looks like it means that the file is up-to-date, and that's often wrong. I presume that PowerShell is needed to provide the functionality.

--- End quote ---

no the feature is provided within the FileManager by munging the output of the "svn stat" command.


--- Quote ---PowerShell itself runs and gives me the Extensions menu. Using that opens a new window entitled "Shells" but I can't make it do anything. It remains grey and there is no context menu and no indication of what it's meant to do. I can't find any docs anywhere, either.

--- End quote ---

I think Mario provided some basic documentation in the official C::B manual. The basic concept is that it offers a more flexible version of the tools menu that can be run on the active editor, or on files in the project manager or file manager with the option to redirect output to notepages in the dockable window. To setup powershell, open the clunky panel in settings->environment. It's not particularly clear, but the tooltips will give you an idea.

I'm sorry to say that I have been neglecting these plugins for a while now because I'm too busy at work (or in my spare time, with other projects). I'll try to devote some more time soon. There is a plan to eventually get these plugins into the codeblocks repo, which will make it easier to keep them up to date.

Cryogen:

--- Quote from: dmoore on March 30, 2010, 06:36:27 pm ---
--- Quote from: Cryogen on March 29, 2010, 08:03:48 am ---I think that changes in the IDE src may have broken these plug-ins over the last year. Neither will compile out of the box. I found the following:

--- End quote ---

It worked for me until recently, but thanks for the tips.

--- End quote ---

Happy to help. :-)
I think they must have moved wxscintilla from "include" to "sdk" some time recently. I guess that will break a few things until everyone catches up.


--- Quote from: dmoore on March 30, 2010, 06:36:27 pm ---I think Mario provided some basic documentation in the official C::B manual. The basic concept is that it offers a more flexible version of the tools menu that can be run on the active editor, or on files in the project manager or file manager with the option to redirect output to notepages in the dockable window. To setup powershell, open the clunky panel in settings->environment. It's not particularly clear, but the tooltips will give you an idea.

--- End quote ---

I did eventually find the help and make progress, thanks. It's working now.


--- Quote from: dmoore on March 30, 2010, 06:36:27 pm ---I'm sorry to say that I have been neglecting these plugins for a while now because I'm too busy at work (or in my spare time, with other projects). I'll try to devote some more time soon. There is a plan to eventually get these plugins into the codeblocks repo, which will make it easier to keep them up to date.

--- End quote ---

That's life, alright. ;-)
I hope you do get them there.

Cheers.

Navigation

[0] Message Index

[#] Next page

Go to full version