Coder Social home page Coder Social logo

iseutils's Introduction

ISEUtils

Collection of some useful additions for the built-in PowerShell ISE Some functions (New-ISESnippet, New-ISEMenu...) are PowerShell only (no C# coding in Visual Studio required) integrated (making use of the VerticalAddOnToolbar Add-Ons) (read here for more info ).

The module adds automatic saving of opened files and prompt for re-opening previously saved session upon start of ISE (based on the ISESessionTools module from Oisin Grehan)

List of functions of the exported functions and menu items (Add_ons/ISEUtils):

Function/Menu Synopsis Documentation
Add-ISESnippet Helper function to add a new ISE snippet Link
Expand-Alias Function to expand aliases either in the currently active ISE file or (in case a a path is provided) within any PowerShell file (that way the function can be also used from the PowerShell Console) to their respective definitions. Link
Export-SelectionToHTML Export the current selected text within ISE as .html file Link
Export-SelectionToRTF Export the current selected text within ISE as .rtf file Link
Find-Definition Jump to to the definition of the function that the cursor is currently placed at or inside. Searches through all open tabs within ISE. Link
Get-IseSnippet Get all ISE Snippets with all their properties Link
Get-ZenCode Zen Coding for PowerShell Link
Remove-ISESnippet Remove ISE Snippets (deletes the related xml files) Link
Menu "Expand ZenCode" Enables zen Coding within PowerShell ISE, zen Code expressions are expanded by using the AddOn menu or assigned keyboard shortcut
Menu "Run Line" Execute line that contains current cursor position
Menu "Split selection by last char" Splits the selection by the last character within the selection
Menu "New-ISEMenu" Integrated GUI to create new entries for the AddOn Menu
Menu "New-ISESnippet" Integrated GUI to create new Snippets
Menu "FileTree" Integrated GUI that shows a tree with folders (on first drive) that contain .ps1 and .psm1 files, clicking on a file node will open the file within ISE)
Menu "Add-ScriptHelp" Integrated GUI to generate help documentation for scripts/cmdlets. The generated output is added to the ISE and can be also copied to the clipboard) Link
Menu Menu "Open-ScriptFolder" Opens the folder that contains the current script within windows explorer
Menu "Export-ISESession" Save list of currently opened scripts (excluding 'untitled') as file
Menu "Import-ISESession" Import previously saved session file to load session back into ISE
Menu "Export-SelectionAsRTF" Export the current selection as an RTF document
Menu "Export-SelectionAsHTML" Export the current selection as an HTML document
Menu "Expand-Alias" Expand all aliases within the active editor window
Menu "GoTo-Definition" Jump to the definition of the function where the cursor is currently at.
Menu "Spell check selection" Integrated GUI to spell check the selected text. With option to auto correct.

iseutils's People

Contributors

dbremen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.