{"id":22549883,"url":"https://github.com/openmodelica/modelica-language-server","last_synced_at":"2025-04-10T01:53:50.781Z","repository":{"id":220692091,"uuid":"728676870","full_name":"OpenModelica/modelica-language-server","owner":"OpenModelica","description":"A VS Code language server extension for Modelica.","archived":false,"fork":false,"pushed_at":"2024-07-05T13:30:44.000Z","size":490,"stargazers_count":9,"open_issues_count":14,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T03:35:04.377Z","etag":null,"topics":["language-server","modelica","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenModelica.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-07T13:04:34.000Z","updated_at":"2025-03-08T12:10:26.000Z","dependencies_parsed_at":"2024-02-03T17:34:29.797Z","dependency_job_id":"8d949c73-5ade-49aa-a377-19e9395eca5b","html_url":"https://github.com/OpenModelica/modelica-language-server","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"a52ced7a3cdb3d050106f5edb9323e7c4797199a"},"previous_names":["openmodelica/modelica-language-server"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenModelica%2Fmodelica-language-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenModelica%2Fmodelica-language-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenModelica%2Fmodelica-language-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenModelica%2Fmodelica-language-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenModelica","download_url":"https://codeload.github.com/OpenModelica/modelica-language-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248142939,"owners_count":21054671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["language-server","modelica","vscode-extension"],"created_at":"2024-12-07T16:10:18.672Z","updated_at":"2025-04-10T01:53:50.738Z","avatar_url":"https://github.com/OpenModelica.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Modelica Language Server\n\n[![Build](https://github.com/OpenModelica/modelica-language-server/actions/workflows/test.yml/badge.svg)](https://github.com/OpenModelica/modelica-language-server/actions/workflows/test.yml)\n\nA very early version of a Modelica Language Server based on\n[OpenModelica/tree-sitter-modelica](https://github.com/OpenModelica/tree-sitter-modelica).\n\nFor syntax highlighting install enxtension\n[AnHeuermann.metamodelica](https://marketplace.visualstudio.com/items?itemName=AnHeuermann.metamodelica)\nin addition.\n\n## Functionality\n\nThis Language Server works for Modelica files. It has the following language\nfeatures:\n\n  - Provide Outline of Modelica files.\n\n    ![Outline](images/outline_demo.png)\n\n  - Goto declarations.\n\n    ![Goto Declaration](images/goto_declaration_demo.png)\n\n## Installation\n\n### Via Marketplace\n\n  - [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=OpenModelica.modelica-language-server)\n  - [Open VSX Registry](https://open-vsx.org/extension/OpenModelica/modelica-language-server)\n\n### Via VSIX File\n\nDownload the latest\n[modelica-language-server-0.2.0.vsix](https://github.com/OpenModelica/modelica-language-server/releases/download/v0.2.0/modelica-language-server-0.2.0.vsix)\nfrom the\n[releases](https://github.com/OpenModelica/modelica-language-server/releases)\npage.\n\nCheck the [VS Code documentation](https://code.visualstudio.com/docs/editor/extension-marketplace#_install-from-a-vsix)\non how to install a .vsix file.\nUse the `Install from VSIX` command or run\n\n```bash\ncode --install-extension modelica-language-server-0.2.0.vsix\n```\n\n## Contributing ❤️\n\nContributions are very welcome!\n\nWe made the first tiny step but need help to add more features and refine the\nlanguage server.\n\nIf you are searching for a good point to start\ncheck the\n[good first issue](https://github.com/OpenModelica/modelica-language-server/labels/good%20first%20issue).\nTo see where the development is heading to check the\n[Projects section](https://github.com/OpenModelica/modelica-language-server/projects?query=is%3Aopen).\nIf you need more information start a discussion over at\n[OpenModelica/OpenModelica](https://github.com/OpenModelica/OpenModelica).\n\nFound a bug or having issues? Open a\n[new issue](https://github.com/OpenModelica/modelica-language-server/issues/new/choose).\n\n## Structure\n\n```\n.\n├── client // Language Client\n│   ├── src\n│   │   ├── test // End to End tests for Language Client / Server\n│   │   └── extension.ts // Language Client entry point\n├── package.json // The extension manifest.\n└── server // Modelica Language Server\n    └── src\n        └── server.ts // Language Server entry point\n```\n\n## Building the Language Server\n\n  - Run `npm install` and `npm run postinstall` in this folder.This installs all\n    necessary npm modules in both the client and server folder\n  - Open VS Code on this folder.\n  - Press Ctrl+Shift+B to start compiling the client and server in [watch\n    mode](https://code.visualstudio.com/docs/editor/tasks#:~:text=The%20first%20entry%20executes,the%20HelloWorld.js%20file.).\n  - Switch to the Run and Debug View in the Sidebar (Ctrl+Shift+D).\n  - Select `Launch Client` from the drop down (if it is not already).\n  - Press ▷ to run the launch config (F5).\n  - In the [Extension Development\n    Host](https://code.visualstudio.com/api/get-started/your-first-extension#:~:text=Then%2C%20inside%20the%20editor%2C%20press%20F5.%20This%20will%20compile%20and%20run%20the%20extension%20in%20a%20new%20Extension%20Development%20Host%20window.)\n    instance of VSCode, open a document in 'modelica' language mode.\n    - Check the console output of `Language Server Modelica` to see the parsed\n      tree of the opened file.\n\n## Build and Install Extension\n\n```\nnpx vsce package\n```\n\n## License\n\nmodelica-language-server is licensed under the OSMC Public License v1.8, see\n[OSMC-License.txt](./OSMC-License.txt).\n\n### 3rd Party Licenses\n\nThis extension is based on\n[https://github.com/microsoft/vscode-extension-samples/tree/main/lsp-sample](https://github.com/microsoft/vscode-extension-samples/tree/main/lsp-sample),\nlicensed under MIT license.\n\nSome parts of the source code are taken from\n[bash-lsp/bash-language-server](https://github.com/bash-lsp/bash-language-server),\nlicensed under the MIT license and adapted to the Modelica language server.\n\n[OpenModelica/tree-sitter-modelica](https://github.com/OpenModelica/tree-sitter-modelica)\nv0.2.0 is included in this extension and is licensed under the [OSMC-PL\nv1.8](./server/OSMC-License.txt).\n\n## Acknowledgments\n\nThis package was initially developed by\n[Hochschule Bielefeld - University of Applied Sciences and Arts](hsbi.de).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmodelica%2Fmodelica-language-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmodelica%2Fmodelica-language-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmodelica%2Fmodelica-language-server/lists"}