PowerShellFar — Windows PowerShell host for Far Manager

Анонсы новых плагинов. Обсуждение плагинов ведется ниже.
User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

Latest post of the previous page:

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar

= 5.0.71 =

Command line and box: enabled path completion in both.

Menu "Errors": replaced \r\n\t in messages with spaces.

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar

= 5.0.72 =

As far as Mantis#2635 is not going to be fixed, implemented a kludge.

NEW UPDATE TOOLS

Update-FarPackage.ps1 is replaced with the module FarPackage:
FarNet\Modules\PowerShellFar\Modules\FarPackage
See about_FarPackage.help.txt there.

Instead of one script with many not trivial parameters and rules these four
commands with simple parameters are used:

* Install-FarPackage - installs/updates one package from web
* Restore-FarPackage - installs one package from a file
* Update-FarPackage - updates all installed packages
* Uninstall-FarPackage - removes one installed package

Intermediate unpacked directories "<PackageID>.<version>" are not used, you do
not have to clean after updates. Files are extracted from packages directly to
destinations.

Some packages slightly changed their structure, e.g. FarNet and PowerShellFar
moved information files to other directories.

If somebody wants some files to be excluded on unpacking we can support, say, a
file "Update.Exclude.txt" with relative paths and file masks to be excluded.
Think, suggest.

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar

= 5.0.73 =

STOPPING COMMANDS ON USER INPUT

In MS PS console [CtrlC] stops all commands on user input, i.e. on read host,
prompt for choice, etc. The same ability is added to PSF. But in PSF [Esc] is
used instead in various prompts. Unlike in PS, it also asks a user to confirm.

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar

= 5.0.74 =

Continued. [Esc] is for stopping in prompts for Type[] arguments as well.

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.3872
FarNet 5.0.50

= 5.0.75 =

Reindent-Selection-.ps1 - fixed for ExpandTabs mode

Update-FarManager.ps1 can remove some more not used files after updates.

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.3872
FarNet 5.0.50

= 5.0.76 =

Editor console & history: redraw on inserting commands from history.

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.3872
FarNet 5.0.51

= 5.0.77 =

PowerExplorer.Functions: SetText and SetFile are set automatically if AsSetText
and AsSetFile are assigned.

Panel-Mongo-.ps1: Can view [F3] and edit [F4] and save documents as JSON.
[F5] copies JSON to disk (not from).

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4045
FarNet 5.0.55

= 5.0.78 =

Adapted for Far 3.0.4042 (new "Desktop" window).

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

Re: PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4138
FarNet 5.0.58

= 5.0.79 =

Adapted for Far 3.0.4138

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4284
FarNet 5.0.61

= 5.0.80 =

Show-History-.ps1
Removed work around unwanted Far messages on setting missing directories.

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4284
FarNet 5.0.61

= 5.0.81 =

Update-FarManager.ps1
7za (standalone) is used instead of 7z (installed with 7-zip). If you do not
have 7za then define an alias to existing 7z.exe before calling the script:
> Set-Alias 7za <path>\7z.exe
> Update-FarManager.ps1 ...

Profile-Remote.ps1
The profile was expected on a remote machine (incorrect). Now it is read on the
current machine (correct) and then this code is invoked in a remote workspace.

Minor changes due to migration to GitHub, mostly in the documentation.

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4284
FarNet 5.0.61

= 5.0.82 =

Migration to GitHub. Some git commands are not friendly to "!" characters.
So the recommended stepper script suffix now is "..ps1". Renamed tests:
- Test-Dialog!.ps1 -> Test-Dialog..ps1
- Test-Stepper!.ps1 -> Test-Stepper..ps1

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4284
FarNet 5.0.61

= 5.0.83 =

Assert-Far: Refactoring and slightly changed logic. Special processing of
Conditions defined as a script block. See:
ps: help Assert-Far -full

Migration to GitHub: updated links.

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4284
FarNet 5.0.61

= 5.0.84 =

Open-FarEditor, New-FarEditor, Open-FarViewer, and New-FarViewer resolve
relative input paths using the current PowerShell location.

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4284
FarNet 5.0.61

= 5.0.85 =

TabExpansion takes the prefix "ps:" into account not only in the command line
but also in dialogs (needed for user menu, apply command, file associations).

Search-Regex-.ps1: The parameter Options accepts some shortcuts:
sm: SimpleMatch, ww: WholeWord, etc.

User avatar
NightRoman
Posts: 5940
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 14 times
Been thanked: 15 times
Contact:

PowerShellFar — Windows PowerShell host for Far Manager

Post by NightRoman »

NuGet package: https://www.nuget.org/packages/FarNet.PowerShellFar
Far Manager 3.0.4284
FarNet 5.0.61

= 5.0.86 =

Tree panel:
- Default panel view without description column
- Folder tree: better error message at Cert:\

TabExpansionProfile.ps1: fixed completer for git 2.5+

Test-Job-.ps1: adapted for PS v5

Post Reply

Return to “Анонсы новых плагинов”