My first attempt is to run git diff on the current file. It works but I have git configured to run beyond compare as my difftool , so I don't know if this works as standard.
Thanks. You've got further than me. I tried your plugins, but to honest there are a few things I am not happy with.
I don't like the way windows displays message boxes (ie does not support scroll bars and it can have ugly and unnecessary wrapping.)
Also don't like the idea of having the same commit message for every commit.
So I think I will try a simple Automator which just opens and runs another query, eg
The disadvantage is that this switches to another query, but the big advantage is that I can use the full LinqPad experience including Util.ReadLine to prompt for a commit message and I don't need to worry about the output being too long to display on my screen.
Comments
Right click to push to the git repository
Right-click to pack
Right-click to create gist
Yes, I like this function, how about like this, LINQPad allow user create a special .linq file called Plugins.linq, which can write:
There is a dark feature in LINQPad that you might like to try. Create and save a query to My Queries called Automator.linq, with the following code:
This will activate when you press Alt+Ctrl+Shift with a function key.
I like this feature.
My first attempt is to run git diff on the current file. It works but I have git configured to run beyond compare as my difftool , so I don't know if this works as standard.
Hi @sgmoore , here is my proposal:
Hi @sdflysha.
Thanks. You've got further than me. I tried your plugins, but to honest there are a few things I am not happy with.
I don't like the way windows displays message boxes (ie does not support scroll bars and it can have ugly and unnecessary wrapping.)
Also don't like the idea of having the same commit message for every commit.
So I think I will try a simple Automator which just opens and runs another query, eg
and move all the logic into Automator2.linq
The disadvantage is that this switches to another query, but the big advantage is that I can use the full LinqPad experience including Util.ReadLine to prompt for a commit message and I don't need to worry about the output being too long to display on my screen.