PowerShell CodeManager

v5_PM_005_620

Much more than a snippet manager…

The main idea behind PowerShell CodeManager is to make the reuse of code as easy and convenient as possible.
The longer you are in coding, the more likely it is, that at some point in the past you did already code the stuff you need again right now. But where was that? How did you name that script again?
CodeManager will find it. You can search inside all of your scripts in a matter of seconds and find what you are looking for. And the moment you find it, it’s already in your clipboard, ready to be used again.
If you want to go a step further and make the whole process even more convenient and the code easier to reuse, you can create snippets. CodeManager is based on an award winning PowerGui snippet add-on and provides all the tools you need for that.
CodeManager also helps you presenting and documenting your scripts or exploring the code of others, by creating an interactive function dependency graph, of a single function or a complete script.
CodeManager can also directly execute scripts and lets you quickly change or add command line parameters and user context.
Its free and itself completely written in PowerShell.

AllWin3

Features

For a detailed overview on what’s new in V5: Click here.

Code Finder – Quickly and comfortably search scripts and snippets and insert them (fully or just a part) with one click into your script inside your favorite editor.snippets
Function Explorer
– Overview and quick direct access to all functions in each script, module or snippet.
Snippet Editor
– Create, edit, tag and organize snippets. With special support for ISE and PowerGui snippet functionality (auto-creation of placeholders, delete existing placeholders with auto-replacement to the default value, auto highlighting of placeholders etc.).
Code Visualizer
– Creates interactive function dependency graphs. Document your script or explore and understand scripts of others.
Script Execution
– Launch scripts directly from CodeManager with quick access to command line options.
Script Edit
– Make changes directly in CodeManager or open scripts in your favorite editor with a click
Locations –
Support for multiple snippet and script locations from your network or local computer. Supports roaming profiles.
Snippet Search
– Full-text indexing of all snippets, instant search in the snippet Code, Description, Name and Author.
Script Search – Instant name search and high speed code search in all your scripts and modules.
PoshCode Search – Search for Snippets and Scripts on Poshcode.org (a web-based script repository). Fully integrated.
Snippet Converter – Quick and easy conversion between PowerGUI snippet format and ISE snippet format (both directions, as many as you want, with just a click).
Store Room – Quick and easy deactivation (and reactivation) of snippets to clean up your editors snippets menu.
Customizable Syntax Coloring – Display the code in the same colors as in your editor or use one of the shipped color schemes.

and much, much more…

 

Screenshots and Demo Videos:

CodeManMain TT_Search_Highl VisualizerDemo1 snippeteditor2 Execute

 

 

 

 

 

Requirements

Powershell v4 or v5 is recommended for this version (5.x) of CodeManager and PowerShell v3 is necessary.
CodeManager has been tested on Windows 7, 8.1, 10, Server 2012 and 2008 R2, but should run fine on any other Windows version where at least Powershell V3 can be installed.

Download

A) You can download PowerShell CodeManager here: Download
Latest available Version is: 5.00

B) If you run into any trouble during the installation, you can download the files in a ZIP-file instead: ZIP

  • Just extract the Folder inside anywhere you like.
  • But be sure to use the Start_CodeManager.cmd to run CodeManager or to create shortcuts from!

There is a comprehensive help file included, but you can also download it separately: PDF

License:
PowerShell CodeManager is free for: private use, usage in charity  and other non-profit organizations, schools, universities and small (profit oriented) businesses up to 50 employees.  For the use in all other business and government environments, please ask for a license.
Active Microsoft MVPs are free to use CodeManager wherever they like.
PowerShell CodeManagers source code is licensed under Creative Commons BY-NC-ND 4.0.

Snippet Pack

I’ve started to create a Basic Snippet Pack (currently about 40 snippets) to get you started if you haven’t used snippets before.
Most of them are basic snippets (loops, conditions, etc.) but there are also a few advanced ones.

You can download the Pack here:
Installer:  Download  or
Zip-File: Download

 


Version History

v5.0.0 / (10.06.2016)
——————————

A) Improvements/Features:

see here.

B) Bugfixes

literally countless. :)

 

v4.0.1 / (18.11.2015)
——————————

A) Bugfixes:

  • Fixes a Bug in Windows 10, which prevented the “add location” dialog to open
  • few Bugfixes related to the installer

 

v4.0.0 / (26.07.2015)
——————————

A) Improvements/Features:

see here.

 

v3.1.0 / (25.09.2014)
——————————

Bugfixes:

  • various Bugfixes

v3.0.0 / (20.07.2014)
——————————

