halfbrained / cuda_git_conflict Goto Github PK
View Code? Open in Web Editor NEWCudaText plugin. Adds a convenient command to solve git merge conflicts
CudaText plugin. Adds a convenient command to solve git merge conflicts
@Alexey-T Will this work as universal dlg_menu
height here?
DLG_H = 2*app_proc(PROC_GET_GUI_HEIGHT, 'edit') \
+ 3*app_proc(PROC_GET_GUI_HEIGHT, 'label')
file
$ cat merge.txt
<<<<<<< HEAD
this is some content to mess with
content to append
=======
totally different content to merge later
>>>>>>> new_branch_to_merge_later
$ cat merge.txt
<<<<<<< HEAD
this is some content to mess with
content to append
=======
totally different content to merge later
>>>>>>> new_branch_to_merge_later
$ cat merge.txt
<<<<<<< HEAD
this is some content to mess with
content to append
=======
totally different content to merge later
>>>>>>> new_branch_to_merge_later
if I place caret between 1st and 2nd, it takes 1st anyway.
if I place caret between 2nd and 3rd it takes 1st anyway
doc
$ cat merge.txt
<<<<<<< HEAD
this is some content to mess with
content to append
=======
totally different content to merge later
>>>>>>> new_branch_to_merge_later
$ cat merge.txt
<<<<<<< HEAD
this is some content to mess with
content to append
=======
totally different content to merge later
>>>>>>> new_branch_to_merge_later
$ cat merge.txt
<<<<<<< HEAD
this is some content to mess with
content to append
=======
totally different content to merge later
>>>>>>> new_branch_to_merge_later
scroll to end so 3rd is visible. place caret on >>>>>
line.
choose 'imcoming'.
==> caret pos broken
Plugin for CudaText.
Adds a convenient command to solve Git merge conflicts:
'Plugins > Git Conflict Solver > Solve nearest conflict'.
See the intro video for VSCode:
https://www.youtube.com/watch?v=QmKdodJU-js
It finds Git conflict marker in the current document:
<<<<<<< some_name
=======
>>>>>>> some_name
It finds the nearest marker from the current vertical-scroll position,
with "wrapped search" on. And suggests actions for this conflict:
- 'Current change' - Take the upper part
- 'Incoming change' - Take the lower part
- 'Both' - Concatenate and take both parts
Author: halfbrained (https://github.com/halfbrained)
License: MIT
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.