gamemakerdiscord / gml-tools-langserver Goto Github PK
View Code? Open in Web Editor NEWA Language Server for GML, the scripting language of GMS2, compliant with Microsoft's Language Server Protocol.
License: MIT License
A Language Server for GML, the scripting language of GMS2, compliant with Microsoft's Language Server Protocol.
License: MIT License
Rubber currently does fresh compiles. It needs to be iterative like the IDE does.
Steps to reproduce:
Type:
show_debug_message/*WHY*/()
Signature support will appear without error.
Hitting delete with the caret between "(" and ")", deleting open and closed parentheses, causes:
[Error - 8:48:55 AM] Request textDocument/signatureHelp failed.
Message: Request textDocument/signatureHelp failed with message: Cannot read property 'startIdx' of undefined
Code: -32603
This makes macro refactoring not possible for the moment, as it will be inherently unreliable.
The same problem will likely affect resources.
Make local variable refactoring work.
functions like instance_destroy() take a variable amount of paramaters (0 - 2), but the lang server marks an error if you do not provide all.
**reproduce: ** type instance_destroy();
in a gml file.
Alarm_0.gml, object name const_debug
Local Vars,
Global Vars,
Macros,
Enum,
Resource Names
The following syntax in an object's create event:
#lambda damagePlayer(dmg) {
hp -= dmg;
}
will instruct gml-tools to create (or update) a "private" script on compile. The scripts would be stored in scripts/lambdas/obj_name_here/function_name_here
, or alternatively, could all be stored in a view not connected to the visible resource tree.
Additionally, all generated functions could have:
if (object_index != <lambda object owner here>) return;
at the top of their code.
self explanatory! would be awesome to have these features ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.