Coder Social home page Coder Social logo

patheditor's People

Contributors

orwel avatar vernou avatar

Stargazers

 avatar

Watchers

 avatar

patheditor's Issues

After auto break line or merge line, the undo don't work

Expected Behavior

It's possible to undo (Ctr+z) all modification.

Actual Behavior

After auto break line or merge line, the undo don't work.

Steps to reproduce the behavior

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.

When ';' is removed, merge the line with the next line

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;

Display Process Environment Variable Path

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.

Edit the environment variable Path

The user can modify the environment variable PATH

Example

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;

Initialize the repository

To initialize the repository, we need the files :

  • README.md (empty)
  • LICENCE (MIT)
  • .gitignore (C#, Visual Studio, VSCode)

Release 0.0.2

Finally, it's time to release the first version.
For this :

  1. Modify the code to use system's objects
  2. Create a tag 0.0.2
  3. Create a Zip of program
  4. Create a release on GitHub

Configure Codecov

We need configure the coverage service Codecov.
Also add the badge in the README.

Add text after ';', the text is added in new line

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;

Configure AppVeyor

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.

Shortcut CTRL+D to delete the current line

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;

Add icon

Create and add a icon to the application.

Initialize the solution

Initialize the solution with the three projects :

  • PathEditor.App (WPF)
  • PathEditor.Core (.NET Standard 2)
  • PathEditor.UnitTests (xUnit)

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.