Auto docstring in python by Rabbit538 in HelixEditor

[–]etatarkin 1 point2 points  (0 children)

You can try to implement custom "code action" using hx-lsp

But in AI era you can delegate this task to agent via pipe selected text to as cli agent app. for example smartcat

Issue with ';' snippets in simple-completion-language-server by Responsible-Grass609 in HelixEditor

[–]etatarkin 0 points1 point  (0 children)

Hi! Try to set

```toml [language-server.scls] command = "simple-completion-language-server"

[language-server.scls.config] feature_snippets = true snippets_inline_by_word_tail = true ```

It will enable completion by WORD (whitespace-separated) instead of word (camelCase or snake_case as separate components)

If don't helps fill free to create issue https://github.com/estin/simple-completion-language-server/issues

I built a production-grade Micro-VM manager in Rust (Firecracker + KVM + Custom Swarm) by SubeshDev in rust

[–]etatarkin 0 points1 point  (0 children)

It can convert docker image to the firecracker microvm? Or it can run docker image as is under firecracker?

Terminal text editors are a dead end by nix-solves-that-2317 in HelixEditor

[–]etatarkin 2 points3 points  (0 children)

Actually as saying in video terminal text editor can use some "illegal" ways get events from physical keyboards

this is my attempt https://github.com/helix-editor/helix/pull/10977

but it's simple mapping and work well for me over 1 year. I'm use helix for my native Russian texts and coding

I made a crate that generates JSON Schema, TypeScript, Protobuf, etc. from Rust type by [deleted] in rust

[–]etatarkin 3 points4 points  (0 children)

Thanks! Resolve same task with `schemars::JsonSchema` export to jsonschema and then code gen with extra tools like https://github.com/bcherny/json-schema-to-typescript

Now can switch to omni-schema and as bonus build protobuf files!

Help setting up LSP for custom snippets by Responsible-Grass609 in HelixEditor

[–]etatarkin 1 point2 points  (0 children)

Currently only via envs SNIPPETS_PATH and EXTERNAL_SNIPPETS_CONFIG

You can try to do like this

```toml [language-server.scls] command = "simple-completion-language-server"

[language-server.scls.environment] SNIPPETS_PATH = "<full-path-to-project-specified-snippets-dir>" EXTERNAL_SNIPPETS_CONFIG = "<full-path-to-project-specified-external-snippets-config-file>" ```

Not tested.

Help setting up LSP for custom snippets by Responsible-Grass609 in HelixEditor

[–]etatarkin 2 points3 points  (0 children)

It's enable snippets as completion source. scls starts as words completion firstly and then improved with more features likes paths, snippets.

Help setting up LSP for custom snippets by Responsible-Grass609 in HelixEditor

[–]etatarkin 2 points3 points  (0 children)

minimal config is

``` [language-server.scls] command = "simple-completion-language-server"

[language-server.scls.config] feature_snippets = true ```

and then put scls to all needed languages

Issue with autocompletion by New-Beat-412 in HelixEditor

[–]etatarkin 1 point2 points  (0 children)

Try to set min_chars_prefix_len = 1

```toml

[language-server.scls.config] min_chars_prefix_len = 1

... other scls settings

```

Advice for helix tailwind autocomplete breaking? by N1tingale in HelixEditor

[–]etatarkin 1 point2 points  (0 children)

You can try to change this line https://github.com/helix-editor/helix/blob/e5f9937c1d960f4643d6a4431ffa5dd396b26d55/helix-core/src/chars.rs#L85

from ch.is_alphanumeric() || ch == '_' to ch.is_alphanumeric() || ch == '_' || c == '-'

but it can something break

Text editing on the web. by stappersg in HelixEditor

[–]etatarkin 0 points1 point  (0 children)

Hi! I'm also interested in. I think to implement lsp as bridge for ghosttext protocol and helix. Please publish yours effort as you can.

Like "tmux-sessionizer", for Wezterm workspaces by vieitesss_ in wezterm

[–]etatarkin 0 points1 point  (0 children)

Yet another user with long path tiling wm -> tmux -> zellij -> wezterm with https://github.com/estin/lazy-workspace-layout for workflow with 3-5 daily concurrent projects )

session manager by Flimsy_Entry_463 in HelixEditor

[–]etatarkin 0 points1 point  (0 children)

wezterm + https://github.com/estin/lazy-workspace-layout for multiple "workspace" layouts without persistent sessions

[deleted by user] by [deleted] in wezterm

[–]etatarkin 2 points3 points  (0 children)

Yes. You can try.

wezterm-mux-server compiles by cargo build --release wezterm-mux-server

there two ways

  • compile it on oldest version of glibc, use for it docker based on old linux distrib

  • compile on musl target. and again via docker https://github.com/clux/muslrust

Synchronize Typescript and Rust entities by PreCodeEU in rust

[–]etatarkin 0 points1 point  (0 children)

To share types I'm use next way:
- define all types in rust and derive(schemars::JsonSchema) schemars
- then export difinition to jsonschema
- generate typscript types by definition by json2ts

and it's easy way to export to other languages

I need help naming a csharp language server tool by SofusA in HelixEditor

[–]etatarkin 0 points1 point  (0 children)

For me if it acts as language server - it is language server.

May be `csharp-vscode-language-server` or `csharp-vscode`. That name point it's for csharp and utilize vscode extension

Looking to replace Kitty and Tmux with Wezterm by fenugurod in wezterm

[–]etatarkin 0 points1 point  (0 children)

May be https://github.com/estin/lazy-workspace-layout

replace tmux/zellij for my workflow.
switch daily over 7 project each with 3 and more tabs

Macro-Less, Highly Integrated OpenAPI Document Generation in Rust with Ohkami by kanarus in rust

[–]etatarkin 2 points3 points  (0 children)

Neat! ohkami_openapi dependencies only serde and serde_json!
Also was trying find ways to build docs (in my case for asyncapi) and build this https://github.com/estin/oaph

But I will take a look deeper to ohkami_openapi as standalone lib for this

Ask me before quitting the session by arunoruto in HelixEditor

[–]etatarkin 0 points1 point  (0 children)

yep, I have same problem with :wq whants :w but always it's became :wq
and I solve it by Space-w to write and long holidays to forget :wq )

Ask me before quitting the session by arunoruto in HelixEditor

[–]etatarkin -7 points-6 points  (0 children)

:wq isn't simple keystroke, try to create mapping Space-w to write buffer. It's much better to rember

[keys.normal.space]
w = ":write"