Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize Rune lint for VS Code #822

Closed
ramon-bernardo opened this issue Sep 16, 2024 · 1 comment
Closed

Customize Rune lint for VS Code #822

ramon-bernardo opened this issue Sep 16, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@ramon-bernardo
Copy link

It would be interesting to customize Rune's lint for VS Code, similar to how Lua does it.

(https://marketplace.visualstudio.com/items?itemName=sumneko.lua)

---@alias os.mtime fun(): number

---@alias table.create fun(arrayLength: number, keyLength: number): table
---@alias table.pack fun(...): table

---@class rawgetmetatable
---@field __index fun(self: table, key: any): any
rawgetmetatable = {}```
@udoprog
Copy link
Collaborator

udoprog commented Sep 17, 2024

We don't have a type system yet even for diagnostics. This will become relevant once that is being worked on.

See #673

@udoprog udoprog closed this as completed Sep 17, 2024
@udoprog udoprog added the duplicate This issue or pull request already exists label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants