• 1 Post
  • 41 Comments
Joined 5 years ago
cake
Cake day: May 31st, 2020

help-circle
  • Leider sind auch RSS Feeds nicht mehr so gut unterstützt. Also die, die ich noch in meinem RSS Reader habe, bekommen weiterhin Updates, aber mein RSS Reader kann nicht mehr automatisch ableiten, wie die URL für den RSS Feed ist, wenn ich die URL von einem Kanal einfüge. Bisher habe ich auch selber noch kein Schema gefunden, wie die RSS URLs heißen müssen…



  • Ephera@lemmy.mltoLinux@lemmy.mlHow I use Kate Editor
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    5 days ago

    renaming symbols, presenting documentation, formatting files,

    Yes, these are supported via the Language Server Protocol (LSP). I’ve mostly been using it with the Rust LSP server (rust-analyzer) and well, it typically works, but sometimes you have to tell it to restart the LSP server and stuff (which isn’t a huge ordeal, but don’t expect everything to always work as well as in a full-fledged IDE).
    I believe, for formatting, there’s also some non-LSP support.

    showing code diagnostics beyond syntax errors (for example code smells or so),

    This is supported in principle via LSP, too, but it depends on the specific LSP server, how much info it provides. The Rust compiler gives out relatively much on its own, which is passed on by the LSP server, but you can apparently also configure it to use the linter on save.

    have AI integration (explain this, rewrite this, replace this with prompt output, …),

    Not out of the box. There’s a way to define “External Tools”, which basically allows you to run commands and pass arguments to them and then use their output. For example, you should be able to define an External Tool, where you can select some text, then press your keyboard shortcut for that tool, so it sends the selected text to that tool and then it takes the command output and inserts it instead of the selected text.
    While this is a powerful concept, I don’t know, if you hit limitations at some point.

    specific framework integrations (reactjs, django, actix, …),

    Nope, except where this might be covered by LSP. But there’s no obvious way to just install additional plugins, for example. You get about thirty built-in plugins and that’s it.

    and stuff like expanding macros in C/C++ and Rust?

    Well, expanding macros is also possible with the Rust LSP server. Don’t know about other languages.









  • Yeah, I’m building more-or-less an alternative to make. Major difference is that I’m not using shell commands, but rather users will define their build code in Rust …because it’s intended to be a build tool for Rust applications (beyond what cargo does).

    Thanks for the comment, though. So far, I haven’t limited inputs to just be files, so I don’t actually assume to have a last-modified timestamp. Rather, my assumption is that I can get some value which changes when the input changes. In the case of a file, that’s the last-modified timestamp, but theoretically, it could also be a hash. But that means I have to store these values to be able to detect a change. Being able to just say that one thing is newer than the other without storing anything, that is pretty cool and might be worth changing my assumption for.









  • Kann mir so gar nicht vorstellen, wie das nicht stattfinden soll.

    Es ist weiterhin so, dass meist die billigsten Produkte in Plastik verkauft werden, weil Plastik eben nicht besteuert wird.

    Aber auch quasi alles Tiefgekühlte. Da gibt’s teilweise Alternativen, wie den Joghurt im Glas. Größtenteils sind die Alternativen aber schwer vorstellbar, wie z.B. dass man den Scheibenkäse in der Pfanddose kauft. Stattdessen bedeutet ein Verzicht auf Plastik oftmals ein Verzicht auf Tiefgekühltes.

    Gibt aber weiterhin auch genügend völlig bekloppte Produkte, die völlig unnötig Plastik verwenden. Hier im Laden liegen plastikverpackte Nudeln direkt neben papierverpackten Nudeln. Das sind dumme Nudeln, da gibt’s keine riesigen Unterschiede bei den Produkten. Wenn es einem also nicht vollkommen schnuppe ist, dann wird man doch zu den Papierverpackten greifen. Trotzdem ist immernoch der Großteil des Regals feinster Plastikmüll.
    Genauso würde ich auch Küchenrollen und Toilettenpapier echt gerne ohne Plastikschlüpper kaufen. Ich meine, es ist verdammt nochmal Papier, warum kann man das nicht in Papier verpacken? Aber nicht mal das ungebleichte Ökopapier kommt auf die revolutionäre Idee.