vernou / patheditor Goto Github PK
View Code? Open in Web Editor NEWA program to help to edit the Windows path environment variable
License: MIT License
A program to help to edit the Windows path environment variable
License: MIT License
The Process Environment Variable Path is the merge of the system and the user Environment Variable Path.
System Environment Variable Path :
C:\System\Path1;
C:\System\Path2;
C:\System\Path3
User Environment Variable Path :
C:\User\Path1;
C:\User\Path2;
C:\User\Path3
Process Environment Variable Path :
C:\System\Path1;
C:\System\Path2;
C:\System\Path3;
C:\User\Path1;
C:\User\Path2;
C:\User\Path3
When System Environment Variable Path don't finish with ';', add ';' the between System Environment Variable Path and the User Environment Variable Path.
We need configure the coverage service Codecov.
Also add the badge in the README.
A line is a path ending with ';'.
When text is added after ';' (end line), then the text is added on new line.
Example :
C:\TMP\Path1;
C:\TMP\Path2;C:\PathAdded
C:\TMP\Path3;
Result :
C:\TMP\Path1;
C:\TMP\Path2;
C:\PathAdded
C:\TMP\Path3;
To initialize the repository, we need the files :
We need some contributing guidelines like explain in :
https://blog.github.com/2012-09-17-contributing-guidelines/
See this examples from other repositories :
We need configure the continuous integration service AppVeyor.
To do that, we have to add a file called appveyor.yml containing build instructions.
Also add the badge in the README.
Create and add a icon to the application.
When the user save the modification, the application propose to make a backup.
It's possible to undo (Ctr+z) all modification.
After auto break line or merge line, the undo don't work.
C:\TMP\Path1;
C:\TMP\Path2;
C:\TMP\Path3;
C:\TMP\Path4;
Remove ';' in second line :
C:\TMP\Path1;
C:\TMP\Path2C:\TMP\Path3;
C:\TMP\Path4;
Press Ctr+z, the modification isn't reversed.
The process's Environment Variable Path is System's Environment Variable Path append to User's Environment Variable Path.
We need to display and modify the both.
For this, three tabs :
Actually, the derived classes of IEnvironmentVariablePath is in the namespace PathEditor.Core.
We need pack away this classes in proper namespace like PathEditor.Core.EnvironmentVariablePath
Finally, it's time to release the first version.
For this :
The user can modify the environment variable PATH
Environment variable Path :
C:\TMP\Path1;C:\TMP\Path2;C:\TMP\Path3
Displayed in text editor :
C:\TMP\Path1;
C:\TMP\Path2;
C:\TMP\Path3;
We can add new path :
C:\TMP\Path1;
C:\TMP\Path2;
C:\TMP\Path3;
C:\TMP\Path4;
We can modify the order :
C:\TMP\Path1;
C:\TMP\Path2;
C:\TMP\Path4;
C:\TMP\Path3;
We can remove a path :
C:\TMP\Path1;
C:\TMP\Path4;
C:\TMP\Path3;
Add the MIT license badge in README.
When the program haven't the administrator right, the user can't modify the system environment variable path :
When ';' is removed, the line is merged with the next line.
Example, ';' is removed is path2 line :
C:\TMP\Path1;
C:\TMP\Path2
C:\TMP\Path3;
C:\TMP\Path4;
Result :
C:\TMP\Path1;
C:\TMP\Path2C:\TMP\Path3;
C:\TMP\Path4;
We need a shortcut CTRL+D to delete the current line.
For example :
C:\TMP\PATH1;
C:\TMP\PATH2;
C:\TMP\PATH3;
The cursor is on the second line. Press CTRL+D will delete the second line :
C:\TMP\PATH1;
C:\TMP\PATH3;
Initialize the solution with the three projects :
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.