Posts Tagged Snippet
I’m happy to announce the release of PowerShell CodeManager 5.0!
CodeManager? Yes, I changed the name again. :) But not (just) for fun. As the added support for scripts in the last version might have indicated, this tool is becoming more and more about PowerShell code in general, not just in the form of snippets.
So this time I did not (just) built in the usual annual improvements about handling snippets. For this 5th anniversary release, I implemented a whole bunch of great new features. One of these new features for example, tells me that this version has 14004 lines of powershell code, including 193 functions and that I used 1725 unique variables and is therefore not just feature-wise the biggest update for this tool yet. :)
So here is whats new:
The new Visualizer creates interactive function dependency graphs. That means it displays all the functions of a script and connects them, to depict how they interact with each other and from where they are being called.
Interactive Map –Each element of the graph can be clicked to show the code of the selected function and the position from where a function is being called.
Documentation – Document the logical structure of your script. Graphs can be printed and saved either as a PNG image or in vector format to allow further editing in any vector capable graphics tool.
Zoom in – Graphs can be created for complete scripts, as well as single functions and their relations.
Customize – You can choose between different layout algorithms, connector-types and color schemes. Nodes and connectors can be manually rearranged.
Code Manager (former “Snippet Injector”)
Function Explorer – Overview and quick direct access to all functions in a script, module or snippet
Script Execution – Launch scripts directly from CodeManager with quick access to command line options
File Monitor – CodeManager now watches all locations for changes and quickly and quietly updates any changes made outside code explorer
Partial Reindexing – Helpful for larger script and snippet libraries: in most cases, necessary re-indexing is now limited to the folder the change occurred in.
Quick Search Option Buttons – For inside script code search and regular expressions
Custom Font Settings – Font type and size can now be set for the code window and code explorer
– Support for PowerShell modules
– Full set of explorer functions now supported
– New keyboard shortcuts added (see help file for complete list)
– Performance Options for slow computers regarding syntax coloring of huge scripts and code search
Info Window – Quick info to file -path, -size, -attributes, -hash, -description and code statistics.
Inside Code Search – Next-/Last-result buttons to click though all search results / highlight all results option
Edit and Save Scripts – Not meant for script writing (yet J), but useful for quick changes and before execution edits
Quick Snippet creation – From selection inside code window
New Design / Dark and Bright Theme available
Four Sizes to choose from
Sounds good? Then…
Either turn on the update-check in Snippet Manager 4 or download the installer (or Zip) manually on CodeManagers home base: here.
Have a nice day!
Hi, some people have been reporting an issue with the “Add Location”-buttons when using Snippet Manager on Windows 10. This update takes care of the problem and fixes a few minor issues with the installer as well.
You can get the update as always via the internal update function or download the msi or zip here.
Have a great day,
Hi everybody, i’d like to announce the release of Snippet Manager & Injector v4! This time it’s all about speed and comfort. There are some very nice new features, but my focus was: improvement.
Script Files Support
The Injector now indexes and searches your script (ps1) files!
Snippets are great. But, as fast and easy they are created with Snippet Manager, you still need to create them. And you will, very soon, but today you need a function that does … and you know you already did something exactly like this a while ago. Mhm… but what was the name of that script again…?
You can now quickly find a certain script and re-use some of its code. Just type the name or some of the code you are looking for in the search box… done!
Manager and Injector now support regular expressions in all search fields.
– Injectors Code Preview Window now allows to scroll and select parts of the snippet or script code
– Selected code gets copied to clipboard or loaded into auto-injector automatically
– Injector now supports multiple snippet or script locations
– Injector and Manager explorers have separate location lists to allow each explorer being customized for it’s task
– Drag and Drop File and Folder operations
– … and lots of other improvements like: Large Quick-hide Buttons, Expand and Collapse Buttons, a hide-emtpy-folders option etc.
Location indexing and Search speed have been massively improved. On a fast local drive, Injector can search code in thousands of scripts and display its results in under 2 seconds!
Resizable “Floating Launcher”
This has been wished for, so now you can choose three different sizes for the floating launcher button. Happy? :)
Open in External Editor
You can open scripts via double click from Injector in any editor capable of handling powershell scripts.
That way Injector can even serve as an easy access, de luxe “open file” dialog for your script editor, complete with search function!
Start Mode Option
You can now simply set in the options menu, what you want to see when you start Snippet Manager: the Manager window, the Injector window or just the floating launcher button.
And also countless small fixes and nice handling improvements you will discover by yourself… :)
Either turn on the update-check in Snippet Manager 3 or download the installer (or Zip) manually on SnippetManagers home base: here.
That’s it, I hope you enjoy the new Snippet Manager and Injector and as always: please don’t hesitate to contact me.
Have a nice day!