• 4 Posts
  • 96 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
    15 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.



  • It doesn’t, no. If you do it the way I described, you can’t actually get the nozzle at an angle where you could target your balls or legs. It’s not as low down as the beam from the built-in bidets.

    On the first few attempts, you’ll probably hit your cheeks more than you’d like, but that just rolls down the cheek until it hangs vertically and then it drops. I’m still seated when I do this, so my legs are more-or-less horizontal.
    And well, with a tiny bit of practice, you hit the in-between every time, where the water is stopped pretty effectively and then it drops in the same place where you dropped the nuke.

    I can understand the concern, as I had the same when I first tried it, but yeah, after the first few days of learning, I never splooshed the floor or my legs or my balls. I think, I splooshed my cheeks maybe once or twice when I was really sleepy, but that’s about it.


  • Hmm, personally I’m using a $20 manually operated travel bidet and my butthole feels like freshly showered.

    I guess, the advantage of it being manually operated is that I can decide the water pressure by how strongly I squeeze the bottle.
    Another advantage is that I have a firm handshake now. 🙃




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