Search code examples
gitphpstormjetbrains-ide

JetBrains IDE : Where can I note my changes before commiting?


I'm using PhpStorm on a project and, often, I have to look at all the files that I've modified since the previous commit to remember what I've done.

Is there a feature that would enable to note what I've achieved without doing a commit ? I mean, I would be writing some code to debug a little thing that doesn't need any commit, add a new feature, change another little thing and then commit.

Where could I write somewhere my evolutions in the IDE ? I'd like to be able to write somewhere, like on a papernote :

  1. fixed this
  2. added this feature
  3. changed the position of this element

And then, for my commit, I'd group all this information and summarize them in the commit message.

I know I could do it with papernotes or with a Word but I think that it'd be really nice if the JetBrains IDE offer this feature.

I hope I've been clear, if I haven't, tell me !


Solution

  • I've found the answer to my question. I discovered this morning that everything I write in the "commit message" section in PhpStorm is always saved. So now I can write everything I've done step by step in the commit message and it will be saved without commit.

    This example represents what I'm now able to do :

    1. refactor a bit of code, not enough to have to commit
    2. open commit dialog box and write what I've done (the refactoring) without commit
    3. continue to work on the feature that I've to create and reach a milestone or a point where I'm ok to commit
    4. open commit dialog box and write what I've added after what I wrote before and commit

    This perfectly answers to my request so it's perfect !

    Thanks for those who offered their help !