diff --git a/.vscodeignore b/.vscodeignore index ac07698d59..8574365f93 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -7,33 +7,3 @@ build/** bin/EditorServices.log bin/DebugAdapter.log bin/*.vshost.* -node_modules/.bin/** -node_modules/amdefine/** -node_modules/balanced-match/** -node_modules/brace-expansion/** -node_modules/commander/** -node_modules/concat-map/** -node_modules/debug/** -node_modules/diff/** -node_modules/escape-string-regexp/** -node_modules/glob/** -node_modules/graceful-fs/** -node_modules/growl/** -node_modules/inflight/** -node_modules/inherits/** -node_modules/jade/** -node_modules/lru-cache/** -node_modules/minimatch/** -node_modules/minimist/** -node_modules/mkdirp/** -node_modules/mocha/** -node_modules/ms/** -node_modules/once/** -node_modules/path-is-absolute/** -node_modules/sigmund/** -node_modules/source-map/** -node_modules/source-map-support/** -node_modules/supports-color/** -node_modules/typescript/** -node_modules/vscode/** -node_modules/wrappy/** \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b67eaf4c1..27b407a291 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,49 @@ # vscode-powershell Release History +## 0.4.0 +### Monday, February 8, 2016 + +#### Debugging improvements + +[@rkeithhill](https://github.com/rkeithhill) spent a lot of time polishing the script debugging experience for this release: + +- You can now pass arguments to scripts in the debugger with the `args` parameter in launch.json +- You can also run your script with the 32-bit debugger by changing the `type` parameter in launch.json to "PowerShell x86" (also thanks to [@adamdriscoll](https://github.com/adamdriscoll)!) +- The new default PowerShell debugger configuration now launches the active file in the editor +- You can also set the working directory where the script is run by setting the `cwd` parameter in launch.json to an absolute path. If you need a workspace relative path, use ${workspaceRoot} to create an absolute path e.g. `"${workspaceRoot}/modules/foo.psm1"`. + +We recommend deleting any existing `launch.json` file you're using so that a new one will +be generated with the new defaults. + +#### Console improvements + +- Improved PowerShell console output formatting and performance + - The console prompt is now displayed after a command is executed + - Command execution errors are now displayed correctly in more cases + - Console output now wraps at 120 characters instead of 80 characters + +- Added choice and input prompt support + - When executing code using the 'Run Selection' command, choice and input prompts appear as VS Code UI popups + - When executing code in the debugger, choice and input prompts appear in the Debug Console + +#### New commands + +- "Find/Install PowerShell modules from the gallery" (`Ctrl+K Ctrl+F`): Enables you to find and install modules from the PowerShell Gallery (thanks [@dfinke](https://github.com/dfinke)!) +- "Open current file in PowerShell ISE" (`Ctrl+Shift+i`): Opens the current file in the PowerShell ISE (thanks [@janegilring](https://github.com/janegilring)!) + +#### Editor improvements + +- Path auto-completion lists show just the current directory's contents instead of the full path (which had resulted in clipped text) +- Parameter auto-completion lists are now sorted in the same order as they are in PowerShell ISE where command-specific parameters preceed the common parameters +- Parameter auto-completion lists show the parameter type +- Command auto-completion lists show the resolved command for aliases and the path for executables +- Many improvements to the PowerShell snippets, more clearly separating functional and example snippets (all of the latter are prefixed with `ex-`) +- Added some additional example script files in the `examples` folder + +#### New configuration settings + +- `powershell.developer.editorServicesLogLevel`: configures the logging verbosity for PowerShell Editor Services. The default log level will now write less logs, improving overall performance + ## 0.3.1 ### Thursday, December 17, 2015 @@ -13,9 +57,9 @@ - New "Auto" scope which shows only the variables defined within the current scope - Greatly improved representation of variable values, especially for dictionaries and objects that implement the ToString() method -- Added new "Expand Alias" command which resolves command aliases used in a file or +- Added new "Expand Alias" command which resolves command aliases used in a file or selection and updates the source text with the resolved command names -- Reduced default Script Analyzer rules to a minimal list +- Reduced default Script Analyzer rules to a minimal list - Fixed a wide array of completion text replacement bugs - Improved extension upgrade experience @@ -41,4 +85,4 @@ Initial release with the following features: - Go to Definition of cmdlets and variables - Find References of cmdlets and variables - Document and workspace symbol discovery -- Local script debugging and basic interactive console support \ No newline at end of file +- Local script debugging and basic interactive console support diff --git a/LICENSE.txt b/LICENSE.txt index bf0b4af39d..dde4d1880e 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,7 +1,8 @@ -Windows PowerShell for Visual Studio Code 0.1.0 +PowerShell for Visual Studio Code + Copyright (c) Microsoft Corporation -All rights reserved. +All rights reserved. MIT License diff --git a/README.md b/README.md index aad36b5784..bc7ecaea08 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,11 @@ code (Get-ChildItem $Home\.vscode\extensions\ms-vscode.PowerShell-*\examples)[-1 Check out the [development documentation](docs/development.md) for more details on how to contribute to this extension! +## Maintainers + +- [David Wilson](https://github.com/daviwil) - [@daviwil](http://twitter.com/daviwil) +- [Keith Hill](https://github.com/rkeithhill) - [@r_keith_hill](http://twitter.com/r_keith_hill) + ## License This extension is [licensed under the MIT License](LICENSE.txt). Please see the diff --git a/Third Party Notices.txt b/Third Party Notices.txt index 7071e9fc23..1a2e50bcd2 100644 --- a/Third Party Notices.txt +++ b/Third Party Notices.txt @@ -1,4 +1,4 @@ -This file is based on or incorporates material from the projects listed below (Third Party IP). The original copyright notice and the license under which Microsoft received such Third Party IP, are set forth below. Such licenses and notices are provided for informational purposes only. Microsoft licenses the Third Party IP to you under the licensing terms for the Microsoft product. Microsoft reserves all other rights not expressly granted under this agreement, whether by implication, estoppel or otherwise. +This file is based on or incorporates material from the projects listed below (Third Party IP). The original copyright notice and the license under which Microsoft received such Third Party IP, are set forth below. Such licenses and notices are provided for informational purposes only. Microsoft licenses the Third Party IP to you under the licensing terms for the Microsoft product. Microsoft reserves all other rights not expressly granted under this agreement, whether by implication, estoppel or otherwise. --- @@ -7,24 +7,9 @@ Json.NET Copyright (c) 2007 James Newton-King Provided for Informational Purposes Only -MIT License +MIT License -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ---- - -AsyncEx - -Copyright (c) 2014 StephenCleary - Provided for Informational Purposes Only - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. diff --git a/package.json b/package.json index 9c9408b06e..c9743cc954 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "PowerShell", "displayName": "PowerShell", - "version": "0.3.1", + "version": "0.4.0", "publisher": "ms-vscode", "description": "Develop PowerShell scripts in Visual Studio Code!", "engines": { - "vscode": "^0.10.7" + "vscode": "^0.10.8" }, "license": "SEE LICENSE IN LICENSE.txt", "homepage": "https://github.com/PowerShell/vscode-powershell/blob/master/README.md", @@ -62,7 +62,7 @@ }, { "command": "PowerShell.OpenInISE", - "key": "ctrl+alt+i", + "key": "ctrl+shift+i", "when": "editorTextFocus && editorLangId == 'powershell'" }, {