Comments (2)
This is caused by three errors:
-
The linter didn't have any function for knowing "required" vs. "optional" parameters. The skeleton of that has been added, but it will need to be fleshed out. That is a relatively quick job.
-
More fundamentally, the imported manual does not check for optional parameters. This is now being fundamentally rebuilt as the "DocumentationImporter" class, which will handle initial imports of the manual and, in the future, allow users to add arbitrary documentation (as in, document variables, re-do documentation, etc.). That class is being built in branch https://github.com/GameMakerDiscord/gml-tools-langserver/tree/importManual.
-
Parameters are not indexed well if they are optional. This affects script indexing. Essentially, all of the script JSON needs to be reworked in some form or another, so that will be the final pass done.
from gml-tools-langserver.
Completed work in in commit 37fb2e4
from gml-tools-langserver.
Related Issues (18)
- Feature Request -- Go To Definition -- Local Variable HOT 1
- Documents opened during startup lack linting until changed HOT 1
- Inheritance - go_to_definition support, parenting in general HOT 2
- Signature help fails if it can't find the "startId" of undefined HOT 1
- Enums need better support
- Refactoring needs to work for the following:
- Figure out our local variables
- RELEASE: Resources encountered before their own index will not be logged. HOT 1
- Iterative Compiling needs to work HOT 1
- REQUEST: Allow inline functions with script injection
- Some files are showing up as non-existing, despite ACTUALLY existing. HOT 2
- Local variables are being added to an object's variables HOT 2
- #macros need muuuch better support HOT 2
- Feature request -- go by argument number HOT 3
- Regions have issues working, and don't provide folding HOT 1
- General Grammar Issues:
- Dynamically create YYPs for Git HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gml-tools-langserver.