[Nix#10099] String type hint #53
Labels
No labels
Area/build-packaging
Area/evaluator
Area/flakes
Area/profiles
Area/remote-builds
Area/repl
Area/store
bug
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#53
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upstream-Issue: NixOS/nix#10099
Is your feature request related to a problem? Please describe.
In Nix, it isn't uncommon to embed other languages (mostly bash, but not always bash), with Nix Language as string.
But those strings have no type hint to help editor, formatter, and other tools.
Describe the solution you'd like
This is an issue but should be an RFC, because any solution would evolve to one anyway.
I Would like to have some language feature for that, like info string (lang name after backticks) from markdown.
ie:
Suggested 3 single quotes instead of two, but needs to be discussed.
Not sure how that could conflict with #228
Describe alternatives you've considered
An RFC to increment RFC 0145 (Doc-comments) to include some kind of special comment
ie:
Additional context
I vaguely remember someone commented something similar to this in Nix Forum.
It is a usability issue, for best usability it should be a lang feature, for best compatibility it should be a doc comment extension (if we follow that path, close this).
Priorities
Add 👍 to issues you find important.