Code Monkey home page Code Monkey logo

williamvenner / vscode-glua-enhanced Goto Github PK

View Code? Open in Web Editor NEW
376.0 6.0 10.0 5.39 MB

๐Ÿ‘จโ€๐Ÿ’ป Garry's Mod Lua VSCode Extension for enhanced auto completion, wiki integration, snippets, color palette, and much more...

Home Page: https://marketplace.visualstudio.com/items?itemName=venner.vscode-glua-enhanced

License: GNU General Public License v3.0

JavaScript 88.94% Python 11.06%
vscode glua extension gmod garrysmod

vscode-glua-enhanced's Introduction

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

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)

vscode-glua-enhanced's People

Contributors

aske02 avatar deathreus avatar joriskleiber avatar williamvenner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vscode-glua-enhanced's Issues

All features here are broken for no reason.

image
Pic. 1 Intellisense and Autocompletion are in a mess. There's no expected referencing feature as well.

image
Pic. 2 Control Panel functions "doesn't exist"

I'm really not sure what causes this. What I've done is just install the extension and open my project folder.
I tried to factory-reset my vscode (not throughout) but nothing changes, so it won't be a extension conflict.

I'm using the current up-to-date version (2.4.3).

Publish to open-vsx

Thank you for the awesome project!

I just wanted to kindly ask if you want to publish the add-on to the https://open-vsx.org/ repository. As this is an open alternative, that is used by default for open source builds of vscode (usually found as code on most Linux distributions). So it is available for them too, without installing it manually.

Keep up the cool work ๐Ÿš€

Extension Crashes

Type: Bug

Randomly happens when opening too many windows/searches. Can't really figure out the best way to replicate

Extension version: 2.5.1
VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:39:26.248Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: Yes

System Info
Item Value
CPUs AMD Ryzen 5 3600 6-Core Processor (12 x 3600)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.91GB (8.07GB free)
Process Argv --crash-reporter-id bd6cd986-ba9f-4f84-b3de-e450e99ae7dc
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263cf:30335440
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vscaac:30438847
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
03d35959:30757346
pythonfmttext:30731395
pythoncmv:30756943
fixshowwlkth:30730052
pythongtdpath:30739704

Function arguments panel doesn't show for defined functions

For example, concommand.Add.
This function, when listing the arguments shows a function argument that correctly shows the arguments passed to that function when using function(ply,cmd,args,argStr)
However, when using a function that is already defined, (eg, local function TestFunc(ply,cmd)) it won't show what arguments are being passed to TestFunc()

edit: this isn't even proper lua apparently.
you can't pass Func(ply) as the argument for concommand.Add, it has to be function(ply) Func(ply) end or else attempt to index local 'ply' (a nil value) (scoping, I'm assuming.)

surface.SetDrawColor color picker support

Pretty self explanatory. Would be nice to have support for surface.SetDrawColor(255,0,0) similar to how Color(255,0,0) works.

other notable methods which don't directly use the Color() table

  • mesh.Color
  • render.FogColor
  • render.SetShadowColor
  • surface.SetTextColor

Base / Make compatible with sumneko.lua

sumneko.lua Is currently the best lua language server for VSCode and has been forked to be used as roblox/other lua based game scripting.
Based on that information, i think it is possible to use it as base for the next vesion of the extension, or, at least make it compatible.

Current incompatibility issues with any lua server:

  • Having both extensions enabled will prevent the server from acting, since the extension changes lua extension to use glua language dict.
  • Changing glua to lua on all references inside the extension makes the server break and stop while checking files on workspace, causing it to only get references from the current open files and considering any table inside a namespace as a global.

Standalone issues:

  • Changes the syntax coloring

Feature request - Rename symbol

Please can you add the ability to rename a symbol/variable name? This is different to "Change all occurrences", as it recognises the difference between a variable name and a generic string.

This feature is included in the VSCode Lua extension:
https://github.com/sumneko/lua-language-server

However, if I enable both at once, this feature (along with a colouring of some things) is lost.

Your extension is awesome and by far more useful for Gmod lua, so I'll still use it anyway :) I really appreciate all the work and would be happy to help if I can.

Crashing Extension Host When Wiki Scraping

anytime I load a Lua file with the extension enabled, I see in the status bar that it attempts to scrape the wiki, and fails. It repeats this attempt to scrap about 3 times before the vscode extension host crashes.


image

image


has someone found a way to fix this?, I rather have a better fix than just bypassing the wiki scrap through opening diffrent files or enabling / disabling the extension to bypass this like i have to do now

IntelliSense not working

I am on windows 10. I use vs code 1.60.2
I followed this: https://wiki.facepunch.com/gmod/Lua_Editors to setup everything (the vs code part).
When I try to autocomplete, intelliSense give me that kind of things.
image
It does not even recognise the 'ply' (sometimes it does, it's random.).
I already tried to change some editor settings in the "settings.json" but nothing worked.
It event gives me unrelated things (see bellow).
image

Incompatiblity with maptz.regionfolder

I tried using RegionFolder with a custom configuration to be able to fold my code blocks. GLua files seem to prevent this extension from creating fold spaces even though the same file and configuration works with regular Lua.
https://marketplace.visualstudio.com/items?itemName=maptz.regionfolder

To Replicate

I am using the following configuration for this extension in settings.json. This setup is identical to the one in the extension, but renamed for glua instead of lua.

    "maptz.regionfolder": {
        "[glua]": {
            "foldEnd": "--#endregion",
            "foldEndRegex": "--[\\s]*#endregion",
            "foldStart": " --#region [NAME]",
            "foldStartRegex": "--[\\s]*#region[\\s]*(.*)"
        }
    },

When the file is configured as GLua (bottom right language setting), the folding widgets do not appear even though regions are defined correctly.
image

After switching language to Lua, the fold widgets immediately become visible and can be used to collapse code.
image
image

If I switch back to GLua without folding anything, the fold widgets disappear.

Curiously however, if the fold regions are folded before switching from Lua to GLua, they remain folded and can be used without disappearing, persisting even after the file is closed and reopened and within new windows.

image

The ability to fold certain user-defined regions is super convenient for large, sectioned bulk files that have segments but no code blocks for each. If this can be resolved (or something similar implemented into GLua Enhanced) it'd be a great producibility tool.

Issue with "do" synthax

When I do a for loop and I write "do" and do a "ENTER" to go to the next line I have "DOF_Kill" that is overwrited the initial "do".
ouVPwOl5b2

[request] Gutter Icons

It would be handy if there were realm gutter icons for some obvious matches just as a reminder without having to ctrl+p inside a function's signature to double-check your scope.

mockup
a mockup of the feature

It would be cool if this extended to the file browser, for files matching conventions / the engine file list, and even cooler if it went further down into scopes to highlight weird stuff like if SERVER then function ENT:Draw() ... end end but gutter icons would be a good start.

Wiki integration: doesn't show arguments after string concat

In an ENT:Initialize() hook:

timer.Create("Test"..self:EntIndex(),
timer.Create("Test"..tostring(14),

Doesn't show the argument definitions/wiki window.

timer.Create("Test", self:EntIndex(),
timer.Create("Test".."Untest",

These will show the window correctly.

Command 'glua-enhanced.x' not found

Whenever I try to run a GLua Enhanced Command in VSC I get this Error Message:

Command 'GLua Enhanced: Generate Bytecode Heatmap' resulted in an error (command 'glua-enhanced.bytecodeHeatmap' not found)

Same Error on all other commands.

Another match issue (Table indexing)

When indexing a table using a function from the wiki, the window showing the function arguments doesn't show up.
For example:

Table[net.ReadUInt(โ€‹)]

Extension issue

  • Issue Type: Bug
  • Extension Name: vscode-glua-enhanced
  • Extension Version: 1.0.1
  • OS Version: Windows_NT x64 10.0.18363
  • VSCode version: 1.53.1
{
	"messages": [],
	"activationTimes": {
		"codeLoadingTime": 136,
		"activateCallTime": 462,
		"activateResolvedTime": 56,
		"activationReason": {
			"startup": false,
			"extensionId": {
				"value": "venner.vscode-glua-enhanced",
				"_lower": "venner.vscode-glua-enhanced"
			},
			"activationEvent": "onLanguage:glua"
		}
	},
	"runtimeErrors": []
}

Extension Host Terminated Unexpectedly

vscode-app-1673832046982.log

When opening a local repo (cloned using git previously), it fails 5 times causing extension host to boom and some other extensions stop working too.
See the dev console log above for detail. I tried to uninstall glua-enhanced and it turned out just fine, but I hope that it will be fixed.
Before this happened, I was using VSCode but after that I switched to Insider but it didn't solve the issue with the extension enabled.

Large comments cause hover for wiki to freak out.

https://drive.google.com/file/d/1c7spUlWb5oiZA7_UTKu9zbH96RdWkhkl/view
Example code to trigger this bug.


if CLIENT then
    --TODO SEPARATE INTO PANEL FILE!




    --[[












    ]]

    local PANEL = { }

    function PANEL:Init( )
        self:SetSize( ScrW( ) * 0.75, ScrH( ) * 0.80 )
        self:Center( )
        self:MakePopup( )
        ix.gui.terminal = self
        local w, h = self:GetSize( )
        self.LeftPanel = self:Add( 'DPanel' )
        self.LeftPanel:Dock( LEFT )
        self.LeftPanel:SetWide( w * 0.20 )
        self.LeftPanel:DockMargin(0,0,6,0)
        self.RightPanel = self:Add( 'DPanel' )
        self.RightPanel:Dock( FILL )
        
        local pdl, pdt, pdr, pdb = self:GetDockPadding()
        self:DockPadding(pdl + 1, pdt + 4, pdr + 1, pdb + 4)
    end
end

just wanna say real quick this extension has been a real game changer for me and i barely have to look at the wiki now to lookup arguments and returns, bytecode heatmap has been helpful for micro-optimizing, too many useful things to note, best extension i have installed on vscode right now, next to comment anchors, thank you for coming to my ted talk

"Downloading source from GitHub" in SSH session causes disconnect

I am using the SSH extension to connect to a Windows server. Whenever I save, a prompt pops up that shows the aforementioned message. Shortly after, with the progress never moving beyond 0%, it disconnects the session and prompts "Cannot reconnect. Please reload the window".

The server is located in China and is likely unable to connect to GitHub directly. I am unsure whether this is the cause for this issue, however.

Code analysis (find globals) fails to work under WSL

Hey there. I'm pretty new to WSL stuff however I developed under both Unix and Windows systems. I set up fresh WSL build and set up server, everything works fine (including all other extensions) except the globals scan. VSCode ceases to autocomplete global tables under WSL, but working under plain Windows just fine. If you need any additional reports, I would gladly send them if you tell me where to look


My setup: WSL2 running Ubuntu 20.04, host is Windows 10 build 19042, VSCode:

Extension host terminated unexpectedly (VS Code 1.73.0)

Type: Bug

Viewing any GLua file seems to trigger extension host crashes after updating VS Code (technically VSCodium) to 1.73.0

Extension version: 2.5.1
VSCodium version: VSCodium 1.73.0 (6effe8617bbc2e6d2a110c81a5d7d38b141d110d, 2022-11-02T22:41:51.919Z)
OS version: Windows_NT x64 10.0.19043
Modes:
Sandboxed: No

System Info
Item Value
CPUs AMD Ryzen 9 5950X 16-Core Processor (32 x 3400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 31.93GB (15.78GB free)
Process Argv
Screen Reader no
VM 0%

Bytecode heatmap is fun but DUMB

Bytecode analysis doesn't make sense and it will just confuse the retards who can't understand what is bytecode.
Also it depends of execution context of the said bytecode, bytecode heatmap checks the "cost" of an indidual call to the Instruction and operand, not what it actually does. Right, CALL costs 5 but what about the functions it calls ? You literally cannot know the actual cost of it without having runtime intelligence.
And everything here is when pretending nothing gets ever JIT compiled.

Function A can be faster than function B when both interpreted, but B can be faster then A when both are JIT Compiled.
(see ipairs/pairs performance on Interpreted vs JITed mode)

It literally doesn't make any sense in any of the possible cases.
Sure it's a fun project, but only useful projects needs to be implemented in others projects, not fun ones.

It would be MUCH MUCH better to do static code analysis on code and try to detect design flaws.

Examples :

  • nested player.GetAll loops
  • Static rendering code without using render target (iirc it's to save the result of a render) (example, the addon that adds license plates, he re-render the plates on each frames)

Cuasing issues, not functioning correctly and producing errors

Type: Bug

It says its having some host connection issue.

Extension version: 2.5.2
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9700KF CPU @ 3.60GHz (8 x 3600)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 23.91GB (12.82GB free)
Process Argv --crash-reporter-id 5af7e812-a936-4ec1-a8a6-c20d3a2e7d4b
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30792226
vscaac:30438847
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30803845
3biah626:30602489
f6dab269:30613381
showlangstatbar:30737416
03d35959:30757346
ecj1e332:30736112
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofa:30804715
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30812749

References and definitions do not work

I am on the latest version, and have even tried compiling the extension myself since it's a few commits ahead of the release, but no luck. References and definitions don't work for most functions and variables. References do not work at all, and definition only works sometimes on functions that are in the same file as your function call, and they don't work at all for "self" functions. Sometimes, the definition works between files (DefineModule works as expected), but I am unable to figure out why it works intermittently like this.

The wiki snippets work flawlessly, and the rest of the extension works, but these crucial features do not. Any help is appreciated!
Code_8WKJ1o3NE9

Hide Warnings / Tabs (VSCode/Linter)

Linter features:

How can i hide specific warnings that i dont need?

and

how can i fix this warning?
image

local delay = 0.01

and

is it possible to use tabs instead of 4 spaces? (auto format with linter)

'decode' hex strings

https://cdn.discordapp.com/attachments/565108080300261398/808074657831583805/Cojqh00q2C.gif

local CharacterForEscape = {
    ["b"] = "\b",
    ["x"] = true,
    ["f"] = "\f",
    ["v"] = "\v",
    ["0"] = "\0",
    ["r"] = "\r",
    ["n"] = "\n",
    ["t"] = "\t",
    ["\""] = "\"",
    ["'"] = "\"",
    ["\\"] = "\\"
}

local function tohex(str)
    return str:gsub(".", function(c) return string.format("%02X", string.byte(c)) end)
end

local function StringToHex(str)
    local function peek(n)
        return string.sub(str, n, n) or "N/A"
    end

    local hex, skips = "", 0

    for i = 1, #str do
        if peek(i) == "\\" then
            if isnumber(tonumber(peek(i + 1))) then
                skips = skips + 1

                for v = 1, 2 do
                    if isnumber(tonumber(peek(i + 1 + v))) then
                        skips = skips + 1
                    end
                end

                hex = hex .. "\\"
                continue
            elseif peek(i + 1) == "x" then
                skips = skips + 3
                hex = hex .. "\\"
                continue
            elseif CharacterForEscape[peek(i + 1)] then
                skips = skips + 1
                hex = hex .. "\\"
                continue
            end
        end

        if skips > 0 then
            skips = skips - 1
            hex = hex .. peek(i)
            continue
        end

        hex = hex .. "\\x" .. tohex(peek(i))
    end

    return hex
end

print(StringToHex("bruh")) --\x62\x72\x75\x68

probably a better way to get hex strings but that's one way

Remote-SSH Connection Closed When Extension is Enabled

If this extension is enabled in a Code window that's connected to a server via SSH, the window will disconnect after ~20 seconds, every time. Once it's disabled, the disconnects stop. It works fine in a local window.

Hovering string with escape chars crashes extension host

Hovering a string with an escape will crash the extension host

Steps to reproduce

  1. Paste a string like this into your editor: 'test \n \n test \n'
  2. Hover the string with the mouse

The Error

2023-07-19 19:41:42.899 [error] ReferenceError: LUA_ESCAPE_SEQUENCES is not defined
    at replace (c:\Users\aske0\.vscode\extensions\venner.vscode-glua-enhanced-2.5.1\dist\webpack:\vscode-glua-enhanced\src\hoverProvider.js:139:18)
    at [Symbol.replace] (<anonymous>)
    at String.replace (<anonymous>)
    at e.provideStringHover (c:\Users\aske0\.vscode\extensions\venner.vscode-glua-enhanced-2.5.1\dist\webpack:\vscode-glua-enhanced\src\hoverProvider.js:138:28)
    at Object.provideHover (c:\Users\aske0\.vscode\extensions\venner.vscode-glua-enhanced-2.5.1\dist\webpack:\vscode-glua-enhanced\src\hoverProvider.js:22:137)
    at y.provideHover (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:101:39988)
    at x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:101:65369
    at se.s (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:101:62833)
    at se.$provideHover (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:101:65356)
    at t.N (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:111:11199)
    at t.M (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:111:10965)
    at t.H (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:111:10007)
    at t.G (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:111:9122)
    at i.value (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:111:7952)
    at p.w (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:60:1902)
    at p.fire (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:60:2119)
    at fire (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:76:13931)
    at i.value (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:127:30341)
    at p.w (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:60:1902)
    at p.fire (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:60:2119)
    at fire (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:76:13931)
    at MessagePortMain.<anonymous> (x:\Programmer\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:127:28621)
    at MessagePortMain.emit (node:events:513:28)
    at Object.MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:367)
    ```

Blacklist Locals

Would be helpful to add a feature to blacklist from Localise global calls and would save time

as some things like local DarkRP = DarkRP get added which causes death.

Multi-line finction definition are not color coded

Hi,

Consider the following:

  function LaserLib.NewLaser(user       , pos         , ang         , model      ,
                             trandata   , key         , width       , length     ,
                             damage     , material    , dissolveType, startSound ,
                             stopSound  , killSound   , runToggle   , startOn    ,
                             pushForce  , endingEffect, reflectRate , refractRate,
                             forceCenter, frozen      , enOverMater , enSafeBeam , rayColor )

when a closing bracket is placed on the first line we have:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.