A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/teal-language/vscode-teal below:

teal-language/vscode-teal: Teal language support for Visual Studio Code

Teal for Visual Studio Code

Provides IntelliSense and syntax highlighting for Teal in Visual Studio Code.

Make sure that the Teal compiler (v0.12.0 or later) is available in your PATH:

Download this extension from the VS Code Extension Marketplace or the Open VSX Registry.

Trigger Name Body req Local require local name = require("module") loc Local variable local name = value fori ipairs loop for k, v in ipairs(sequence) do ... end forp pairs loop for k, v in pairs(table) do ... end lrec Local record definition local record name ... end grec Global record definition global record name ... end lenu Local enum definition local enum name ... end genu Global enum definition global enum name ... end 'Module not found' errors

By default, this extension runs tl check at the root of the workspace.

If your code resides in subdirectories (such as src/ or lib/), you need to add the directories to tlconfig.lua at the root of the workspace:

return {
    include_dir = {
        "src/",
        "lib/"
    }
}
[Error] messages at the bottom right of the screen

Make sure you are using the latest version of the tl compiler. If upgrading tl does not fix the problem, then please create an issue.

See CHANGELOG.md for release notes.

Contributions are greatly appreciated! Feel free to fork this repository and open a pull request on GitHub.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4