Skip to content

GitGutter: help, i18n, readme, change log, cleanup and fixes#3413

Open
exkrexpexfex wants to merge 8 commits into
elfmz:masterfrom
exkrexpexfex:gutterhelp
Open

GitGutter: help, i18n, readme, change log, cleanup and fixes#3413
exkrexpexfex wants to merge 8 commits into
elfmz:masterfrom
exkrexpexfex:gutterhelp

Conversation

@exkrexpexfex

@exkrexpexfex exkrexpexfex commented May 25, 2026

Copy link
Copy Markdown
Contributor

Also fixed plugin no op when selected custom baseline on a local branch is not found by falling back to HEAD.
Fixed 2 SonarQube warnings
And this issue
image

Added Ctrl+G for mouse-free navigation to the next diff hunk popup from the current editor line.

@exkrexpexfex exkrexpexfex mentioned this pull request May 25, 2026
with custom baseline indication in hunk popups
@spnethw

spnethw commented May 25, 2026

Copy link
Copy Markdown
Contributor

Содержимое справки отлично. 👍 А в оформлении: лучше не делать ручной перенос строк и писать текст логическими абзацами, т.к. встроенная справка сама нормально разбивку делает. А то при узких окнах некузяво смотрится. Можно просто начальные пробелы там в продолжениях строк убрать, склеивается оно тоже само.

╟────────────────────────────────────────────────────────────────────╢
║ Плагин GitGutter показывает изменения Git прямо в поле отметок     ▲
║ редактора                                                          ▓
║ far2l. Он следит за текущим буфером редактора, сравнивает его с    ▓
║ выбранной                                                          ▓
║ базой и помечает измененные строки без необходимости сохранять     ▓
║ файл.                                                              ░

@exkrexpexfex

Copy link
Copy Markdown
Contributor Author

@spnethw, спасибо! Поправил.

@akruphi

akruphi commented May 26, 2026

Copy link
Copy Markdown
Contributor

Также просьба описать этот замечательный плагин в
https://github.com/elfmz/far2l/blob/master/README.md (в начале, где алфавитный список плагинов и в "Additional build configuration options" среди ключей cmake)
и в https://github.com/elfmz/far2l/blob/master/changelog.md например строкой
* _GitGutter plugin_: New plugin in editor (**F11**->GitGutter) to shows Git changes directly in the far2l editor gutter

@exkrexpexfex

Copy link
Copy Markdown
Contributor Author

@akruphi готово, посмотри

@akruphi

akruphi commented May 26, 2026

Copy link
Copy Markdown
Contributor

@akruphi готово, посмотри

Замечательно. Даже и массово английский поправлен - красота! 🔥

- Make sure publicly writable directories are used safely here.
- Remove this "goto" statement or rewrite it so that it jumps to a label that is located in the same scope or in an enclosing scope.
@exkrexpexfex exkrexpexfex changed the title GitGutter: help and i18n GitGutter: help, i18n, cleanup and fixes May 27, 2026
@exkrexpexfex exkrexpexfex changed the title GitGutter: help, i18n, cleanup and fixes GitGutter: help, i18n, readme, change log, cleanup and fixes May 27, 2026
Open next hunk on Ctrl+G
Keep focus on arrows when navigating
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants