Ned_ls: a simple language server for OMNeT++ NED and INI files #1527
Replies: 3 comments 6 replies
|
This is a verrrry nice project, congrats! I suggest to release this on open-vsx.org, too, because VS Code forks are not allowed to use the vscode marketplace. |
|
Great work on ned_ls! In our research group, we'd like to use it for NED files together with omnetpp-vscode, a VS Code extension I wrote for .ini files (completion, diagnostics, and running/debugging configurations straight from the. ini). Right now both claim .ini files, so I opened an issue proposing a way for them to work side by side: HannHank/ned_ls#1 |
|
Holy Moly... I have to be honest, we have also started working on a VS code extension as a side project over the last few months (as AI agents allow us to go much faster with exploration) and I'm also getting to the point where it is in a publicly usable state. This is written in TypeScript, so it's less suitable for other non vs code editors, but I plan to publish the language server as a standalone tool (using npx). I plan to publish it as the 1.0.0 version of our previous syntax highlight only extension: https://marketplace.visualstudio.com/items?itemName=opensim.omnetpp-vscode It does not cover the simulation launching/analysis scenarios, but it does have documentation generator (yes you can run that also in a CI), NED graphical preview (no graphical editing), INI and NED analysis/navigation, linting, event log and sequence chart drawing. Once it is released, I will announce it here on the discussion forum. This was a side project for me, mostly to figure out how easy is to convert an existing codebase to a different language/framework using AI tools, so I had the benefit of working from an existing codebase. And the actual outcome of the experiment: It is quite feasible to port code from one language to the other. I just had to carefully filter what features I wanted to port and push/verify the agent one feature after the next. |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am a computer science student, and over the last year I worked on a language server for
.nedand.inifiles.During my bachelor's thesis, I was doing some TSN Multi-Level Preemption simulations and needed to figure out the INET framework. Having to leave my usual editor and lose all my keybindings just to see how the
.nedfiles tied together felt a bit distracting.Because of that, after my thesis I decided to build this simple language server to handle basic operations for
.nedand.inifiles directly in my editor of choice.Maybe it is also useful for others and any help to make the language server more capable is welcome.
https://github.com/HannHank/ned_ls
All reactions