A) Improvements/Features:

  • Snippet Injector! Inject your snippets in any editor. Quick and comfortable access to the snippet you need with just a click.
    • customizable Pop-Up Window
    • 2 types of tooltips for quick preview, Tooltips have syntax coloring!
    • supports different types of snippet injection
  • PoshCode Search – Search for Snippets and Scripts on Poshcode.org. Fully integrated in SnippetExplorer.
  • Customizable Syntax Coloring! Adjust the shipped color schemes or create a new one. Easily adjustable in a WYSIWYG-window.
  • Many SnippetExplorer improvements
  • Improved Network Support. SnippetManager now runs smoothly from network-shares, works with shared snippet repositories and supports roaming profiles
  • New Design: new icons, graphical buttons, cleaner design
  • Contrast-slider for the code-box
  • “Floating Launcher” and Notification icon – to launch Manager and Injector as quick and comfortable as possible

B) Bugfixes:

  • lots and lots of minor bugfixes and handling improvements

v2.0.0 / (03.08.2013)
——————————
A) Improvements/Features:

  • ISE support! SnippetManager now fully supports the ISE snippets format.
  • ISE <-> PowerGUI Snippet Converter! – You can easily convert all (or just a few of) your snippets from PowerGUI to ISE (and back) with just a click.
  • Quicksearch! With the new quicksearch-box you can now even faster find the snippets you are looking for. Just open SnippetManager and start typing a name, keyword, command… etc.
  • Full Syntax Coloring! SnippetManager now provides full syntax coloring, even while typing. (Powershell V3 required)
    – Included are currently two coloring shemes (easily changable via the options menu):
    An ISE color sheme, which looks exactly like the colors in ISE and a (more moderatly colored :))
    SnippetManager color sheme.
  • SnippetExplorer drag and drop capability (yeah i know, but now its there :) )
  • Faster Snippet Processing (up to 10x faster for large snippets)
  • New Design
  • More commands/menue items support keyboard shortcuts (the available shortcuts are shown in the tooltip of the item)
  • Standalone Tool: SnippetManager is now a standalone tool, not a PowerGUI addon anymore. That means (for now) only that it gets started by a shortcut on your desktop. I will however add “launcher”-addons for ISE and PowerGUI later this year, so that you can start SnippetManager from inside your editor

B) Bugfixes:

  • lots of minor bugfixes

v1.1.0
———-
Improvements/Features:

  • Faster Snippet Processing
  • Improved Syntax Highlighting

Bugfixes:

  • various Bugfixes

v1.0.2
Bugfixes:

  • various Bugfixes

v1.0.1
Improvements/Features: (in detail see here)

  • Snippet Locations! You can now add multiple snippet folders from your network or local computer to the snippet explorer. (You can also manually add UNC Paths.)
  • Fulltext Search! Snippet Manager creates a fulltext-index of your snippets, so you can very quickly search in the snippet Code, Description, Name and Author.
  • Deactivation and Reactivation of Snippets! Easily deactivate (and reactivate) snippets to clean up your PowerGUI snippets menu.
  • No UAC-Popup Anymore
  • Enhanced Syntax Highlighting
  • Faster Snippet Processing (up to 8x faster)
  • New Option: restore last size and position of the Snippet Manager window at start
  • New Icons

Bugfixes:

  • Fixed: After file operations all Subfolders of the snippets path would be expanded
  • Fixed: Paths with read-only access caused errors
  • Fixed: The ShowInWindowsExplorer Function couldn’t find a snippet or folder if there was a special character in the name
  • minor bugfixes

v0.9.2
Improvements/Features: (in detail see here)

  • SnippetManager now has an installer
  • Most of the commands/menue items now support keyboard shortcuts (the available shortcuts are shown in the tooltip of the item)
  • Automatic update check implemented (optional; can be turned on/off at first start and in the options menu)
  • Future Updates can now be downloaded and installed from inside SnippetManager
  • A standard value for the “Author”-field can be set (in the options menu), which will then be used for all new snippets
  • Link to the Video Tutorial and a “Contact Developer” (mailto) entry added to the Help-Menu

Bugfixes:

  • Fixed: placeholders with equal names could be created
  • Fixed: under certain circumstances a folder could be copied into a subfolder of itself
  • Fixed: snippet path of PowerGui_Pro could not be found

v0.9.1
Improvements/Features:

  • No more limitations for auto-created placeholders, anything (but spaces) can be turned into a placeholder
  • Placeholder names can be changed subsequently, changes will be replicated to all instances in the snippet
  • Improved status-bar

Bugfixes:

  • Fixed auto-word selection caused problems while selecting text in the codebox
  • minor bugfixes

v0.9.0

  • Initial Release
  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: