Skip to content
项目

WilliamVenner/vscode-glua-enhanced

在 GitHub 查看

关于

👨‍💻 面向 Garry's Mod Lua 的 VSCode 扩展,提供增强的自动补全、Wiki 集成、代码片段、调色板等更多功能……

开发工具

这些数字如何统计

可以做什么

  • Syntax highlighting
  • Auto completion & wiki integration for almost everything in Garry's Mod
  • Client/Server/Menu flags
  • Colour palette for Color()

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Logo

👨‍💻 vscode-glua-enhanced

Supercharge your Garry's Mod development experience!

Media

Click!

Features

  • Syntax highlighting
  • Auto completion & wiki integration for almost everything in Garry's Mod
  • Client/Server/Menu flags
  • flags
  • Colour palette for Color()
  • Notes, Warnings, Bugs, etcc. imported from wiki
  • Function argument names, types and descriptions shown as you type
  • Function enum arguments autocompletion
  • File icons for .lua, .vmt, .vtf, .mdl, *.vtx, .vvd, .phy
  • .png & .vmt file previews
  • Workspace models/, materials/, sound/ and lua/ autocompletion file browser
  • Default sound/ autocompletion file browser
  • Default materials/flags16/ autocompletion file browser
  • Default materials/icon16/ autocompletion file browser
  • "View Source" auto completions button to look at the GitHub Lua source of literally every Lua-defined function in Garry's Mod
  • NetworkVar discovery and autocompletion
  • Net message discovery and autocompletion
  • Function signatures
  • Hook callback signatures
  • Hover documentation
  • References & definitions
  • Hover to see string length and cursor position
  • Hover to decode Lua ASCII byte sequences
  • Locals & globals autocompletion
  • Global table autocompletion
  • See definitions of functions defined in the Garry's Mod Lua repository
  • Jump to global and local definitions

And way more that I can't really be bothered to list because there are just too many :D

Workspace Globals Scanner

Global Calls Optimizer

Bytecode Heatmap Generator

Generates a (very, VERY approximate) "heatmap" of how heavy some parts of your code are, and allows you to inspect what bytecode is being generated and where.

Credits: Spar

Common Issues

Where are the file icons?!

Click the Gear icon in the bottom left of VSCode, click "File Icon Theme" and then select GLua.

Auto completion documentation isn't showing up!

Press CTRL + Space

I'm not seeing globals or local variables

You may have the editor.quickSuggestions setting set to false.

Bugs/Feature Requests

Please open an issue to report bugs and suggest features.

Recommended Companion Extensions

glualint

A GLua linter, powered by FPtje's glualint.

gluadump

This extension uses the gluadump addon to extract some information (e.g. debug.getinfo data for the "View Source" buttons) from Garry's Mod and may need to periodically be updated as new features and libraries are added to Garry's Mod.

Credits

lua.tmLanguage.json taken & modified from sumneko/vscode-lua

Bytecode heatmap generator written by Spar for LLLua

vtflib.js by Meepen

gluac made by Matt Stevens (MIT License)

探索相关项目

加载中…