Commit graph

10 commits

Author SHA1 Message Date
missionz3r0
b8f000ca46
add: 3rd party definition files for Lua (#8966)
## Brief overview of PR changes/additions
Adds [Lua definition
files}(https://luals.github.io/wiki/definition-files/) for
* [busted](https://github.com/LuaCATS/busted)
* [lpeg](https://github.com/LuaCATS/lpeg)
* [luassert](https://github.com/LuaCATS/luassert)
* [luafilesystem](https://github.com/LuaCATS/luafilesystem/tree/main)

## Motivation for adding to Mudlet
With these definition files, the Lua language server can provide syntax
highlighting, type hints, and snippets for these third party libraries.
Note, this does not change syntax highlighting in Mudlet's editor, but
for developers modifying code in `src/mudlet-lua`.

## Other info (issues closed, discussion etc)
The following still need definition files:
* `luautf8`
* `lua-zip`
* `lrexlib-pcre`
* `lua-yajl`
* `LuaSQL-SQLite3`

As far as I can tell, there are no ready made lua definition files for
these libraries. So they'd need to be hand made.

### Pics
#### Syntax Highlighting: Before
<img width="881" height="652" alt="Screenshot_2026-02-18_09-36-19"
src="https://github.com/user-attachments/assets/a45542bf-bc14-4361-a104-230cf7754413"
/>

#### Syntax Highlighting: After
<img width="881" height="652" alt="Screenshot_2026-02-18_09-35-32"
src="https://github.com/user-attachments/assets/5bb9e4a9-d929-469e-a36f-373ebc84bef3"
/>
2026-03-25 16:38:21 +11:00
Vadim Peretokin
7d4b8d7e2c
Infrastructure: complete devcontainer setup (#8587)
<!-- Keep the title short & concise so anyone non-technical can
understand it,
     the title appears in PTB changelogs -->
#### Brief overview of PR changes/additions
Update devcontainer setup to enable Mudlet to be built and run in the
browser using Github Codespaces
#### Motivation for adding to Mudlet
Enable Claude Code for Chrome to interact with Mudlet, which could aid
in development
#### Other info (issues closed, discussion etc)

https://wiki.mudlet.org/w/Compiling_Mudlet#Compiling_on_Github_Codespaces

---------

Co-authored-by: Vadim Peretokin <vadi2@users.noreply.github.com>
2025-11-28 03:27:09 +01:00
Vadim Peretokin
abe8ef592f
Infrastructure: update devcontainer to work (#8321)
<!-- Keep the title short & concise so anyone non-technical can
understand it,
     the title appears in PTB changelogs -->
#### Brief overview of PR changes/additions
Update devcontainer setup to work to work
#### Motivation for adding to Mudlet
Helps use in github workspaces and in local devcontainer setups as well
#### Other info (issues closed, discussion etc)
pcre/pcre2 is still an issue.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vadim Peretokin <vadi2@users.noreply.github.com>
2025-11-25 09:44:51 +01:00
Vadim Peretokin
7e85b8dbe3
Infrastructure: update codespaces configuration to Debian 11 (#5789) 2022-01-01 15:15:12 +01:00
Vadim Peretokin
aa489e0bc7
Infrastructure: added label for port in Github Codespaces (#5536)
* Add label for port in Github Codespaces
2021-11-04 15:55:37 +01:00
Vadim Peretokin
0ccde6479b
Checkout submodules in Github codespaces (#5419) 2021-09-07 07:03:13 +02:00
Vadim Peretokin
7c4ba4d3df
Add vscode extension recommendations (#4365) 2020-11-20 19:51:56 +01:00
Vadim Peretokin
c43e7edc7b
Install CMake tools as well for Github Codespace (#4096) 2020-09-27 11:47:30 +02:00
Vadim Peretokin
368a6908cd
Open Mudlet remotely using Github Codespaces (#4088)
* Improve codespaces setup

* Added libqt5opengl5-dev

* Forward vnc port 5900 by default

* Install Lua dependencies

* Add script to run Debian UI

* Fix schellcheck warning

* Update Dockerfile with desktop Debian instructions

* Updated devcontainer.json with desktop Debian

* Fix Dockerfile linter
2020-09-26 18:53:24 +02:00
Vadim Peretokin
8c1c8e68e1
Setup Mudlet for C++ Github Codespaces (#4087) 2020-09-25 21:06:57 +02:00