nimlsp
Our great sponsors
vscode-nim | nimlsp | |
---|---|---|
5 | 6 | |
179 | 409 | |
- | - | |
4.1 | 6.5 | |
about 1 month ago | 7 days ago | |
Nim | Nim | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vscode-nim
-
NIR: Nim Intermediate Representation
You may fare better hooking VSCode to nimlangserver:
https://github.com/saem/vscode-nim#nim-lanugage-server-integ...
-
Nimlangserver Announcement
nimlangserver is an implementation of Language Server Protocol with the goal to make nim IDE experience more mature. The main difference between nimlangserver and the existing nimlsp is that nimlangserver runs nimsuggest in a separate process and that nimlangserver is using a newly introduced version of nimsuggest v3(see bellow). nimlangserver is currently integrated in VScode via vscode-nim and in Emacs via lsp-mode but adding integraion with other editors should be trivial.
-
what nim needs to grow in popularity
admittedly the editor support is far away from perfect, but that particular issue just sounds like https://github.com/saem/vscode-nim/issues/80
-
Nim Version 1.6 Released
To all those wondering about IDE support , the actively maintained VSCode extension is :
https://github.com/saem/vscode-nim
The default extension suggested by VSCode which have over 43k downloads in un-maintained for Eons and it won't work.
Here is the link : https://marketplace.visualstudio.com/items?itemName=nimsaem....
@dom96 can you pin this somewhere on the forum or website ?
-
If you highlight proc definition with bold Nim code is much easier to read
UPDATE: improved highlighting rules you would get this code highligting more details https://github.com/saem/vscode-nim/issues/49
nimlsp
-
NIR: Nim Intermediate Representation
Downloading https://github.com/PMunch/nimlsp using git
-
Problems installing nimlsp with Mason
Cloning into '.'... From https://github.com/pmunch/nimlsp * tag v0.4.4 -> FETCH_HEAD + nimble build -y --localdeps Warning: Using project local deps mode Verifying dependencies for [email protected] Prompt: No local packages.json found, download it from internet? -> [forced yes] Downloading Official package list Success Package list downloaded. Installing jsonschema@>= 0.2.1 Downloading https://github.com/PMunch/jsonschema using git Verifying dependencies for [email protected] Installing ast_pattern_matching@any version Downloading https://github.com/nim-lang/ast-pattern-matching using git Verifying dependencies for [email protected] Installing [email protected] Success: ast_pattern_matching installed successfully. Installing [email protected] Success: jsonschema installed successfully. Installing asynctools@>= 0.1.1 Downloading https://github.com/cheatfate/asynctools using git Verifying dependencies for [email protected] Installing [email protected] Success: asynctools installed successfully. Building nimlsp/nimlsp_debug using c backend [1m/home/terrior/.local/share/nvim/mason/.packages/nimlsp/src/nimlsppkg/suggestlib.nim(3, 18) [0m[31mError: [0mcannot open file: nimsuggest/nimsuggest[36m[0m[0m Tip: 30 messages have been suppressed, use --verbose to show them. Error: Build failed for package: nimlsp ... Execution failed with exit code 1 ... Command: /usr/bin/nim c --colors:on --noNimblePath -d:NimblePkgVersion=0.4.4 --path:/home/terrior/.local/share/nvim/mason/.packages/nimlsp/nimbledeps/pkgs/ast_pattern_matching-1.0.0 --path:/home/terrior/.local/share/nvim/mason/.packages/nimlsp/nimbledeps/pkgs/jsonschema-0.2.1 --path:/home/terrior/.local/share/nvim/mason/.packages/nimlsp/nimbledeps/pkgs/asynctools-0.1.1 --hints:off -o:/home/terrior/.local/share/nvim/mason/.packages/nimlsp/nimlsp_debug /home/terrior/.local/share/nvim/mason/.packages/nimlsp/src/nimlsp_debug.nim spawn: bash failed with exit code 1 and signal 0.
-
Nimlangserver Announcement
nimlangserver is an implementation of Language Server Protocol with the goal to make nim IDE experience more mature. The main difference between nimlangserver and the existing nimlsp is that nimlangserver runs nimsuggest in a separate process and that nimlangserver is using a newly introduced version of nimsuggest v3(see bellow). nimlangserver is currently integrated in VScode via vscode-nim and in Emacs via lsp-mode but adding integraion with other editors should be trivial.
-
nimble install nimlsp ending up with errors
Downloading https://github.com/PMunch/nimlsp using gitTVerifying dependencies for [email protected]: Dependency on jsonschema@>= 0.2.1 already satisfiedVerifying dependencies for [email protected]: Dependency on ast_pattern_matching@any version already satisfiedVerifying dependencies for [email protected]: Dependency on asynctools@any version already satisfiedVerifying dependencies for [email protected] [email protected] nimlsp/nimlsp using c backend/tmp/nimble_153465/githubcom_PMunchnimlsp/src/nimlsppkg/baseprotocol.nim(2, 8) Warning: imported and not used: 'logger' [UnusedImport]/tmp/nimble_153465/githubcom_PMunchnimlsp/src/nimlsppkg/suggestlib.nim(11, 8) template/generic instantiation of `mImport` from here/tmp/nimble_153465/githubcom_PMunchnimlsp/src/nimlsppkg/suggestlib.nim(7, 14) Error: cannot open file: /usr/nimsuggest/nimsuggest.nimPrompt: Build failed for '[email protected]', would you like to try installing 'nimlsp@#head' (latest unstable)? [y/N]Answer: NTip: 10 messages have been suppressed, use --verbose to show them.Error: Aborting installation due to build failureimlsp using gitT Verifying dependencies for [email protected] Info: Dependency on jsonschema@>= 0.2.1 already satisfied Verifying dependencies for [email protected] Info: Dependency on ast_pattern_matching@any version already satisfied Verifying dependencies for [email protected] Info: Dependency on asynctools@any version already satisfied Verifying dependencies for [email protected] Installing [email protected] Building nimlsp/nimlsp using c backend /tmp/nimble_153465/githubcom_PMunchnimlsp/src/nimlsppkg/baseprotocol.nim(2, 8) Warning: imported and not used: 'logger' [UnusedImport] /tmp/nimble_153465/githubcom_PMunchnimlsp/src/nimlsppkg/suggestlib.nim(11, 8) template/generic instantiation of `mImport` from here /tmp/nimble_153465/githubcom_PMunchnimlsp/src/nimlsppkg/suggestlib.nim(7, 14) Error: cannot open file: /usr/nimsuggest/nimsuggest.nim Prompt: Build failed for '[email protected]', would you like to try installing 'nimlsp@#head' (latest unstable)? [y/N] Answer: N Tip: 10 messages have been suppressed, use --verbose to show them. Error: Aborting installation due to build failure
- Nim 1.6.2
- Nim receives $100k in Bitcoin donations
What are some alternatives?
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
langserver - The Nim language server implementation (based on nimsuggest)
karax - Karax. Single page applications for Nim.
nim-playground-frontend - The front-end for https://play.nim-lang.org
INim - Interactive Nim Shell / REPL / Playground
spintax - A Python module for parsing spintax, unlike any other module this works with nested spintax and also allows the user to escape the special characters used in its syntax.
jester - A sinatra-like web framework for Nim.
nimble - Package manager for the Nim programming language.
norm - A Nim ORM for SQLite and Postgres
boomer - Zoomer application for Linux
Fusion - 🧰 A modern alternative to the Microsoft Assembly Binding Log Viewer (FUSLOGVW.exe)