Comments (3)
Im unsure if its special argument it requires, I know for sure without setting notepadd++ as a core.editor With or without arguments) it doesn't work at all. GitPad or no and most definitively notepad++ is preset as a default editor for txt files (not just internally but also externally associated to text files in OS side.
So github Desktop which uses GitPad in windows doesn't do cut it, one may even ask what is GitPad doing if at all and why you need it. but there it is.
Notepadd++ You can add more arguments to disable specific options you dont need you can disable tabs, plugins, etc but you definitely need to add it to core.editor else things get terminated prematurely and ends in unclean state.
Looking at https://github.com/github/GitPad I can see that it mentions.
How to uninstall
Remove HKEY_CURRENT_USER\Environment\EDITOR from the registry and reboot your system
however I can assure that no such key exists in my system at all and that Github Desktop where this issue is being tracked from doesnt add this at all or never actually executes GitPad no idea since Github Desktop doenst install like regular software in Windows.
Ive also trying to add progit/progit2#382 but it seems its kind of useless when tickets like this suggest GitPad is to blame what the point of documenting how-tos with GitPad? idk.
Also fixed by - Lesson 6972: Dont use Windows. This problem doesnt exist is sane OS.
I use windows for 5 minutes and spend 8 hours of my life trying to improve and contribute what Im able back to community with his issue...
from gitpad.
So github Desktop which uses GitPad in windows doesn't do cut it, one may even ask what is GitPad doing if at all and why you need it.
This is the first editor-specific issue that's come to my attention with us shelling out to Notepad++. I'd love to understand whether this is a recent issue, or whether this has always been present (and I've just not heard it or encountered it). Do you have any more information on when you first encountered this? Was there a version of Notepad++ that didn't have this issue?
However I can assure that no such key exists in my system at all and that Github Desktop where this issue is being tracked from doesnt add this at all or never actually executes GitPad no idea since Github Desktop doenst install like regular software in Windows.
As per the README, we use the environment variable in GitHub Desktop to assign GitPad to be the default editor:
if your default editor is not set, GitPad.exe will set itself to EDITOR via setting an Environment Variable on your user profile.
Those uninstall instructions sounds like they are out of sync. I've opened #25 to investigate this separately.
I use windows for 5 minutes and spend 8 hours of my life trying to improve and contribute what Im able back to community with his issue...
I'm sorry if you feel frustrated by the lack of progress on this issue. Because GitHub Desktop installs per-user (and has a sandboxed Git environment) we're still going to use GitPad for the moment while I wrap my head around how we can address the original issue (needing to specify arguments to prevent Notepad++ from exiting unexpectedly).
I would love for this to "just work" for Notepad++ and your scenario, but I need to investigate how we can address this properly, rather than abandoning the use of GitPad in GitHub Desktop.
In the meantime, we have the workaround for applying the custom core.editor
setting to your ~/.gitconfig
to override GitPad.
from gitpad.
Do you have any more information on when you first encountered this? Was there a version of Notepad++ that didn't have this issue?
This has always happened, it wasn't reported immediately because I dont use windows often, eventually 2 years later had enough and started to look for a solution and chase the issue.
I'm sorry if you feel frustrated by the lack of progress on this issue. Because GitHub Desktop installs per-user (and has a sandboxed Git environment) we're still going to use GitPad for the moment while I wrap my head around how we can address the original issue (needing to specify arguments to prevent Notepad++ from exiting unexpectedly).
Its not the lack of progress,, Ive chased this up and down with everyone, Github support first suggested this was an issue with git when I first reported it, Essentially Im chasing this issue with 3 different projects. one of which is to alleviate the pains by documenting issue and workaround.
In the meantime, we have the workaround for applying the custom core.editor setting to your >~/.gitconfig to override GitPad.
Thank the config gods for that :) Ill sit back and see what happens here since I lack skills to fix this myself.
Thank you in any case.
from gitpad.
Related Issues (18)
- Gitpad.exe crashes hard when started HOT 12
- Gitpad crashes with Application not found exception HOT 3
- AppData isn't always located off ~
- Crashes with any parameters / arguments
- GitPad expecting crazy cygdrive paths? HOT 3
- Download Link on Readme.md is wrong HOT 5
- GitPad doesn't work from an elevated command prompt HOT 2
- uninstall steps no longer correct? HOT 1
- License?
- Editor cannot be launched when profile directory contains space? HOT 6
- How to uninstall?
- Git for Windows can work with notepad directly HOT 3
- GitPad not using default text editor HOT 3
- Spaces in user name crash git
- Immediately crashes upon running GitPad.exe HOT 5
- GitPad crashes when you give it a bad arg HOT 1
- Unhandled Exception: System.Exception: GetTokenInformation failed HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitpad.