Bug 389934 - Allow reading directory config on remote filesystem (like sftp or fish)
Summary: Allow reading directory config on remote filesystem (like sftp or fish)
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-06 00:02 UTC by Jimmy Berry
Modified: 2023-04-16 16:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy Berry 2018-02-06 00:02:12 UTC
I generally never work locally, but work on projects with .editorconfig. If I copy the config and a file locally and open kate applies the settings appropriately, but opening via kio wrapper the settings are not applied.

It seems understandable that not everyone would want this feature remotely depending on their circumstances and the underlying implementation, but having the ability to enable it would be rather useful. Perhaps limit the number of parent directories to search.
Comment 1 Jimmy Berry 2018-02-06 00:05:36 UTC
Looks like

KTextEditor::DocumentPrivate::readDirConfig()
{
    if (!url().isLocalFile()) {
        return;
    }

...

is to blame, just a condition around that would be handy.
Comment 2 Grzegorz Szymaszek 2019-01-09 08:10:11 UTC
Note that .editorconfig files are opened by the editorconfig-core-c library, not KTextEditor. As such, I’m not sure if it’s possible at all to read remote config files. The editorconfig_parse function: https://github.com/editorconfig/editorconfig-core-c/blob/a8fae2375e67887bd73baa11d921339f24e8b9a9/src/lib/editorconfig.c#L406
Comment 3 Christoph Cullmann 2023-04-16 16:41:41 UTC
Dear user, this wish list item is now closed, as it wasn't touched in the last two years and no contributor stepped up to implement it.

The Kate/KTextEditor team is small and we can just try to keep up with fixing bugs.

Therefore wishes that show no activity for a years or more will be closed from now on to keep at least a bit overview about 'current' wishs of the users.
If you want your feature to be implemented, please step up to provide some patch for it.

If you think it is really needed, you can reopen your request, but keep in mind,
if no new good arguments are made and no people get attracted to help out to implement it,
it will expire in a year again.

We have a nice website https://kate-editor.org that provides all the information needed to contribute, please make use of it.

e.g. see the information at https://kate-editor.org/join-us/ for details

Greetings
Christoph Cullmann