belkiss / niftyplugins

Simple Perforce integration for Visual Studio 2017 to 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This repository holds a forked version of Nifty Plugins, originally written by Jim Tilander (and found at https://github.com/jtilander/niftyplugins)

Note that NiftySolution was removed from this repository.

NiftyPerforce, belkiss' fork

Build

The biggest changes from the original NiftyPerforce are:

  • support for recent Visual Studio versions, from vs2017 to vs2022
  • proper registration of NiftyPerforce in the UI, so it can be removed without leaving anything behind
  • CI using GithubActions

Download

Configuration

It is recommended not setting any connection info in nifty but have UseSystemEnv set to true (which is the default).

Ensure you have a P4CONFIG environment variable by typing p4 set in a terminal:

> p4 set
P4CONFIG=p4config.txt (set) (config 'noconfig')
...

If you do not have P4CONFIG, set it to a name (usually p4config.txt, see p4 documentation):

> p4 set P4CONFIG=p4config.txt

Then create a p4config.txt file at the root of each and every workspace you work in, like this:

P4PORT=ssl:ida:3548
P4USER=joe
P4CLIENT=joes_client

Since nifty invokes p4 (or p4vc) directly, all the operations will work in the proper server/workspace :)

About

Simple Perforce integration for Visual Studio 2017 to 2022

License:MIT License


Languages

Language:C# 100.0%