Skip to content

Commit

Permalink
Tips and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hoontee committed Nov 30, 2023
1 parent 1bef810 commit 84a6d90
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions docs/lync/introduction/community-tooling.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ This list is by no means complete.
- [Wally](https://wally.run/)
:::

::: tip
A package manager is included with Lync.

See [project-format/project-file/packages](/lync/project-format/project-file/packages).
:::

::: info Language Servers and Linters
- [Luau Language Server](https://github.com/JohnnyMorganz/luau-lsp)
- [~~Roblox Luau Language Server~~](https://github.com/NightrainsRbx/RobloxLsp) *(Abandoned)*
Expand Down
4 changes: 2 additions & 2 deletions docs/lync/project-format/files/script-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Add Script Directives to the top of your script to control its [RunContext](http
| Directive | ClassName | RunContext | Behavior |
|-|-|-|-|
| None | [ModuleScript](https://create.roblox.com/docs/reference/engine/classes/ModuleScript) | - | None |
| `--@script` / `--@script:legacy` | [Script](https://create.roblox.com/docs/reference/engine/classes/Script) | Legacy | Runs in legacy script containers dependent on the type of script. |
| `--@script` `--@script:legacy` | [Script](https://create.roblox.com/docs/reference/engine/classes/Script) | Legacy | Runs in legacy script containers dependent on the type of script. |
| `--@script:server` | [Script](https://create.roblox.com/docs/reference/engine/classes/Script) | Server | Runs on the server. |
| `--@script:client` | [Script](https://create.roblox.com/docs/reference/engine/classes/Script) | Client | Runs on the client. |
| `--@localscript` / `--@script:localscript` | [LocalScript](https://create.roblox.com/docs/reference/engine/classes/LocalScript) | - | Runs in legacy script containers dependent on the type of script. |
| `--@localscript` `--@script:localscript` | [LocalScript](https://create.roblox.com/docs/reference/engine/classes/LocalScript) | - | Runs in legacy script containers dependent on the type of script. |
| `--@disabled` | - | - | Determines whether the script will run or not. |
:::
4 changes: 3 additions & 1 deletion docs/lync/project-format/files/supported-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ All forms of Roblox content can be stored on the filesystem and synced.
| Init Scripts (Named) | `*.Init.LUA` / `LUAU` | [LuaSourceContainer](https://create.roblox.com/docs/reference/engine/classes/LuaSourceContainer) * |
| Meta Files | `*.Meta.JSON` / `YAML` / `TOML` | - |

\* Can be [ModuleScript](https://create.roblox.com/docs/reference/engine/classes/ModuleScript), [Script](https://create.roblox.com/docs/reference/engine/classes/Script), or [LocalScript](https://create.roblox.com/docs/reference/engine/classes/LocalScript) depending on the script run context directive
\* Can be [ModuleScript](https://create.roblox.com/docs/reference/engine/classes/ModuleScript), [Script](https://create.roblox.com/docs/reference/engine/classes/Script), or [LocalScript](https://create.roblox.com/docs/reference/engine/classes/LocalScript) depending on the script run context directive.

See [project-format/files/script-directives](/lync/project-format/files/script-directives).
:::

0 comments on commit 84a6d90

Please sign in to comment.