• 5 Posts
  • 578 Comments
Joined 5 years ago
cake
Cake day: May 31st, 2020

help-circle


  • Ephera@lemmy.mltoLinux@lemmy.mlHow I use Kate Editor
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    4 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.


  • I’m not sure, if that will show up everywhere where the Dolphin icon is used, but you can change it in the menu and, I believe, the panel, by editing the Dolphin entry in the “Menu Editor” application. There’s a button to select the icon there:

    In that dialog, if you select “All” in the dropdown and then search for “stock_folder”, that icon looks pretty close to the old Dolphin icon. Of course, if you’ve got the old Dolphin icon on disk somewhere, you can also select it with the “Browse…” button.








  • 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.





  • Hmm, thinking about it now, I actually don’t have much beyond the Breeze (Light/Dark) themes preinstalled either. I have the openSUSE themes, because I am on openSUSE.
    Aside from that:

    • In Window Decorations, there’s the Plastik theme.
    • In Application Style, there’s “Fusion” and “MS Windows 9x”.
    • In System Sounds, I’ve got “Ocean” and “FreeDesktop”.
    • And in “Login Screen (SDDM)”, I have “Elarun” and “Maldives”.

    I believe, the Oxygen themes got removed from the default themes, possibly with Plasma 6.
    But yeah, maybe you also just had additional theme packages installed. The Arch Wiki lists some of those, too.






  • Well, as the other person said, it was not a failing of LiMux. It was political. Munich had been ruled by one coalition throughout the lifetime of LiMux and after it went to a different coalition, they announced the switch back.
    The manager of Munich’s IT department also publicly stated that they were surprised by the decision, because there are no larger technical problems and compatibility is resolved by providing virtualized MS Office, where necessary.
    Coincidentally, Microsoft also moved its German headquarters from just outside of Munich’s tax region into Munich around the same time.