[kate] [Bug 490926] MacOS: Language servers don't start, due to no PATH definition in GUI

Waqar Ahmed bugzilla_noreply at kde.org
Tue Dec 31 18:02:56 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=490926

Waqar Ahmed <waqar.17a at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
                   |ities/kate/-/commit/51097a6 |ities/kate/-/commit/6956d8d
                   |72e627d776298b06e558104fb12 |ee9d5fc9ac1ebe1221cc0e9f207
                   |24682e                      |35c446

--- Comment #14 from Waqar Ahmed <waqar.17a at gmail.com> ---
Git commit 6956d8dee9d5fc9ac1ebe1221cc0e9f20735c446 by Waqar Ahmed.
Committed on 31/12/2024 at 17:57.
Pushed by waqar into branch 'master'.

Allow the user to add paths to PATH var

Kate relies heavily on external executables for a lot of functionality
for e.g., LSP servers, formatters, linters, git etc. However, we dont
provide any way to the user to provide a path where these programs can
be found. As such the user has only 1 way to fix this which is to modify
some global file and ensure the PATH is set there.

On linux, things are messy in general so it kind of works sometimes. On
windows you can change your PATH variable in settings. On mac, you can
sort of edit /etc/paths. The problem with these approaches is that it
forces the user to change things globally even if this functionality is
only required by Kate on the whole system.

This patch introduces a way to prepend paths to the existing PATH env
var.

M  +61   -1    apps/lib/autotests/basic_ui_tests.cpp
M  +9    -0    apps/lib/kateapp.cpp
M  +63   -0    apps/lib/kateconfigdialog.cpp
M  +1    -0    apps/lib/kateconfigdialog.h
M  +3    -0    apps/lib/katemainwindow.cpp

https://invent.kde.org/utilities/kate/-/commit/6956d8dee9d5fc9ac1ebe1221cc0e9f20735c446

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list